operationmodes

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	OperationModeFullArchive          = "full-archive"
	OperationModeDbLookupExtension    = "db-lookup-extension"
	OperationModeHistoricalBalances   = "historical-balances"
	OperationModeSnapshotlessObserver = "snapshotless-observer"
)

constants that define the operation mode of the node

Variables

This section is empty.

Functions

func IsInHistoricalBalancesMode added in v1.6.18

func IsInHistoricalBalancesMode(configs *config.Configs) bool

IsInHistoricalBalancesMode returns true if the configuration provided denotes a historical balances mode

func ParseOperationModes

func ParseOperationModes(operationModeList string) ([]string, error)

ParseOperationModes will check and parse the operation modes

func ProcessHistoricalBalancesMode added in v1.6.18

func ProcessHistoricalBalancesMode(log logger.Logger, configs *config.Configs)

ProcessHistoricalBalancesMode will process the provided flags for the historical balances

func SliceContainsElement

func SliceContainsElement(elements []string, element string) bool

SliceContainsElement will return true if the provided slice contains the provided element

Types

This section is empty.

Jump to

Keyboard shortcuts

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