diff options
| author | Matt Corallo <[email protected]> | 2016-12-18 23:03:16 -0800 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2017-01-04 15:56:08 -0500 |
| commit | 80175472d1a9687da704c5180bda173596271b12 (patch) | |
| tree | f9986f148b949adf707a01c352551fbf871c1ace /src/validation.h | |
| parent | Merge #9107: Safer modify new coins (diff) | |
| download | discoin-80175472d1a9687da704c5180bda173596271b12.tar.xz discoin-80175472d1a9687da704c5180bda173596271b12.zip | |
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 981f65963..be49b0e65 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); |