diff options
author | Matt Corallo <git@bluematt.me> | 2016-12-18 23:03:16 -0800 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-01-04 15:56:08 -0500 |
commit | 80175472d1a9687da704c5180bda173596271b12 (patch) | |
tree | f9986f148b949adf707a01c352551fbf871c1ace /src/validation.h | |
parent | 7dac1e5e9e887f5f6ff146e812a05bd3bf281eae (diff) |
Make CBlockIndex*es in net_processing const
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index 981f659633..be49b0e65b 100644 --- a/src/validation.h +++ b/src/validation.h @@ -243,7 +243,7 @@ bool ProcessNewBlock(const CChainParams& chainparams, const std::shared_ptr<cons * @param[in] chainparams The params for the chain we want to connect to * @param[out] ppindex If set, the pointer will be set to point to the last new block index object for the given headers */ -bool ProcessNewBlockHeaders(const std::vector<CBlockHeader>& block, CValidationState& state, const CChainParams& chainparams, CBlockIndex** ppindex=NULL); +bool ProcessNewBlockHeaders(const std::vector<CBlockHeader>& block, CValidationState& state, const CChainParams& chainparams, const CBlockIndex** ppindex=NULL); /** Check whether enough disk space is available for an incoming block */ bool CheckDiskSpace(uint64_t nAdditionalBytes = 0); |