aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-04-25 21:31:08 -0400
committerMatt Corallo <git@bluematt.me>2017-12-04 09:39:20 -0500
commit2862aca40f24acc48d3052d5ba3f639e3fc0a621 (patch)
tree0605ff04eefde43ff62a5cc127b26fb610c2c4d0 /src/validation.h
parentfd4d80a2f8d2ced8ffedf46e4a70ff4f7a05663f (diff)
Move some additional variables into CChainState private
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 0ddeb97aa6..eae129b28f 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -279,7 +279,7 @@ bool ActivateBestChain(CValidationState& state, const CChainParams& chainparams,
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams);
/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). */
-double GuessVerificationProgress(const ChainTxData& data, CBlockIndex* pindex);
+double GuessVerificationProgress(const ChainTxData& data, const CBlockIndex* pindex);
/** Calculate the amount of disk space the block & undo files currently use */
uint64_t CalculateCurrentUsage();