Run NodesReference

nets

Package nets

import "github.com/luxfi/node/nets"

Functions

DefaultPOAParameters

func DefaultPOAParameters() config.Parameters

DefaultPOAParameters returns sampling parameters optimized for POA mode

GetPOAConsensusParameters

func GetPOAConsensusParameters() config.Parameters

GetPOAConsensusParameters returns sampling parameters optimized for POA mode

Types

Allower

Config

func (c *Config) ApplyPOAConfig(poa POAConfig)
func (c *Config) Valid() error

Net

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) Net

POAConfig

POAConfig provides Proof of Authority configuration for chains