5 #ifndef BITCOIN_RPC_MINING_H 6 #define BITCOIN_RPC_MINING_H 12 static const bool DEFAULT_GENERATE =
false;
13 static const int DEFAULT_GENERATE_THREADS = 1;
16 UniValue generateBlocks(std::shared_ptr<CReserveScript> coinbaseScript,
int nGenerate, uint64_t nMaxTries,
bool keepScript);
UniValue getgenerate(const UniValue ¶ms, bool fHelp)
unsigned int ParseConfirmTarget(const UniValue &value)
Check bounds on a command line confirm target.
UniValue generateBlocks(std::shared_ptr< CReserveScript > coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript)
Generate blocks (mine)