| 44 | } |
| 45 | |
| 46 | void BlockConnected(const std::shared_ptr<const CBlock>& block, const CBlockIndex* pindex) override |
| 47 | { |
| 48 | BOOST_CHECK_EQUAL(m_expected_tip, block->hashPrevBlock); |
| 49 | BOOST_CHECK_EQUAL(m_expected_tip, pindex->pprev->GetBlockHash()); |
| 50 | |
| 51 | m_expected_tip = block->GetHash(); |
| 52 | } |
| 53 | |
| 54 | void BlockDisconnected(const std::shared_ptr<const CBlock>& block, const CBlockIndex* pindex) override |
| 55 | { |
nothing calls this directly
no test coverage detected