Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LatestBlockInterval = uint32(720) // 720 blocks is about two hours
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Moniker string `toml:"moniker"` HeartBeatTimer time.Duration `toml:"heartbeat_timer"` SessionTimeout time.Duration `toml:"session_timeout"` MaxOpenSessions int `toml:"max_open_sessions"` BlockPerMessage uint32 `toml:"block_per_message"` CacheSize int `toml:"cache_size"` NodeNetwork bool `toml:"node_network"` Firewall *firewall.Config `toml:"firewall"` }
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) SanityCheck ¶
SanityCheck performs basic checks on the configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.