Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ WriteBestBlock
Method
WriteBestBlock
src/index/base.cpp:47–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
}
46
47
void BaseIndex::DB::WriteBestBlock(CDBBatch& batch, const CBlockLocator& locator)
48
{
49
batch.Write(DB_BEST_BLOCK, locator);
50
}
51
52
BaseIndex::~BaseIndex()
53
{
Callers
1
CommitInternal
Method · 0.45
Calls
1
Write
Method · 0.45
Tested by
no test coverage detected