diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-02-11 08:34:10 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-02-11 08:34:14 -0500 |
commit | ad039aa0d3e8a831559434022b1da1de4d72a847 (patch) | |
tree | 3a3bd8db2ab65fb2657eced4de9e1e3c23e0e1f8 /src/rpc/mining.h | |
parent | ff9e197212eba49a7865430126c8e803b9825aa8 (diff) | |
parent | 50e647210d513dab8f40ded61fe439ecaa9a67c3 (diff) |
Merge #15373: Move ParseConfirmTarget from rpc/mining to rpc/util
50e647210d Move ParseConfirmTarget from rpc/mining to rpc/util (Russell Yanofsky)
Pull request description:
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
Tree-SHA512: 4320caf2a3f70d2885c421de04f2ec68ff3f6519258c5155fc46e245dc1765fd15c81f260af5096318f24ff9deb88fc3c5ef40eec8b7393f467f5b963d17215b
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 8d46273159..be9a973315 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 |