# Packages
No description provided by the author
No description provided by the author
Package build contains information about the build that injected at build-time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
BootstrapIdentities converts the bootstrap node addresses and keys to a Flow Identity list where each Flow Identity is initialized with the passed address, the networking key and the Node ID set to ZeroID, role set to Access, 0 stake and no staking key.
No description provided by the author
No description provided by the author
DhtSystemActivationStatus parses the given role string and returns the corresponding DHT system activation status.
DynamicStartPreInit is the pre-init func that will check if a node has already bootstrapped from a root protocol snapshot.
FlowNode creates a new Flow node builder with the given name.
No description provided by the author
LoadNodeMachineAccountInfoFile loads machine account info from the default location within the bootstrap directory - Currently being used by Collection and Consensus nodes.
LoadPrivateNodeInfo the private info for this node from disk (e.g., private staking/network keys).
MarkFlagRequired marks a flag added to a cobra command as required.
No description provided by the author
No description provided by the author
NewNode returns a new node instance.
No description provided by the author
No description provided by the author
ValidateDynamicStartupFlags will validate flags necessary for dynamic node startup - assert dynamic-startup-access-publickey is valid ECDSA_P256 public key hex - assert dynamic-startup-access-address is not empty - assert dynamic-startup-startup-epoch-phase is > 0 (EpochPhaseUndefined).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithDB takes precedence over WithDataDir and datadir will be set to empty if DB is set using this option.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BaseConfig is the general config for the NodeBuilder and the command line params For a node running as a standalone process, the config fields will be populated from the command line params, while for a node running as a library, the config fields are expected to be initialized by the caller.
DependencyList is a slice of ReadyDoneAware implementations that are used by DependableComponent to define the list of dependencies that must be ready before starting the component.
ExecutionConfig contains the configs for starting up execution nodes.
ExecutionNode contains the running modules and their loading code.
No description provided by the author
FlowNodeBuilder is the default builder struct used for all flow nodes It runs a node process with following structure, in sequential order Base inits (network, storage, state, logger) PostInit handlers, if any Components handlers, if any, wait sequentially Run() <- main loop Components destructors, if any The initialization can be proceeded and succeeded with PreInit and PostInit functions that allow customization of the process in case of nodes such as the unstaked access node where the NodeInfo is not part of the genesis data.
FlowNodeImp is created by the FlowNodeBuilder with all components ready to be started.
No description provided by the author
NodeConfig contains all the derived parameters such the NodeID, private keys etc.
StateExcerptAtBoot stores information about the root snapshot and latest finalized block for use in bootstrapping.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
NodeBuilder declares the initialization methods needed to bootstrap up a Flow node.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author