package
Version:
v0.0.0-...-c4ca237
Opens a new window with list of versions in this module.
Published: Dec 21, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Node NodeConfig `yaml:"node"`
Manager ManagerConfig `yaml:"manager"`
WaitPeersFullConnected bool `yaml:"wait_peers_full_connected"`
StartingHeight int64 `yaml:"starting_height"`
BlockStep uint64 `yaml:"block_step"`
BabylonRpc string `yaml:"babylon_rpc"`
}
func DefaultConfiguration() *Config
type ManagerConfig struct {
LevelDbFolder string `yaml:"level_db_folder"`
SdkRpc string `yaml:"sdk_rpc"`
WsAddr string `yaml:"ws_addr"`
SignTimeout time.Duration `yaml:"sign_timeout"`
NodeMembers string `yaml:"node_members"`
}
type NodeConfig struct {
LevelDbFolder string `yaml:"level_db_folder"`
KeyPath string `yaml:"key_path"`
WsAddr string `yaml:"ws_addr"`
SignTimeout time.Duration `yaml:"sign_timeout"`
WaitScanInterval time.Duration `yaml:"wait_scan_interval"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.