MCPcopy Create free account
hub / github.com/ElementsProject/elements / AlreadyHaveBlock

Method AlreadyHaveBlock

src/net_processing.cpp:1711–1714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1709}
1710
1711bool PeerManagerImpl::AlreadyHaveBlock(const uint256& block_hash)
1712{
1713 return m_chainman.m_blockman.LookupBlockIndex(block_hash) != nullptr;
1714}
1715
1716void PeerManagerImpl::SendPings()
1717{

Callers

nothing calls this directly

Calls 1

LookupBlockIndexMethod · 0.80

Tested by

no test coverage detected