aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-01-05 16:26:39 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-01-05 16:17:22 +0100
commitfaa8c2d7d75f8d9782709e73e00e35851e233392 (patch)
treecb2519b5de811f7ad2efe4279a2ba49081b00afa /src/node
parentfad381b2f8e1beb18f748fbeb820e63545b9b0fd (diff)
downloadbitcoin-faa8c2d7d75f8d9782709e73e00e35851e233392.tar.xz
doc: Clarify nPruneAfterHeight for signet
Diffstat (limited to 'src/node')
-rw-r--r--src/node/blockstorage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h
index 91d651bac2..020117ce74 100644
--- a/src/node/blockstorage.h
+++ b/src/node/blockstorage.h
@@ -82,7 +82,7 @@ private:
*
* Pruning functions are called from FlushStateToDisk when the global 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 cannot take place until the longest chain is at least a certain length (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.