package
5.2.0
Repository: https://github.com/prysmaticlabs/prysm.git
Documentation: pkg.go.dev

# Functions

All returns a slice of every BeaconChainConfig contained in the configset.
BeaconConfig retrieves beacon chain config.
BeaconIoConfig returns the current io config for the beacon chain.
BeaconNetworkConfig returns the current network config for the beacon chain.
ByName returns the BeaconChainConfig with the matching `ConfigName` field.
ByVersion returns the BeaconChainConfig that has the given version in its ForkVersionSchedule.
ConfigForkVersions returns a mapping between a fork version param and the version identifier from the runtime/version package.
ConfigToYaml takes a provided config and outputs its contents in yaml.
DenebEnabled centralizes the check to determine if code paths that are specific to deneb should be allowed to execute.
E2ETestConfig retrieves the configurations made specifically for E2E testing.
FillTestVersions replaces the fork schedule in the given BeaconChainConfig with test values, using the given byte argument as the high byte (common across forks).
HoleskyConfig defines the config for the Holesky beacon chain testnet.
InteropConfig provides a generic config suitable for interop testing.
LoadChainConfigFile load, convert hex values into valid param yaml format, unmarshal , and apply beacon chain config file.
MainnetConfig returns the configuration to be used in the main network.
MainnetTestConfig provides a version of the mainnet config that has a different name and a different fork choice schedule.
MaxRequestBlock determines the maximum number of blocks that can be requested in a single request for a given epoch.
MinimalSpecConfig retrieves the minimal config used in spec tests.
OverrideBeaconConfig by replacing the config.
OverrideBeaconNetworkConfig will override the network config with the added argument.
PeerDASEnabled centralizes the check to determine if code paths that are specific to peerdas should be allowed to execute.
ReplaceHexStringWithYAMLFormat will replace hex strings that the yaml parser will understand.
SepoliaConfig defines the config for the Sepolia beacon chain testnet.
SetActive sets the given config as active (the config that will be returned by GetActive).
SetActiveTestCleanup sets an active config, and adds a test cleanup hook to revert to the default config after the test completes.
SetActiveWithUndo attempts to set the active config, and if successful, returns a callback function that can be used to revert the configset back to its previous state.
SetupTestConfigCleanup preserves configurations allowing to modify them within tests without any restrictions, everything is restored after the test.
UseHoleskyNetworkConfig uses the Holesky beacon chain specific network config.
UseSepoliaNetworkConfig uses the Sepolia beacon chain specific network config.
WithinDAPeriod checks if the block epoch is within MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS of the given current epoch.

# Constants

# Structs

BeaconChainConfig contains constant configs for node to participate in beacon chain.
IoConfig defines the shared io parameters.
NetworkConfig defines the spec based network parameters.