24 static const bool DEFAULT_PRINTPRIORITY =
false;
28 void GenerateBitcoins(
bool fGenerate,
CWallet* pwallet,
int nThreads);
30 std::unique_ptr<CBlockTemplate> CreateNewBlockWithKey(std::unique_ptr<CReserveKey>& reservekey,
CWallet* pwallet);
31 std::unique_ptr<CBlockTemplate> CreateNewBlockWithScript(
const CScript& coinbaseScript,
CWallet* pwallet);
33 void BitcoinMiner(
CWallet* pwallet,
bool fProofOfStake);
34 void ThreadStakeMinter();
The block chain is a tree shaped structure starting with the genesis block at the root,...
A key allocated from the key pool.
Serialized script, used inside transaction inputs and outputs.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...