#include <stdint.h>
Go to the source code of this file.
|
void | GenerateAnoncoins (bool fGenerate, CWallet *pwallet, int nThreads) |
| Run the miner threads. More...
|
|
CBlockTemplate * | CreateNewBlock (const CScript &scriptPubKeyIn) |
| Generate a new block, without valid proof-of-work. More...
|
|
CBlockTemplate * | CreateNewBlockWithKey (CReserveKey &reservekey) |
|
void | IncrementExtraNonce (CBlock *pblock, CBlockIndex *pindexPrev, unsigned int &nExtraNonce) |
| Modify the extranonce in a block. More...
|
|
void | FormatHashBuffers (CBlock *pblock, char *pmidstate, char *pdata, char *phash1) |
| Do mining precalculation. More...
|
|
bool | CheckWork (CBlock *pblock, CWallet &wallet, CReserveKey &reservekey) |
| Check mined block. More...
|
|
void | SHA256Transform (void *pstate, void *pinput, const void *pinit) |
| Base sha256 mining transform. More...
|
|
Generate a new block, without valid proof-of-work.
Definition at line 113 of file miner.cpp.
void FormatHashBuffers |
( |
CBlock * |
pblock, |
|
|
char * |
pmidstate, |
|
|
char * |
pdata, |
|
|
char * |
phash1 |
|
) |
| |
Do mining precalculation.
Definition at line 371 of file miner.cpp.
void GenerateAnoncoins |
( |
bool |
fGenerate, |
|
|
CWallet * |
pwallet, |
|
|
int |
nThreads |
|
) |
| |
void IncrementExtraNonce |
( |
CBlock * |
pblock, |
|
|
CBlockIndex * |
pindexPrev, |
|
|
unsigned int & |
nExtraNonce |
|
) |
| |
Modify the extranonce in a block.
Definition at line 353 of file miner.cpp.
void SHA256Transform |
( |
void * |
pstate, |
|
|
void * |
pinput, |
|
|
const void * |
pinit |
|
) |
| |
Base sha256 mining transform.
Definition at line 43 of file miner.cpp.