pruner

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pruner

type Pruner struct {
	// contains filtered or unexported fields
}

Pruner periodically removes old state and execution metadata entries.

func New

func New(
	logger zerolog.Logger,
	store store.Store,
	execPruner coreexecutor.ExecPruner,
	cfg config.PruningConfig,
	blockTime time.Duration,
	daAddress string,
) *Pruner

New creates a new Pruner instance.

func (*Pruner) Start

func (p *Pruner) Start(ctx context.Context) error

Start begins the pruning loop.

func (*Pruner) Stop

func (p *Pruner) Stop() error

Stop stops the pruning loop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL