optimizer

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: LGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Optimizer

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

Optimizer is a background task to optimize tries.

func New

func New(db *muxdb.MuxDB, repo *chain.Repository, prune bool) *Optimizer

New creates and starts the optimizer.

func (*Optimizer) Stop

func (p *Optimizer) Stop()

Stop stops the optimizer.

Jump to

Keyboard shortcuts

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