diff options
| author | Russell Yanofsky <[email protected]> | 2019-02-08 15:29:45 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2019-02-08 15:29:45 -0500 |
| commit | 50e647210d513dab8f40ded61fe439ecaa9a67c3 (patch) | |
| tree | 35ff7860a0fc640c6ead14dcb1aca9d05c9da556 /src/rpc/mining.h | |
| parent | Merge #15357: rpc: Don't ignore `-maxtxfee` when wallet is disabled (diff) | |
| download | discoin-50e647210d513dab8f40ded61fe439ecaa9a67c3.tar.xz discoin-50e647210d513dab8f40ded61fe439ecaa9a67c3.zip | |
Move ParseConfirmTarget from rpc/mining to rpc/util
Util is a better home since it's called both by wallet and mining code.
Suggested https://github.com/bitcoin/bitcoin/pull/15288#discussion_r254449444
Diffstat (limited to 'src/rpc/mining.h')
| -rw-r--r-- | src/rpc/mining.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rpc/mining.h b/src/rpc/mining.h index 8d4627315..be9a97331 100644 --- a/src/rpc/mining.h +++ b/src/rpc/mining.h @@ -12,7 +12,4 @@ /** Generate blocks (mine) */ UniValue generateBlocks(std::shared_ptr<CReserveScript> coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript); -/** Check bounds on a command line confirm target */ -unsigned int ParseConfirmTarget(const UniValue& value); - #endif |