MCPcopy Create free account
hub / github.com/LUX-Core/lux / getVerificationProgress

Function getVerificationProgress

src/net.cpp:1584–1593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1582}
1583
1584double 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
1595void limit_peers(int i);
1596void Threadlimitpeers(){

Callers 1

ThreadlimitpeersFunction · 0.85

Calls 3

TipMethod · 0.80
ParamsClass · 0.70

Tested by

no test coverage detected