Struct Config

Main config

struct Config ;

Fields

NameTypeDescription
admin AdminConfigThe administrator interface config
banman BanManager.ConfigBan manager config
consensus ConsensusConfigConsensus parameters for the chain
event_handlers immutable(EventHandlerConfig)[]Event handler config
flash FlashConfigFlash configuration
interfaces immutable(InterfaceConfig[])Configuration for interfaces the node expose (only http for now)
logging immutable(LoggerConfig)[]Logging config
network immutable(Address[])The list of IPs for use with network discovery
node NodeConfigThe node config
proxy agora.node.Config.Config.ProxyConfigProxy to be used for outgoing Agora connections
registry RegistryConfigName registry configuration
validator ValidatorConfigThe validator config

Methods

NameDescription
validate () Validate that the config is self-consistent