MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / guessVerificationProgress

Method guessVerificationProgress

src/node/interfaces.cpp:645–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643 }
644 void findCoins(std::map<COutPoint, Coin>& coins) override { return FindCoins(m_node, coins); }
645 double guessVerificationProgress(const uint256& block_hash) override
646 {
647 LOCK(chainman().GetMutex());
648 return chainman().GuessVerificationProgress(chainman().m_blockman.LookupBlockIndex(block_hash));
649 }
650 bool hasBlocks(const uint256& block_hash, int min_height, std::optional<int> max_height) override
651 {
652 // hasBlocks returns true if all ancestors of block_hash in specified

Callers 1

Calls 2

LookupBlockIndexMethod · 0.80

Tested by

no test coverage detected