package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Feb 1, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConfigFromSpec generates config.toml file from node spec
type BurnChain struct {
Chain string `toml:"chain"`
Mode string `toml:"mode"`
PeerHost string `toml:"peer_host"`
Username string `toml:"username"`
Password string `toml:"password"`
RPCPort uint `toml:"rpc_port"`
PeerPort uint `toml:"peer_port"`
}
type Config struct {
Node Node `toml:"node"`
BurnChain BurnChain `toml:"burnchain"`
}
type Node struct {
WorkingDir string `toml:"working_dir"`
RPCBind string `toml:"rpc_bind"`
P2PBind string `toml:"p2p_bind"`
Seed string `toml:"seed,omitempty"`
LocalPeerSeed string `toml:"local_peer_seed"`
Miner bool `toml:"miner"`
MineMicroblocks bool `toml:"mine_microblocks,omitempty"`
}
NodeReconciler reconciles a Node object
Source Files
¶
Click to show internal directories.
Click to hide internal directories.