config

package
v0.2.26-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT 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 {
	ConfidenceParam uint32 `mapstructure:"eligibility-confidence-param"` // the confidence interval
	EpochOffset     uint32 `mapstructure:"eligibility-epoch-offset"`     // the offset from the beginning of the epoch
}

Config is the configuration of the oracle package.

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns the default configuration for the oracle package.

Jump to

Keyboard shortcuts

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