diff options
author | Matt Corallo <git@bluematt.me> | 2016-12-04 00:23:17 -0800 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-12-04 00:23:17 -0800 |
commit | a13fa4c80f792ffba8a77737754506aa849929af (patch) | |
tree | 48ed3e70b0770472932cb6ae8cb532fd9c1d8bfc /src/validation.h | |
parent | dd0df81ebdbf705f7ad386c7229bf1bbc3125f62 (diff) |
Remove unused CDiskBlockPos* argument from ProcessNewBlock
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h index 3a2b51bfec..c284c2fc18 100644 --- a/src/validation.h +++ b/src/validation.h @@ -229,11 +229,10 @@ static const uint64_t MIN_DISK_SPACE_FOR_BLOCK_FILES = 550 * 1024 * 1024; * * @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. * @param[out] fNewBlock A boolean which is set to indicate if the block was first received via this call * @return True if state.IsValid() */ -bool ProcessNewBlock(const CChainParams& chainparams, const std::shared_ptr<const CBlock> pblock, bool fForceProcessing, const CDiskBlockPos* dbp, bool* fNewBlock); +bool ProcessNewBlock(const CChainParams& chainparams, const std::shared_ptr<const CBlock> pblock, bool fForceProcessing, bool* fNewBlock); /** * Process incoming block headers. |