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

Method BlockDisconnected

src/node/interfaces.cpp:484–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482 m_notifications->blockConnected(role, kernel::MakeBlockInfo(index, block.get()));
483 }
484 void BlockDisconnected(const std::shared_ptr<const CBlock>& block, const CBlockIndex* index) override
485 {
486 m_notifications->blockDisconnected(kernel::MakeBlockInfo(index, block.get()));
487 }
488 void UpdatedBlockTip(const CBlockIndex* index, const CBlockIndex* fork_index, bool is_ibd) override
489 {
490 m_notifications->updatedBlockTip();

Callers

nothing calls this directly

Calls 3

MakeBlockInfoFunction · 0.85
blockDisconnectedMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected