6 #ifndef RAVEN_RPC_MINING_H 7 #define RAVEN_RPC_MINING_H 13 static const bool DEFAULT_GENERATE =
false;
14 static const int DEFAULT_GENERATE_THREADS = 1;
17 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)