|
|
@ -212,10 +212,10 @@ void UnregisterNodeSignals(CNodeSignals& nodeSignals); |
|
|
|
* @param[in] pfrom The node which we are receiving the block from; it is added to mapBlockSource and may be penalised if the block is invalid. |
|
|
|
* @param[in] pfrom The node which we are receiving the block from; it is added to mapBlockSource and may be penalised if the block is invalid. |
|
|
|
* @param[in] pblock The block we want to process. |
|
|
|
* @param[in] pblock The block we want to process. |
|
|
|
* @param[in] fForceProcessing Process this block even if unrequested; used for non-network block sources and whitelisted peers. |
|
|
|
* @param[in] fForceProcessing Process this block even if unrequested; used for non-network block sources and whitelisted peers. |
|
|
|
* @param[out] dbp If pblock is stored to disk (or already there), this will be set to its location. |
|
|
|
* @param[out] dbp The already known disk position of pblock, or NULL if not yet stored. |
|
|
|
* @return True if state.IsValid() |
|
|
|
* @return True if state.IsValid() |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
bool ProcessNewBlock(CValidationState& state, const CChainParams& chainparams, const CNode* pfrom, const CBlock* pblock, bool fForceProcessing, CDiskBlockPos* dbp); |
|
|
|
bool ProcessNewBlock(CValidationState& state, const CChainParams& chainparams, const CNode* pfrom, const CBlock* pblock, bool fForceProcessing, const CDiskBlockPos* dbp); |
|
|
|
/** Check whether enough disk space is available for an incoming block */ |
|
|
|
/** Check whether enough disk space is available for an incoming block */ |
|
|
|
bool CheckDiskSpace(uint64_t nAdditionalBytes = 0); |
|
|
|
bool CheckDiskSpace(uint64_t nAdditionalBytes = 0); |
|
|
|
/** Open a block file (blk?????.dat) */ |
|
|
|
/** Open a block file (blk?????.dat) */ |
|
|
|