diff --git a/store/types/pruning.go b/store/types/pruning.go index 823da76c658..4419acb950d 100644 --- a/store/types/pruning.go +++ b/store/types/pruning.go @@ -11,10 +11,12 @@ const ( ) var ( - // PruneDefault defines a pruning strategy where the last 100 heights are kept - // in addition to every 100th and where to-be pruned heights are pruned at - // every 10th height. - PruneDefault = NewPruningOptions(100, 100, 10) + // PruneDefault defines a pruning strategy where the last 362880 heights are + // kept in addition to every 100th and where to-be pruned heights are pruned + // at every 10th height. The last 362880 heights are kept assuming the typical + // block time is 5s and typical unbonding period is 21 days. If these values + // do not match the applications' requirements, use the "custom" option. + PruneDefault = NewPruningOptions(362880, 100, 10) // PruneEverything defines a pruning strategy where all committed heights are // deleted, storing only the current height and where to-be pruned heights are