mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 11:33:46 +02:00
Introduce separate 'generate' RPC call
This commit is contained in:
@@ -24,6 +24,8 @@ struct CBlockTemplate
|
||||
|
||||
/** Run the miner threads */
|
||||
void GenerateBitcoins(bool fGenerate, CWallet* pwallet, int nThreads);
|
||||
/** Create a single block */
|
||||
bool MineBlock(CWallet *pwallet, uint256& hash);
|
||||
/** Generate a new block, without valid proof-of-work */
|
||||
CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn);
|
||||
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey);
|
||||
|
Reference in New Issue
Block a user