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

Method GetBestBlock

src/coins.cpp:178–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178uint256 CCoinsViewCache::GetBestBlock() const {
179 if (m_block_hash.IsNull())
180 m_block_hash = base->GetBestBlock();
181 return m_block_hash;
182}
183
184void CCoinsViewCache::SetBestBlock(const uint256& in_block_hash)
185{

Callers

nothing calls this directly

Calls 1

IsNullMethod · 0.45

Tested by

no test coverage detected