|
void | RegisterWallet (CWallet *pwalletIn) |
| Register a wallet to receive updates from core. More...
|
|
void | UnregisterWallet (CWallet *pwalletIn) |
| Unregister a wallet from core. More...
|
|
void | SyncWithWallets (const uint256 &hash, const CTransaction &tx, const CBlock *pblock, bool fUpdate) |
| Push an updated transaction to all registered wallets. More...
|
|
bool | AddOrphanTx (const CTransaction &tx) |
|
unsigned int | LimitOrphanTxSize (unsigned int nMaxOrphans) |
|
bool | GetTransaction (const uint256 &hash, CTransaction &txOut, uint256 &hashBlock, bool fAllowSlow) |
| Retrieve a transaction (from memory pool, or from disk, if possible) More...
|
|
CBlockIndex * | FindBlockByHeight (int nHeight) |
| Find a block by height in the currently-connected chain. More...
|
|
bool | CheckProofOfWork (uint256 hash, unsigned int nBits) |
| Check whether a block hash satisfies the proof-of-work requirement specified by nBits. More...
|
|
int | GetNumBlocksOfPeers () |
| Get the number of active peers. More...
|
|
bool | IsInitialBlockDownload () |
| Check whether we are doing an initial block download (synchronizing from disk or network) More...
|
|
bool | ConnectBestBlock (CValidationState &state) |
| Find the best known block, and make it the tip of the block chain. More...
|
|
bool | VerifySignature (const CCoins &txFrom, const CTransaction &txTo, unsigned int nIn, unsigned int flags, int nHashType) |
| Verify a signature. More...
|
|
bool | FindUndoPos (CValidationState &state, int nFile, CDiskBlockPos &pos, unsigned int nAddSize) |
|
void | ThreadScriptCheck () |
| Run an instance of the script checking thread. More...
|
|
bool | SetBestChain (CValidationState &state, CBlockIndex *pindexNew) |
| Connect/disconnect blocks until pindexNew is the new tip of the active block chain. More...
|
|
bool | FindBlockPos (CValidationState &state, CDiskBlockPos &pos, unsigned int nAddSize, unsigned int nHeight, uint64 nTime, bool fKnown=false) |
|
bool | ProcessBlock (CValidationState &state, CNode *pfrom, CBlock *pblock, CDiskBlockPos *dbp) |
| Process an incoming block. More...
|
|
bool | AbortNode (const std::string &strMessage) |
| Abort with a message. More...
|
|
bool | CheckDiskSpace (uint64 nAdditionalBytes) |
| Check whether enough disk space is available for an incoming block. More...
|
|
FILE * | OpenDiskFile (const CDiskBlockPos &pos, const char *prefix, bool fReadOnly) |
|
FILE * | OpenBlockFile (const CDiskBlockPos &pos, bool fReadOnly) |
| Open a block file (blk?????.dat) More...
|
|
FILE * | OpenUndoFile (const CDiskBlockPos &pos, bool fReadOnly) |
| Open an undo file (rev?????.dat) More...
|
|
CBlockIndex * | InsertBlockIndex (uint256 hash) |
| Create a new block index entry for a given block hash. More...
|
|
bool | VerifyDB (int nCheckLevel, int nCheckDepth) |
| Verify consistency of the block and coin databases. More...
|
|
void | UnloadBlockIndex () |
| Unload database information. More...
|
|
bool | LoadBlockIndex () |
| Load the block tree and coins database from disk. More...
|
|
bool | InitBlockIndex () |
| Initialize a new block tree database + block data on disk. More...
|
|
void | PrintBlockTree () |
| Print the loaded block tree. More...
|
|
bool | LoadExternalBlockFile (FILE *fileIn, CDiskBlockPos *dbp) |
| Import blocks from an external file. More...
|
|
string | GetWarnings (string strFor) |
|
bool | ProcessMessages (CNode *pfrom) |
| Process protocol messages received from a given node. More...
|
|
bool | SendMessages (CNode *pto, bool fSendTrickle) |
| Send queued protocol messages to be sent to a give node. More...
|
|
void | SHA256Transform (void *pstate, void *pinput, const void *pinit) |
|
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 | GenerateBitcoins (bool fGenerate, CWallet *pwallet) |
| Run the miner threads. More...
|
|