stateconf

package
v1.16.49 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: GPL-3.0, BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Pruning enables state pruning
	Pruning bool

	// SnapshotCache is the cache size for snapshots
	SnapshotCache int

	// OfflinePruning enables offline pruning
	OfflinePruning bool

	// StateSyncEnabled enables state sync
	StateSyncEnabled bool
}

Config represents state configuration

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns the default state configuration

Jump to

Keyboard shortcuts

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