Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864821
D12514.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D12514.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 22:37 (18 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5864735
Default Alt Text
D12514.id.diff (1 KB)
Attached To
D12514: doc: Clarify nPruneAfterHeight
Event Timeline
Log In to Comment