Add and remove validators without voting
How to add or remove validators without voting
- In most cases, add or remove validators
[by voting or smart contract for QBFT](qbft.md#add-and-remove-validators).
Use transitions only when voting isn't possible.
Using transitions requires coordinating a rolling update of all the nodes in order to pick up the configuration at
the correct block height.
Using transitions also leaves the validator overrides permanently in your genesis configuration.
=== "QBFT syntax" ```bash { "config": { ... "qbft": { "blockperiodseconds": 2, "epochlength": 30000, "requesttimeoutseconds": 4 }, "transitions": { "qbft": [ { "block": <BlockNumber>, "validators": [ <ValidatorAddressX>, ... <ValidatorAddressZ> ] } ] } }, ... } ``` === "QBFT example" ```bash { "config": { ... "qbft": { "blockperiodseconds": 2, "epochlength": 30000, "requesttimeoutseconds": 4 }, "transitions": { "qbft": [ { "block": 25, "validators": [ "0x372a70ace72b02cc7f1757183f98c620254f9c8d", "0x9811ebc35d7b06b3fa8dc5809a1f9c52751e1deb" ] } ] } }, ... } ```
Override smart contract validators
Last updated