You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewBlockStoreException($"The amount of blocks to prune [{this.storeSettings.AmountOfBlocksToKeep}] (blocks to keep) cannot be less than the node's max reorg length of {this.network.Consensus.MaxReorgLength}.");
Copy file name to clipboardExpand all lines: src/Features/Blockcore.Features.BlockStore/Pruning/IPrunedBlockRepository.cs
+7-16Lines changed: 7 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -14,20 +14,6 @@ public interface IPrunedBlockRepository
14
14
voidInitialize();
15
15
16
16
/// <summary>
17
-
/// Prunes and compacts the block and transaction database.
18
-
/// <para>
19
-
/// The method first prunes by deleting blocks from the block store that are below the <see cref="StoreSettings.AmountOfBlocksToKeep"/> from the store tip.
20
-
/// </para>
21
-
/// <para>
22
-
/// Once this is done the database is compacted by resaving the database file without the deleted references, reducing the file size on disk.
23
-
/// </para>
24
-
/// </summary>
25
-
/// <param name="blockStoreTip">The current tip of the store.</param>
26
-
/// <param name="network">The network the node is running on.</param>
27
-
/// <param name="nodeInitializing">Indicates whether or not this method is called from node startup or not.</param>
0 commit comments