Documentation
¶
Overview ¶
Package node provides the central tool to manage the node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Role of the node. Role string // Network ID hash in base58 encoded format. NetworkID string // Listen address of the server. NetworkAddr string // Addresses of initial peers. Peers []string // Maximum number of peers to connect. MaxPeers int // Node ID (public key derived from seed). NodeID string // Seed of this node. Seed string // Path of the log file. LogFile string // Database backend. DBBackend string // Database file path. DBPath string // Initial quorum. Quorum *ultpb.Quorum // Interval for consensus proposition. ProposeInterval int }
Click to show internal directories.
Click to hide internal directories.