Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mining.h File Reference


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().