Skip to content

Commit

Permalink
Add missing comments to ProcessNewBlock and ProcessNewBlockHeaders
Browse files Browse the repository at this point in the history
Lost while backporting bitcoin#9183
  • Loading branch information
codablock authored and CryptoCentric committed Feb 25, 2019
1 parent 4dfa918 commit 62397a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/validation.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ static const uint64_t MIN_DISK_SPACE_FOR_BLOCK_FILES = 945 * 1024 * 1024;
* Note that we guarantee that either the proof-of-work is valid on pblock, or
* (and possibly also) BlockChecked will have been called.
*
* Call without cs_main held.
*
* @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[out] dbp The already known disk position of pblock, or NULL if not yet stored.
Expand All @@ -244,6 +246,8 @@ bool ProcessNewBlock(const CChainParams& chainparams, const CBlock* pblock, bool
/**
* Process incoming block headers.
*
* Call without cs_main held.
*
* @param[in] block The block headers themselves
* @param[out] state This may be set to an Error state if any error occurred processing them
* @param[in] chainparams The params for the chain we want to connect to
Expand Down

0 comments on commit 62397a9

Please sign in to comment.