Struct Config
Main config
struct Config
;
Fields
Name | Type | Description |
---|---|---|
admin
|
AdminConfig | The administrator interface config |
banman
|
BanManager | Ban manager config |
consensus
|
ConsensusConfig | Consensus parameters for the chain |
event_handlers
|
immutable(EventHandlerConfig)[] | Event handler config |
flash
|
FlashConfig | Flash 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
|
NodeConfig | The node config |
proxy
|
agora | Proxy to be used for outgoing Agora connections |
registry
|
RegistryConfig | Name registry configuration |
validator
|
ValidatorConfig | The validator config |
Methods
Name | Description |
---|---|
validate
()
|
Validate that the config is self-consistent |