test/doc: remove misleading comment and improve tests

remove misleading comment for m_blocks_unlinked since for
pruned nodes:
- usually A is the missing data (just like in non-pruned nodes)
- in PruneOneBlockFile, we remove entries once data for B is missing.

Co-authored-by: Martin Zumsande <mzumsande@gmail.com>
This commit is contained in:
stratospher
2026-04-12 23:14:28 +05:30
parent ca4a380281
commit 0852925bd8
2 changed files with 4 additions and 8 deletions

View File

@@ -352,7 +352,6 @@ public:
/**
* All pairs A->B, where A (or one of its ancestors) misses transactions, but B has transactions.
* Pruned nodes may have entries where B is missing data.
*/
std::multimap<CBlockIndex*, CBlockIndex*> m_blocks_unlinked;