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.
Click to show internal directories.
Click to hide internal directories.