Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
mining.h File Reference
Include dependency graph for mining.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
UniValue | generateBlocks (std::shared_ptr< CReserveScript > coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript) |
Generate blocks (mine) More... | |
unsigned int | ParseConfirmTarget (const UniValue &value) |
Check bounds on a command line confirm target. More... | |
Function Documentation
◆ generateBlocks()
UniValue generateBlocks | ( | std::shared_ptr< CReserveScript > | coinbaseScript, |
int | nGenerate, | ||
uint64_t | nMaxTries, | ||
bool | keepScript | ||
) |
Generate blocks (mine)
◆ ParseConfirmTarget()
unsigned int ParseConfirmTarget | ( | const UniValue & | value | ) |
Check bounds on a command line confirm target.
Definition at line 42 of file mining.cpp.
References feeEstimator, UniValue::get_int(), CBlockPolicyEstimator::HighestTargetTracked(), JSONRPCError(), LONG_HALFLIFE, RPC_INVALID_PARAMETER, and strprintf.
Referenced by estimaterawfee(), estimatesmartfee(), fundrawtransaction(), sendmany(), and sendtoaddress().