Node Bootstrap
This guide is for getting a new node staked and running on Flow other than a permissionless Access node. For running a permissionless Access node see Access node setup. For sporking documentation for existing node operators, see Spork Process.
Timing
New nodes are able to join the network each time a new epoch begins.
In order to join the network at epoch N+1, the node must be registered with sufficient stake and
authorized by the service account prior to the end of epoch N's Staking Auction Phase.
Confirmation of a new node's inclusion in epoch N+1 is included in the EpochSetup
event.
Nodes registered for epoch N+1 are able to participate in network communication on a limited basis starting in the Epoch Setup Phase
of epoch N.
Once registered and confirmed to join the network at epoch N+1, the node must start up before epoch N+1 begins.
- Verification & Access nodes may start up any time during the
Epoch Setup Phase
. - Consensus & Collection nodes must start up within the first 1000 views (~30mins)
of the
Epoch Setup Phase
to participate in the Epoch Preparation Protocol.
Step 1 - Run Genesis Bootstrap
You will need to run this process for each node that you are operating
Download the Bootstrapping Kit
If you have downloaded the bootstrapping kit previously, ensure you check the hash below still matches. If not, re-download to ensure you are using the most up-to-date version.
_10curl -sL -O storage.googleapis.com/flow-genesis-bootstrap/boot-tools.tar_10tar -xvf boot-tools.tar
Generate Your Node Keys
Network Address
Use a fully qualified domain name for the network address. Please also include the port number in the network address e.g. example.com:3569
Do not include in http://
format.
If you are running multiple nodes, please ensure you have different addresses for each node.
All your current keys and Flow genesis files should be in the bootstrap
folder created earlier. Please take a back up of the entire folder.
_10## Skip this section if this is your first time ##_10# If you joined our network previously, make sure to take a backup of your previously generated keys!_10cp -r /path/to/bootstrap /path/to/bootstrap.bak_10#########################################################_10# Generate Keys_10$ mkdir ./bootstrap_10# YOUR_NODE_ADDRESS: FQDN associated to your instance_10# YOUR_NODE_ROLE: The Flow nodes that you wish to run, it should be ONE of the following - [ access, collection, consensus, execution, verification ]_10$ ./boot-tools/bootstrap key --address \"${YOUR_NODE_ADDRESS}:3569\" --role ${YOUR_NODE_ROLE} -o ./bootstrap