| 1582 | } |
| 1583 | |
| 1584 | double getVerificationProgress(const CBlockIndex *tipIn) // here to avoid include loops |
| 1585 | { |
| 1586 | CBlockIndex *tip = const_cast<CBlockIndex *>(tipIn); |
| 1587 | if (!tip) |
| 1588 | { |
| 1589 | LOCK(cs_main); |
| 1590 | tip = chainActive.Tip(); |
| 1591 | } |
| 1592 | return Checkpoints::GuessVerificationProgress(Params().Checkpoints(), tip); |
| 1593 | } |
| 1594 | |
| 1595 | void limit_peers(int i); |
| 1596 | void Threadlimitpeers(){ |
no test coverage detected