| 159 | } |
| 160 | |
| 161 | double ClientModel::getVerificationProgress(const CBlockIndex *tipIn) const |
| 162 | { |
| 163 | CBlockIndex *tip = const_cast<CBlockIndex *>(tipIn); |
| 164 | if (!tip) |
| 165 | { |
| 166 | LOCK(cs_main); |
| 167 | tip = chainActive.Tip(); |
| 168 | } |
| 169 | return Checkpoints::GuessVerificationProgress(Params().Checkpoints(), tip); |
| 170 | } |
| 171 | |
| 172 | void ClientModel::updateTimer() |
| 173 | { |
no test coverage detected