Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultHTTPPortStaticRangeStart = 10000 DefaultP2PStaticRangeStart = 12000 )
Variables ¶
This section is empty.
Functions ¶
func UpdateNodeConfigs ¶ added in v0.1.11
UpdateNodeConfigs updates nodes configuration TOML files this API is discouraged, however, you can use it if nodes require restart or configuration updates, temporarily!
Types ¶
type Input ¶
type Input struct { Nodes int `toml:"nodes" validate:"required"` HTTPPortRangeStart int `toml:"http_port_range_start"` P2PPortRangeStart int `toml:"p2p_port_range_start"` OverrideMode string `toml:"override_mode" validate:"required,oneof=all each"` NodeSpecs []*clnode.Input `toml:"node_specs" validate:"required"` Out *Output `toml:"out"` }
Input is a node set configuration input
type Output ¶
Output is a node set configuration output, used for caching or external components
func NewSharedDBNodeSet ¶
NewSharedDBNodeSet create a new node set with a shared database instance all the nodes have their own isolated database
Click to show internal directories.
Click to hide internal directories.