Module diem_types::on_chain_config[][src]

Structs

ConfigID

To register an on-chain config in Rust:

ConfigurationResource
DiemVersion

Defines the version of Diem Validator software.

OnChainConfigPayload
RegisteredCurrencies
VMConfig

Defines all the on chain configuration data needed by VM.

VMPublishingOption

Defines and holds the publishing policies for the VM. There are three possible configurations:

ValidatorSet

Constants

DIEM_MAX_KNOWN_VERSION
DIEM_VERSION_2
ON_CHAIN_CONFIG_REGISTRY

State sync will panic if the value of any config in this registry is uninitialized

Traits

ConfigStorage

Trait to be implemented by a storage type from which to read on-chain configs

OnChainConfig

Trait to be implemented by a Rust struct representation of an on-chain config that is stored in storage as a serialized byte array

Functions

access_path_for_config
config_address
new_epoch_event_key