MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / getVerificationProgress

Method getVerificationProgress

src/interfaces/node.cpp:176–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 return Params().GenesisBlock().GetBlockTime(); // Genesis block's time of current network
175 }
176 double getVerificationProgress() override
177 {
178 const CBlockIndex* tip;
179 {
180 LOCK(::cs_main);
181 tip = ::chainActive.Tip();
182 }
183 return GuessVerificationProgress(Params().TxData(), tip);
184 }
185 bool isInitialBlockDownload() override { return IsInitialBlockDownload(); }
186 bool getReindex() override { return ::fReindex; }
187 bool getImporting() override { return ::fImporting; }

Callers 2

setClientModelMethod · 0.80
setClientModelMethod · 0.80

Calls 3

ParamsClass · 0.50
TipMethod · 0.45

Tested by

no test coverage detected