Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAdditionalOperations ¶
RunAdditionalOperations runs the additional operations for the pruning module
Types ¶
type Config ¶
type Config struct { KeepRecent int64 `yaml:"keep_recent"` KeepEvery int64 `yaml:"keep_every"` Interval int64 `yaml:"interval"` }
func ParseConfig ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the pruning module allowing to clean the database periodically
func (*Module) HandleBlock ¶
func (m *Module) HandleBlock( block *tmctypes.ResultBlock, _ *tmctypes.ResultBlockResults, _ []*types.Tx, _ *tmctypes.ResultValidators, ) error
HandleBlock implements modules.BlockModule
func (*Module) RunAdditionalOperations ¶
RunAdditionalOperations implements
Click to show internal directories.
Click to hide internal directories.