| 31 | } |
| 32 | |
| 33 | void BlockConnected(const std::shared_ptr<const CBlock>& block, const CBlockIndex* pindex, const std::vector<CTransactionRef>& txnConflicted) override |
| 34 | { |
| 35 | BOOST_CHECK_EQUAL(m_expected_tip, block->hashPrevBlock); |
| 36 | BOOST_CHECK_EQUAL(m_expected_tip, pindex->pprev->GetBlockHash()); |
| 37 | |
| 38 | m_expected_tip = block->GetHash(); |
| 39 | } |
| 40 | |
| 41 | void BlockDisconnected(const std::shared_ptr<const CBlock>& block) override |
| 42 | { |
nothing calls this directly
no test coverage detected