[MOVEONLY] Move progress estimation out of checkpoints

This commit is contained in:
Pieter Wuille
2017-01-04 07:09:02 -08:00
parent 7dac1e5e9e
commit a4bac66cca
7 changed files with 52 additions and 50 deletions

View File

@@ -130,7 +130,7 @@ double ClientModel::getVerificationProgress(const CBlockIndex *tipIn) const
LOCK(cs_main);
tip = chainActive.Tip();
}
return Checkpoints::GuessVerificationProgress(Params().Checkpoints(), tip);
return GuessVerificationProgress(Params().Checkpoints(), tip);
}
void ClientModel::updateTimer()