| 67 | } |
| 68 | |
| 69 | void BlockDisconnected(const std::shared_ptr<const CBlock>& block, const CBlockIndex* pindex) override |
| 70 | { |
| 71 | BOOST_CHECK_EQUAL(m_expected_tip, block->GetHash()); |
| 72 | BOOST_CHECK_EQUAL(m_expected_tip, pindex->GetBlockHash()); |
| 73 | |
| 74 | m_expected_tip = block->hashPrevBlock; |
| 75 | } |
| 76 | }; |
| 77 | |
| 78 | std::shared_ptr<CBlock> MinerTestingSetup::Block(const uint256& prev_hash) |
nothing calls this directly
no test coverage detected