Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
144
void CCoinsViewCache::SetBestBlock(const uint256 &hashBlockIn) {
145
hashBlock = hashBlockIn;
146
}
147
148
bool CCoinsViewCache::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlockIn) {
149
assert(!hasModifier);
Callers
3
DisconnectBlock
Function · 0.80
ConnectBlock
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
Calls
no outgoing calls
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.64