aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-12-18 23:03:16 -0800
committerMatt Corallo <git@bluematt.me>2017-01-04 15:56:08 -0500
commit80175472d1a9687da704c5180bda173596271b12 (patch)
treef9986f148b949adf707a01c352551fbf871c1ace /src/validation.h
parent7dac1e5e9e887f5f6ff146e812a05bd3bf281eae (diff)
downloadbitcoin-80175472d1a9687da704c5180bda173596271b12.tar.xz
Make CBlockIndex*es in net_processing const
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
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);