Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Moniker string `toml:"moniker"`
SessionTimeout time.Duration `toml:"session_timeout"`
NodeNetwork bool `toml:"node_network"`
Firewall *firewall.Config `toml:"firewall"`
// Private configs
MaxSessions int `toml:"-"`
LatestBlockInterval uint32 `toml:"-"`
BlockPerMessage uint32 `toml:"-"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) BasicCheck ¶ added in v0.15.0
BasicCheck performs basic checks on the configuration.
type MockSync ¶
func MockingSync ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.