Move tx estimation data out of CCheckPointData

This commit is contained in:
Pieter Wuille
2017-01-04 07:31:56 -08:00
parent a4bac66cca
commit 3641141c8f
7 changed files with 28 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ class CScriptCheck;
class CTxMemPool;
class CValidationInterface;
class CValidationState;
class CCheckpointData;
struct ChainTxData;
struct PrecomputedTransactionData;
struct LockPoints;
@@ -281,7 +281,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 CCheckpointData& data, CBlockIndex* pindex, bool fSigchecks = true);
double GuessVerificationProgress(const ChainTxData& data, CBlockIndex* pindex, bool fSigchecks = true);
/**
* Prune block and undo files (blk???.dat and undo???.dat) so that the disk space used is less than a user-defined target.