MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / SetBestBlock

Method SetBestBlock

src/coins.cpp:144–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void CCoinsViewCache::SetBestBlock(const uint256 &hashBlockIn) {
145 hashBlock = hashBlockIn;
146}
147
148bool CCoinsViewCache::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlockIn) {
149 assert(!hasModifier);

Callers 3

DisconnectBlockFunction · 0.80
ConnectBlockFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64