Updated on March 1, 2020
Configuring validators in a production network
As when configuring bootnodes:
- Create the node key pair (that is, the private and public key) before starting the validator.
When creating validators in the cloud (for example, AWS or Azure), attempt to assign static IP addresses to them. If your network is:
- Publicly accessible, assign an elastic IP address.
- Internal only, specify a private IP address when you create the instance and record this IP address.
We recommend storing validator configuration under source control.
Number of validators required
Ensure you confingure enough validators to allow for redundancy. IBFT 2.0 tolerates
f = (n-1)/3
faulty validators, where:
fis the number of faulty validators
nis the number of validators.
Adding and removing validators
Validators as bootnodes
Validators can also be bootnodes. Other than the usual configuration for bootnodes, you do not need to specify any extra configuration when a validator is also a bootnode.
If you remove a validator that is also a bootnode, ensure there are enough remaining bootnodes on the network.