diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-07-12 14:42:57 -0400 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-07-14 23:41:40 -0400 |
commit | 11590d39b9888403ead8354302e308eca139ba17 (patch) | |
tree | 8b4a12b1209b00dc08ec71ef2e8db4573842ecd9 /src/rpc/mining.h | |
parent | fd29d3df299bd06c0e6bb218863e0c855b3b91af (diff) |
Properly bound check conf_target in wallet RPC calls
Diffstat (limited to 'src/rpc/mining.h')
-rw-r--r-- | src/rpc/mining.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpc/mining.h b/src/rpc/mining.h index a148d851da..868d7002b5 100644 --- a/src/rpc/mining.h +++ b/src/rpc/mining.h @@ -12,4 +12,7 @@ /** 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 |