diff options
| author | Pieter Wuille <[email protected]> | 2017-01-04 07:31:56 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-01-04 13:18:49 -0800 |
| commit | 3641141c8f9bdc68fcc0792ce8842a8e33ea7320 (patch) | |
| tree | defc323ff6b727e8b50bbe944b4671119fea30f2 /src/validation.h | |
| parent | [MOVEONLY] Move progress estimation out of checkpoints (diff) | |
| download | discoin-3641141c8f9bdc68fcc0792ce8842a8e33ea7320.tar.xz discoin-3641141c8f9bdc68fcc0792ce8842a8e33ea7320.zip | |
Move tx estimation data out of CCheckPointData
Diffstat (limited to 'src/validation.h')
| -rw-r--r-- | src/validation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h index 0288e9163..7bde123bf 100644 --- a/src/validation.h +++ b/src/validation.h @@ -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. |