| 440 | } |
| 441 | |
| 442 | bool IsBlockPruned(const CBlockIndex* pblockindex) |
| 443 | { |
| 444 | AssertLockHeld(::cs_main); |
| 445 | return (fHavePruned && !(pblockindex->nStatus & BLOCK_HAVE_DATA) && pblockindex->nTx > 0); |
| 446 | } |
| 447 | |
| 448 | // If we're using -prune with -reindex, then delete block files that will be ignored by the |
| 449 | // reindex. Since reindexing works by starting at block file 0 and looping until a blockfile |
no outgoing calls
no test coverage detected