diff options
| author | Alex Morcos <[email protected]> | 2017-07-12 14:42:57 -0400 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-07-14 23:41:40 -0400 |
| commit | 11590d39b9888403ead8354302e308eca139ba17 (patch) | |
| tree | 8b4a12b1209b00dc08ec71ef2e8db4573842ecd9 /src/rpc/mining.h | |
| parent | Remove checking of mempool min fee from estimateSmartFee. (diff) | |
| download | discoin-11590d39b9888403ead8354302e308eca139ba17.tar.xz discoin-11590d39b9888403ead8354302e308eca139ba17.zip | |
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 a148d851d..868d7002b 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 |