Run NodesReference
nets
Package nets
import "github.com/luxfi/node/nets"Functions
DefaultPOAParameters
func DefaultPOAParameters() config.ParametersDefaultPOAParameters returns sampling parameters optimized for POA mode
GetPOAConsensusParameters
func GetPOAConsensusParameters() config.ParametersGetPOAConsensusParameters returns sampling parameters optimized for POA mode
Types
Allower
Config
func (c *Config) ApplyPOAConfig(poa POAConfig)func (c *Config) Valid() errorNet
Net keeps track of the currently bootstrapping chains in a chain. If no chains in the net are currently bootstrapping, the net is considered bootstrapped.
func New(myNodeID ids.NodeID, config Config) NetPOAConfig
POAConfig provides Proof of Authority configuration for chains