aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.h
AgeCommit message (Collapse)Author
2017-07-14Properly bound check conf_target in wallet RPC callsAlex Morcos
2017-06-29rpc: Move the `generate` RPC call to rpcwalletWladimir J. van der Laan
This makes it possible to mine to any wallet when multi-wallet mode is added. Solves the same problem as #10649, but IMO in a cleaner way. It also gets rid of the circuitous `ScriptForMining` method on `CValidationInterface`, which really doesn't belong there. After this change it's still possible to mine without wallet through `generatetoaddress`.