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

Method BlockConnected

src/node/interfaces.cpp:480–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478 m_notifications->transactionRemovedFromMempool(tx, reason);
479 }
480 void BlockConnected(const ChainstateRole& role, const std::shared_ptr<const CBlock>& block, const CBlockIndex* index) override
481 {
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()));

Callers

nothing calls this directly

Calls 3

MakeBlockInfoFunction · 0.85
blockConnectedMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected