Versions in this module Expand all Collapse all v0 v0.46.33 Oct 24, 2022 Changes in this version + const PruningOptionCustom + const PruningOptionDefault + const PruningOptionEverything + const PruningOptionNothing + var ErrPruningIntervalTooSmall = fmt.Errorf(...) + var ErrPruningIntervalZero = errors.New(...) + var ErrPruningKeepRecentTooSmall = fmt.Errorf(...) + type PruningOptions struct + Interval uint64 + KeepRecent uint64 + Strategy PruningStrategy + func NewCustomPruningOptions(keepRecent, interval uint64) PruningOptions + func NewPruningOptions(pruningStrategy PruningStrategy) PruningOptions + func NewPruningOptionsFromString(strategy string) PruningOptions + func (po PruningOptions) GetPruningStrategy() PruningStrategy + func (po PruningOptions) Validate() error + type PruningStrategy int + const PruningCustom + const PruningDefault + const PruningEverything + const PruningNothing + const PruningUndefined v0.46.3-beta.1 Oct 24, 2022