config

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 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 uint64 `mapstructure:"eligibility-confidence-param"` // the confidence interval
	EpochOffset     int    `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