| 626 | } |
| 627 | |
| 628 | bool BlockManager::IsBlockPruned(const CBlockIndex& block) const |
| 629 | { |
| 630 | AssertLockHeld(::cs_main); |
| 631 | return m_have_pruned && !(block.nStatus & BLOCK_HAVE_DATA) && (block.nTx > 0); |
| 632 | } |
| 633 | |
| 634 | const CBlockIndex& BlockManager::GetFirstBlock(const CBlockIndex& upper_block, uint32_t status_mask, const CBlockIndex* lower_block) const |
| 635 | { |
no outgoing calls
no test coverage detected