chains

package
v0.5.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ParamsChains = &ParametersChains{}
	ParamsWAL    = &ParametersWAL{}
)
View Source
var (
	CoreComponent *app.CoreComponent
)

Functions

This section is empty.

Types

type ParametersChains

type ParametersChains struct {
	BroadcastUpToNPeers              int           `default:"2" usage:"number of peers an offledger request is broadcasted to"`
	BroadcastInterval                time.Duration `default:"5s" usage:"time between re-broadcast of offledger requests"`
	APICacheTTL                      time.Duration `default:"300s" usage:"time to keep processed offledger requests in api cache"`
	PullMissingRequestsFromCommittee bool          `default:"true" usage:"whether or not to pull missing requests from other committee members"`
}

type ParametersWAL

type ParametersWAL struct {
	Enabled bool   `default:"true" usage:"whether the \"write-ahead logging\" is enabled"`
	Path    string `default:"waspdb/wal" usage:"the path to the \"write-ahead logging\" folder"`
}

Jump to

Keyboard shortcuts

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