Instructions for existing Node Operators to follow to create a machine account for their collection or consensus nodes.
In Mainnet14, the DKG (distributed key generation) is turned on, requiring storage of dynamically generated confidential data (random beacon keys). These are stored in a separate database which is new with the Mainnet14 release.
All node operators joining after Mainnet14 will generate encryption keys for this database through the node bootstrapping and staking process. We strongly recommend all node operators (especially consensus node operators) generate an encryption key for this database. This guide demonstrates how to enable encryption for this database for existing operators.
If you have downloaded the bootstrapping kit previously, ensure that you do this step again to get the latest copy of the bootstrapping kit since there have been significant changes to it.
Follow the instructions here to download the latest version of the bootstrapping kit, then return to this page.
You will need to generate an encryption key for the database using the
Ensure you run the following commands on the machine you use to run your node software.
The bootstrap directory passed to the
-o flag must be the same bootstrap directory used by your node.
The default location is
/var/flow/bootstrap, but double-check your setup before continuing.
1$./boot-tools/bootstrap db-encryption-key -o ./bootstrap2<nil> INF generated db encryption key3<nil> INF wrote file bootstrap/private-root-information/private-node-info_ab6e0b15837de7e5261777cb65665b318cf3f94492dde27c1ea13830e989bbf9secretsdb-key45$tree ./bootstrap/6./bootstrap7├── private-root-information8│ └── private-node-info_ab6e0b15837de7e5261777cb65665b318cf3f94492dde27c1ea13830e989bbf99│ ├── node-info.priv.json10│ └── secretsdb-key11└── public-root-information12├── node-id13└── node-info.pub.ab6e0b15837de7e5261777cb65665b318cf3f94492dde27c1ea13830e989bbf9.json14153 directories, 4 files