Documentation ¶
Overview ¶
Package featureset defines a set of global features and their rollout status.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableForT ¶
DisableForT disables a feature for testing.
func EnableForT ¶
EnableForT enables a feature for testing.
Types ¶
type Config ¶
type Config struct { // MinStatus defines the minimum enabled status. MinStatus string // Enabled overrides min status and enables a list of features. Enabled []string // Disabled overrides min status and disables a list of features. Disabled []string }
Config configures the feature set package.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns the default config enabling only stable features.
type Feature ¶
type Feature string
Feature is a feature being rolled out.
const ( // QBFTConsensus introduces qbft consensus, see https://github.com/ObolNetwork/charon/issues/445. QBFTConsensus Feature = "qbft_consensus" // BeaconClockSync offsets slot start time by syncing with beacon node events. BeaconClockSync Feature = "beacon_clock_sync" )
Click to show internal directories.
Click to hide internal directories.