pruner

package
v2.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: LGPL-3.0 Imports: 15 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 is a background task to prune tries.

func New

func New(db *muxdb.MuxDB, repo *chain.Repository) *Pruner

New creates and starts the pruner.

func (*Pruner) Stop

func (p *Pruner) Stop()

Stop stops the pruner.

Jump to

Keyboard shortcuts

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