retainer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "Retainer"

PluginName is the name of the spammer plugin.

Variables

View Source
var Parameters = &ParametersDefinition{}

Parameters contains the configuration used by the remotelog plugin.

View Source
var (
	// Plugin is the plugin instance of the spammer plugin.
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

type ParametersDefinition

type ParametersDefinition struct {
	Directory        string `default:"retainer" usage:"path to the database directory"`
	PruningThreshold uint32 `default:"8640" usage:"how many confirmed slots should be retained"`
	MaxOpenDBs       int    `default:"10" usage:"maximum number of open database instances"`
	DBGranularity    int64  `default:"10" usage:"how many slots should be contained in a single DB instance"`
}

ParametersDefinition contains the definition of the parameters used by the remotelog plugin.

Jump to

Keyboard shortcuts

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