# Functions
DoNotValidate validates the given config.
New creates a config instance.
NewSub create config for sub chain.
ValidateActPool validates the given config.
ValidateAPI validates the api configs.
ValidateArchiveMode validates the state factory setting.
ValidateDispatcher validates the dispatcher configs.
ValidateForkHeights validates the forked heights.
ValidateRollDPoS validates the roll-DPoS configs.
# Constants
GatewayPlugin is the plugin of accepting user API requests and serving blockchain data to users.
NOOPScheme means that the node does not create only block.
RollDPoSScheme means randomized delegated proof of stake.
StandaloneScheme means that the node creates a block periodically regardless of others (if there is any).
# Variables
Default is the default config.
ErrInvalidCfg indicates the invalid config value.
Validates is the collection config validation functions.
# Type aliases
Network is the config struct for network package.