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 VMFactoryLog logging.Logger LogFactory logging.Factory // This node's unique ID used when communicating with other nodes // (in consensus, for example) ID ids.NodeID StakingTLSSigner crypto.Signer StakingTLSCert *staking.Certificate // Storage for this node DB database.Database // dispatcher for events as they happen in consensus BlockAcceptorGroup snow.AcceptorGroup TxAcceptorGroup snow.AcceptorGroup VertexAcceptorGroup snow.AcceptorGroup // Net runs the networking stack 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 MetricsGatherer metrics.MultiGatherer MeterDBMetricsGatherer metrics.MultiGatherer VMAliaser ids.Aliaser VMManager vms.Manager // 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.