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

Method getVerificationProgress

src/qt/clientmodel.cpp:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161double 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
172void ClientModel::updateTimer()
173{

Callers 4

BlockTipChangedFunction · 0.80
setClientModelMethod · 0.80
setNumBlocksMethod · 0.80
setClientModelMethod · 0.80

Calls 3

TipMethod · 0.80
ParamsClass · 0.50

Tested by

no test coverage detected