Skip to content

Commit faa8c2d

Browse files
author
MarcoFalke
committed
doc: Clarify nPruneAfterHeight for signet
1 parent fad381b commit faa8c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/blockstorage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class BlockManager
8282
*
8383
* Pruning functions are called from FlushStateToDisk when the global fCheckForPruning flag has been set.
8484
* Block and undo files are deleted in lock-step (when blk00003.dat is deleted, so is rev00003.dat.)
85-
* Pruning cannot take place until the longest chain is at least a certain length (100000 on mainnet, 1000 on testnet, 1000 on regtest).
85+
* Pruning cannot take place until the longest chain is at least a certain length (CChainParams::nPruneAfterHeight).
8686
* Pruning will never delete a block within a defined distance (currently 288) from the active chain's tip.
8787
* The block index is updated by unsetting HAVE_DATA and HAVE_UNDO for any blocks that were stored in the deleted files.
8888
* A db flag records the fact that at least some block files have been pruned.

0 commit comments

Comments
 (0)