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

Function GetLocator

src/chain.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45CBlockLocator GetLocator(const CBlockIndex* index)
46{
47 return CBlockLocator{LocatorEntries(index)};
48}
49
50const CBlockIndex* CChain::FindFork(const CBlockIndex& index) const
51{

Callers 6

ProcessHeadersMessageMethod · 0.70
ProcessMessageMethod · 0.70
ConsiderEvictionMethod · 0.70
SendMessagesMethod · 0.70
FlushStateToDiskMethod · 0.70

Calls 1

LocatorEntriesFunction · 0.85

Tested by

no test coverage detected