diff options
author | Matt Corallo <git@bluematt.me> | 2017-04-25 21:31:08 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-12-04 09:39:20 -0500 |
commit | 2862aca40f24acc48d3052d5ba3f639e3fc0a621 (patch) | |
tree | 0605ff04eefde43ff62a5cc127b26fb610c2c4d0 /src/validation.h | |
parent | fd4d80a2f8d2ced8ffedf46e4a70ff4f7a05663f (diff) |
Move some additional variables into CChainState private
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 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(); |