Page MenuHomePhabricator

D12514.id.diff
No OneTemporary

D12514.id.diff

diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h
--- a/src/node/blockstorage.h
+++ b/src/node/blockstorage.h
@@ -89,11 +89,11 @@
* fCheckForPruning flag has been set. Block and undo files are deleted in
* lock-step (when blk00003.dat is deleted, so is rev00003.dat.) Pruning
* cannot take place until the longest chain is at least a certain length
- * (100000 on mainnet, 1000 on testnet, 1000 on regtest). Pruning will never
- * delete a block within a defined distance (currently 288) from the active
- * chain's tip. The block index is updated by unsetting HAVE_DATA and
- * HAVE_UNDO for any blocks that were stored in the deleted files. A db flag
- * records the fact that at least some block files have been pruned.
+ * (CChainParams::nPruneAfterHeight). Pruning will never delete a block
+ * within a defined distance (currently 288) from the active chain's tip.
+ * The block index is updated by unsetting HAVE_DATA and HAVE_UNDO for any
+ * blocks that were stored in the deleted files. A db flag records the fact
+ * that at least some block files have been pruned.
*
* @param[out] setFilesToPrune The set of file indices that can be
* unlinked will be returned

File Metadata

Mime Type
text/plain
Expires
Tue, May 20, 22:37 (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5864735
Default Alt Text
D12514.id.diff (1 KB)

Event Timeline