Module casper_node::types::chainspec
source · Expand description
The chainspec is a set of configuration options for the network. All validators must apply the same set of options in order to join and act as a peer in a given network.
Structs§
- Configuration of an individial account in accounts.toml
- Configuration values associated with accounts.toml
- A collection of configuration settings describing the state of the system at genesis and after upgrades to basic system functionality occurring after genesis.
- The raw bytes of the chainspec.toml, genesis accounts.toml, and global_state.toml files.
- Configuration values associated with the core protocol.
- Configuration values related to a delegator.
- Configuration values associated with deploys.
- Type storing the information about modifications to be applied to the global state.
- Configuration values relevant to Highway consensus.
- Configuration values associated with the network.
- Configuration values relevant to the
PerformanceMeter
, a component of Highway deciding when to change the round exponent. - Configuration values associated with the protocol.
- Validator account configuration.
Enums§
- The first era to which the associated protocol version applies.
- Consensus protocol name.
- Error returned when loading the chainspec.
- Which finality a legacy block needs during a fast sync.
Constants§
- The name of the chainspec file on disk.