aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge #8461: document return value of networkhashps for getmininginfo RPC ↵Wladimir J. van der Laan2016-08-191-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | endpoint 65f4532 document return value of networkhashps for getmininginfo RPC endpoint (Jameson Lopp)
| * | | | document return value of networkhashps for getmininginfo RPC endpointJameson Lopp2016-08-051-2/+3
| | |_|/ | |/| |
* | | | various typosleijurv2016-08-141-1/+1
| |/ / |/| |
* | | Bugfix: Use pre-BIP141 sigops until segwit activatesLuke Dashjr2016-08-081-2/+15
|/ /
* | Rename "block cost" to "block weight"Suhas Daftuar2016-07-181-6/+6
| |
* | BIP141: Other consensus critical limits, and BIP145Pieter Wuille2016-06-221-6/+12
| | | | | | | | Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
* | BIP141: Commitment structure and deploymentPieter Wuille2016-06-221-4/+16
|/ | | | Includes a fix by Suhas Daftuar and LongShao007
* Merge #7598: Refactor CreateNewBlock to be a method of the BlockAssembler classWladimir J. van der Laan2016-06-131-2/+2
|\ | | | | | | | | | | c2dd5a3 FIX: correctly measure size of priority block (Alex Morcos) a278764 FIX: Account for txs already added to block in addPriorityTxs (Alex Morcos) 4dc94d1 Refactor CreateNewBlock to be a method of the BlockAssembler class (Alex Morcos)
| * Refactor CreateNewBlock to be a method of the BlockAssembler classAlex Morcos2016-05-181-2/+2
| |
* | Merge #7935: Versionbits: GBT supportPieter Wuille2016-06-081-9/+96
|\ \ | |/ |/| | | | | | | | | 12c708a getblocktemplate: Use version/force mutation to support pre-BIP9 clients (Luke Dashjr) 9879060 getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not (Luke Dashjr) 72cd6b2 qa/rpc-tests: bip9-softforks: Add tests for getblocktemplate versionbits updates (Luke Dashjr) d3df40e Implement BIP 9 GBT changes (Luke Dashjr)
| * getblocktemplate: Use version/force mutation to support pre-BIP9 clientsLuke Dashjr2016-06-061-7/+20
| |
| * getblocktemplate: Explicitly handle the distinction between GBT-affecting ↵Luke Dashjr2016-06-061-2/+30
| | | | | | | | softforks vs not
| * Implement BIP 9 GBT changesLuke Dashjr2016-06-061-2/+48
| | | | | | | | | | | | | | - BIP9DeploymentInfo struct for static deployment info - VersionBitsDeploymentInfo: Avoid C++11ism by commenting parameter names - getblocktemplate: Make sure to set deployments in the version if it is LOCKED_IN - In this commit, all rules are considered required for clients to support
* | auto_ptr → unique_ptrWladimir J. van der Laan2016-04-281-1/+1
| | | | | | | | | | | | | | Change the few occurrences of the deprecated `auto_ptr` to c++11 `unique_ptr`. Silences the deprecation warnings. Also add a missing `std::` for consistency.
* | rpc: Register calls where they are definedWladimir J. van der Laan2016-03-311-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | Split out methods to every module, apart from 'help' and 'stop' which are implemented in rpcserver.cpp itself. - This makes it easier to add or remove RPC commands - no longer everything that includes rpcserver.h has to be rebuilt when there's a change there. - Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions. - Removes most of the bitcoin-specific code from rpcserver.cpp and .h. Continues #7307 for the non-wallet.
* | Create generatetoaddress rpcAndrew C2016-03-211-33/+76
|/ | | | | | Creates the generatetoaddress rpc which is virtually identical to the generate rpc except that it takes an argument for the address to mine to. It does not rely on wallet functionality. The mining code shared by generate and generatetoaddress has been moved to another method to reduce duplication.
* Merge #7663: Make the generate RPC call function for non-regtestWladimir J. van der Laan2016-03-141-10/+17
|\ | | | | | | 8a253b3 Make the generate RPC call function for non-regtest (Pieter Wuille)
| * Make the generate RPC call function for non-regtestPieter Wuille2016-03-091-10/+17
| |
* | Remove internal minerLeviathn2016-02-101-67/+0
|/ | | | | This code removes the internal miner which is only useful on Testnet. This leaves the internal miner that is useful on RegTest intact.
* Changed getnetworkhps value to double to avoid overflow.instagibbs2016-02-081-1/+1
|
* move rpc* to rpc/Daniel Cousens2016-01-211-0/+800