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.
Click to show internal directories.
Click to hide internal directories.