Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Log logging.Logger LogFactory logging.Factory // This node's unique ID used when communicating with other nodes // (in consensus, for example) ID ids.NodeID // Storage for this node DBManager manager.Manager DB database.Database // dispatcher for events as they happen in consensus DecisionAcceptorGroup snow.AcceptorGroup ConsensusAcceptorGroup snow.AcceptorGroup IPCs *ipcs.ChainIPCs Net network.Network // Handles HTTP API calls APIServer server.Server // This node's configuration Config *node.Config // Incremented only once on initialization. // Decremented when node is done shutting down. DoneShuttingDown sync.WaitGroup // Metrics Registerer MetricsRegisterer *prometheus.Registry MetricsGatherer metrics.MultiGatherer // VM endpoint registry VMRegistry registry.VMRegistry // contains filtered or unexported fields }
Node is an instance of an Avalanche node.
Click to show internal directories.
Click to hide internal directories.