6 #ifndef BITCOIN_MINER_H
7 #define BITCOIN_MINER_H
35 #endif // BITCOIN_MINER_H
CBlockTemplate * CreateNewBlockWithKey(CReserveKey &reservekey)
void GenerateBitcoins(bool fGenerate, CWallet *pwallet, int nThreads)
Run the miner threads.
bool CheckWork(CBlock *pblock, CWallet &wallet, CReserveKey &reservekey)
Check mined block.
void FormatHashBuffers(CBlock *pblock, char *pmidstate, char *pdata, char *phash1)
Do mining precalculation.
CBlockTemplate * CreateNewBlock(const CScript &scriptPubKeyIn)
Generate a new block, without valid proof-of-work.
A key allocated from the key pool.
The block chain is a tree shaped structure starting with the genesis block at the root...
void IncrementExtraNonce(CBlock *pblock, CBlockIndex *pindexPrev, unsigned int &nExtraNonce)
Modify the extranonce in a block.
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...
void SHA256Transform(void *pstate, void *pinput, const void *pinit)
Base sha256 mining transform.