Adding and removing Hyperledger Besu QBFT validators by voting

How to add or remove a Hyperledger Besu QBFT validator by block header voting, who must vote, how votes confirm, and when to discard votes or reset epochs.

On this page

Adding and removing Hyperledger Besu QBFT validators by voting

Block header voting is how a QBFT network that uses voting-based validator selection adds or removes validators on a live chain, without restarting the whole network. If your consortium is changing membership and each member runs validators, this is the mechanism that moves the validator set forward. According to the Besu private network documentation, validators propose changes through the block header, and existing validators vote on them, so the change lands as part of normal block production. Confirm the exact proposal and vote procedure, including the approval threshold and the JSON-RPC methods, against the Besu private networks documentation for the release you run, because these details change between versions.

Teams usually need this when an organization joins or leaves the consortium, when a validator operator is replaced, or when a validator set has to be rebalanced across members. Before any proposal, decide who has authority to vote, how the consortium records approvals outside the chain, and how a removal will be handled if the target validator is offline. Removing validators also reduces the number of nodes that can keep the network live, so confirm the remaining validator count still meets the fault tolerance you designed for. Plan a test on a non-production network with the same Besu version first.

Block header voting does not apply once validators are selected from a smart contract. In that case the validator list is managed in the contract, and voting through JSON-RPC no longer changes the set, so you should follow the contract-based process instead. Check which selection mode your genesis file and chain use before you start, because mixing the two methods creates an ambiguous validator set. Changing between the two modes is a separate transition with its own stop, genesis update and restart sequence, covered in the sibling topics on contract selection and switching modes.

How a validator vote moves from proposal to confirmed change

The change starts with a validator that nominates an address to add or remove, and the nomination rides in the header of a block that a validator produces. Other validators then vote in later block headers, and the change takes effect only after enough matching votes accumulate under the QBFT rules. Two paths can clear pending votes: a discard step, and an epoch reset. Check the majority threshold, the epoch length and the exact vote-clearing behavior against the Besu documentation for your release before you rely on them.

Validator vote path from proposal in a block header to a confirmed set change.

Who must vote and how a change reaches the chain

Voting only changes the validator set while the current validators can still agree on blocks. QBFT needs enough active validators to reach consensus on each block, so a proposal to add or remove a validator is only as good as the set that signs it. Before you schedule any vote, confirm the current validator count, which validators are online and signing, and how many of them must agree for a block to finalize. If that margin is thin, the network should be stabilized first, because a vote cannot pass through a chain that is already short of agreement.

Proposals travel inside block headers. Each validator that wants to change the set includes an add or drop proposal in the blocks it produces, and other validators tally those votes as blocks are sealed. Confirm in the Besu private network documentation for your exact release which accounts are eligible to vote, how many votes a proposal needs before it takes effect, and at which block the new set becomes active. Those rules are the basis for your change window and for the checks you run afterward, so write them down against the release you run, not against memory of an earlier version.

A validator that is down cannot vote, and its absence reduces the agreement available for every proposal. If you need to change the set while some validators are offline, treat that as a recovery problem and follow the recovery topic in this group before attempting a vote. Plan who will submit proposals, who will watch the block headers for the votes to appear, and who can halt the change if validators stop signing mid-process.

Voting options and when each one fits

This table compares the four choices an operator has when changing a QBFT validator set by voting: adding a validator, removing one, discarding pending votes and resetting an epoch. Read each row against the current state of the network before any vote is cast. The main takeaway is that only adding and removing change the active set, and both depend on a synced node and enough current validators agreeing.

OptionFits whenWhat it changesWhat must be true first
Add a validatorA new node is ready to produce and sign blocks for your consortiumProposes the new validator address, which joins the set once enough current validators vote for itThe node is fully synced, its validator key is registered and all members agree on its address
Remove a validatorA validator is being decommissioned, has left the consortium or is suspected of compromiseProposes removing an address from the set once enough current validators vote for removalThe remaining validators still meet the fault tolerance you need, and the removal is agreed by members
Discard pending votesA proposal no longer matches intent, such as a wrong address or a cancelled onboardingWithdraws your vote so the pending proposal stops counting; the active set does not changeYou know which validators have already voted and confirm the proposal is still pending
Reset an epochProposals have stalled over a long period and stale vote state needs clearingStarts a fresh epoch so accumulated vote state for the old epoch no longer appliesYou have confirmed the epoch length in your genesis and the reset method in the Besu documentation
Leave the set unchangedVotes are incomplete, the network is unstable or the change can waitNothing changes; current validators keep producing blocksThe current set is healthy and you have a dated plan for the change

How to propose, confirm and verify a validator change

This sequence takes a validator change from an agreed candidate to a verified, recorded change on the chain, so every operator can show that the new set took effect at the block the network agreed on. It turns a vote into evidence that the network is running the set you intended.

  1. Confirm the candidate node identity and key

    Before anyone votes, the operator proposing the change confirms with the candidate's owner which node public key and validator address will join the set. The owner supplies the address from the node's own key file or from a query on that node, and the proposer checks it against a second source, such as a signed message or a call made over a separate channel. Done means both organizations have written down the same address and the owner has confirmed the node is synced to the current chain head. Keys are not shared in plain text; only the public address moves between parties.

  2. Record the current validator list from several nodes

    Each operator queries the validator list from its own node, using the QBFT validator query method enabled in its Besu version, and records the result with the block number. The lists are compared across at least two independent nodes operated by different members. Done means every node returns the same set at the same block. Any mismatch stops the process, because a node that disagrees with the rest is a sign of a sync or configuration problem that must be resolved before a vote can be trusted.

  3. Submit the proposal through the node API

    The proposing operator submits the add or remove proposal through the QBFT proposal method on its node, naming the validator address and whether it is being added or removed. The proposal is held by that node and carried into the next blocks it produces or relays, so the proposer confirms the node is an active validator or has the required API access. Done means the node returns acknowledgment of the proposal and the proposer records the proposal details, including the time and block at which it was submitted. Confirm exact method names and any enablement flags in the Besu documentation for your version.

  4. Collect votes from the required validators

    Each validator operator sends its own vote through its own node using the same QBFT method, after checking the candidate address against the one confirmed in step one. Votes are cast independently so that no single organization can force a change. The coordinator tracks which validators have voted for the change, and the change takes effect only when the vote threshold defined by the consensus rules is met. Done means the coordinator's record shows the threshold reached and the votes are visible when the validators query their nodes. Votes that are not reached do not change the set, so a stalled vote is a normal outcome and should be discarded and documented.

  5. Verify the new set at the target block

    Once the vote passes and the block that carries the change is produced, each operator queries the validator list again and confirms that the expected set is active from that block onward. The operator also confirms that blocks continue to be produced and that the new validator signs blocks after it is added, using the signer metrics or block headers. Done means every node reports the same set at the same block number, and the network produces blocks without repeated round changes. If the new validator has not joined, check that its node is synced and running the same genesis and configuration.

  6. Record the change and retire the proposal

    The coordinator writes a change record that includes the proposal, each validator's vote, the block at which the new set took effect, the validator list before and after, and the names of the operators who verified the change. Any proposals that were not completed are marked as discarded with the reason, so later readers do not mistake them for active votes. Done means the record is stored with the network's operating documents and each member has a copy. Keep the record with your change management and audit trail, since it is the evidence reviewers will ask for when they test how validator membership is controlled.

Where validator voting goes wrong on live networks

Validator votes on a QBFT network are simple to cast but easy to misread. The failure patterns below share one root: the chain, the votes and the nodes disagree about the validator set, and nobody notices until a proposal stalls or a node falls out of sync. Each card names the symptom to look for and the check that confirms the cause.

Proposal never lands in a block

Votes are only applied when a validator proposes a block that carries them, so a proposal can sit open for a long time if validators are slow to vote or are not proposing blocks at all. Check the vote tally through the node's API and confirm that the validators you expect are producing blocks. Compare the proposal's vote count against the threshold for the current validator set size before assuming the proposal is wrong.

Besu private networks docs

Removal drops quorum

Removing a validator reduces the set that must agree on each block, and a removal can leave the network without enough live validators to reach quorum. The symptom is blocks stopping immediately after the change takes effect. Before proposing a removal, confirm how many validators will remain and how many of those are reachable and proposing blocks, not only how many are listed.

Stale votes from an old proposal

Votes cast for an earlier proposal can still be present in a node's pool and get re-applied after operators believe the change was withdrawn or completed. The symptom is a validator change that appears again without anyone submitting it. Check the pending votes on each node and discard any that belong to a proposal you no longer intend to apply, so that every node holds the same vote state.

Candidate node disagrees with the chain

A node that joins the validator set with a different node key, validator key or genesis file than the running chain cannot take part in consensus, even though it appears in the proposal. The symptom is a new validator that never signs or proposes blocks, often with invalid block header errors in its logs. Compare the genesis file hash and the validator address with the values the existing nodes report before the vote starts.

Besu node keys docs

Nodes on different releases

Validators running different Besu versions can apply the same vote differently, especially when a release changes how validator state or database formats behave. The symptom is nodes that disagree on the head block or the validator list after a change. Confirm that every validator, including the candidate, runs the same release before voting, and check the release notes for any change that affects QBFT.

Besu releases on GitHub

How RPC access for voting differs by environment

On a test network run by one organization, the node API that carries votes is usually reachable only from the operator's own workstations, scripts and build hosts. Authentication can start simple, but the same API still accepts the calls that propose and vote on validators, so restricting its bind address is still worth doing. Confirm the interface and firewall rules before anyone else gets a route to it.

  • Reachability: Confirm which hosts can open the JSON-RPC port, and keep it off public interfaces.
  • Credentials file: A username and password credentials file is the simplest option for a small group of operators.
  • JWT validation: Externally issued JWTs validated against a public key fit if the test environment already has an identity provider. The signing algorithm must match what that provider issues, so check the Besu authentication documentation before you choose.
  • HTTPS: Besu does not terminate HTTPS natively, so credentials sent across any network segment need a reverse proxy or tunnel in front of the API.
  • Credential rotation: Test how a credential or public key is replaced without restarting the whole network.

Check that the test setup matches the access rules you will later need in production, so the team does not learn new rules at go-live.

Security and operational controls around validator votes

A validator vote changes who can seal blocks, so the controls around it matter as much as the procedure itself. The cards below cover who can reach the voting API, how each validator's key is protected, what gets recorded, how participation is watched, and what the consortium agrees in writing before any vote is cast.

Limit who can submit votes

Voting runs through JSON-RPC methods on validator nodes, so any caller that reaches that API can propose or discard a change. Keep the RPC interface off public networks, put authentication in front of it, and allow only the operator accounts named in your change procedure. Check that the RPC port is not reachable from application networks or the internet, and confirm which authentication method your Besu version supports for your deployment.

Authentication docs

Authenticate API callers

Besu supports a username and password credentials file or JWTs validated against a public key. Besu does not terminate HTTPS itself, so the transport protection for voting calls must come from a reverse proxy or gateway you operate. Decide which identity each voting operator uses, keep credentials out of shell history and shared runbooks, and rotate them when an operator leaves the consortium.

Protect each validator's node key

The local node private key file is not encrypted by Besu. Anyone who copies that file can impersonate the validator, so restrict file permissions and backups for the key. Where your policy requires hardware-backed storage, ask whether a security module plugin such as the Besu HSM plugin fits your environment, and confirm how it is enabled with the security module option before relying on it.

Node keys docs

Keep an audit trail of proposals and votes

Record every proposal, vote and discard with the date, the operator, the target address and the block at which the change was made. Store these records outside the validator hosts so a compromised node cannot erase them. Compare the recorded votes against the block headers after each change, so the written trail matches what the chain actually contains.

Monitor validator participation

Export Besu metrics to Prometheus with the metrics-enabled option and alert on validators that stop proposing or signing. Watch the metrics endpoint before and after each vote so you can confirm the new validator set is producing blocks. Ask your team to confirm the metrics port is restricted to the monitoring network and that alerts reach a staffed rota.

Default metrics port
9545
Metrics docs

Agree the change procedure in writing

Before any vote, the consortium should sign a change procedure that names who may propose a change, who must vote, how objections are raised, and who approves the transition block. Include the rollback steps and the backup owner for each validator. A written agreement prevents a single member from changing the set unilaterally, and it gives auditors the evidence they ask for.

Questions teams ask before changing validators

What does a QBFT validator change cost and what drives the effort?

The cost is mostly the staff time to coordinate, test and execute the change, and it scales with the number of validators and organizations involved. Each validator operator must confirm the proposal, update node configuration and verify the result, so a larger validator set or more consortium members adds coordination work. Key handling adds effort when validator keys sit in hardware security modules or need controlled access. Test cycles add more, since a change should be rehearsed on a test network first. Ask any partner for a quote built from a written scope that lists validator count, organizations, key storage and the test environment. No fixed figure applies to every network.

How long does it take to add or remove a validator by voting?

The duration depends on how fast votes are collected and how quickly the consortium agrees on the change, and no fixed duration applies. A change needs enough validators to vote in favor before the proposal lands in block headers, so the timeline is set by people and governance more than by the software. Plan time for agreeing the proposal, collecting votes from every operator, confirming the change on the chain and verifying each node afterward. Teams that rehearse the steps on a test network usually have a clearer schedule. Confirm the expected window with each operator before you commit to a date.

What does my team need in place before a validator change?

Your team needs access to every validator operator, current change records and a test network that mirrors the production validator set. Confirm contact paths for each operator, including who can act during an outage. Keep records of the current validator addresses, the genesis file in use, node configuration and the planned vote sequence. Access to node logs and metrics helps verify that the new set is producing blocks. A rehearsal on a test network shows which steps need extra care before production. Before the change, also confirm that a backup exists, because some Besu upgrades and database changes cannot be reversed by older versions.

Can one operator change the validator set alone?

A single operator can usually make the change alone when the network is operated by one organization and the procedure is written down and rehearsed. The operator still needs control of enough validators to vote and must make sure the change does not reduce the validators below the level needed to keep producing blocks. In a consortium, one party cannot approve the change for the others, so each member must vote or agree through its own governance. Document each step, the expected block header results and the rollback path before you start. If the procedure is unclear, pair the operator with someone who has run a similar change.

When should we bring in outside help for validator changes?

Bring in outside help when the network is live and some validators are unresponsive, or when consortium governance for approving a change is unclear. Those situations raise the risk of a stalled network, and a mistake can be harder to reverse on a running chain. A partner can plan the sequence, check the current validator state, support the vote collection and verify each node afterward. Also consider help when many operators must coordinate across different organizations, or when keys sit in hardware security modules that need careful handling. Recovery work after losing quorum is a separate task, so agree on its scope early.

What goes wrong most often when voting on validators?

The most common problems are missing votes, mismatched node configuration and a proposal that never reaches enough validators to take effect. A validator that is offline or has the wrong settings may not vote or may reject the new block headers. Operators sometimes forget to update their own records after the change, which leads to confusion during the next incident. Check that every validator sees the same chain state after the change and that the new set is producing blocks. Keep a rollback plan and confirm who can act if the network stops producing blocks.

Do validator changes affect security or compliance evidence?

Yes, because the validator set decides who can produce blocks and each change alters the trust model of the network. Keep a dated record of who approved each change, which validators voted, the configuration used and the verification results. Those records help security and compliance teams review how the network changed over time. Access to validator keys should be limited and logged, and key storage choices should be reviewed before the change. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors issue any audit report or attestation.

How DeployOpen scopes and delivers validator change work

DeployOpen plans, implements and hands over validator set changes on self-hosted Hyperledger Besu networks in your own infrastructure. Each change starts from a written scope that covers the voting procedure, the validator nodes involved, the block header proposals and the verification evidence your teams need.

How we scope

  • Inventory every validator, its operator, host and key storage before any vote is proposed.
  • Agree in writing which validators must vote, the target validator count and the fault tolerance you need afterward.
  • Confirm the Besu release in use and check the release notes for any change to validator voting before work starts.

How we build

  • Prepare the proposal and voting runbook, including the order in which operators add or remove validators and confirm changes.
  • Test the procedure on a staging copy of the network so vote counts, block header selection and discarded votes are observed first.
  • Run the change in production with each validator operator present, checking blocks and signer activity after every step.

How we hand over

  • Deliver a written record of the change, including proposal dates, vote outcomes and the validator set at each block height.
  • Document the rollback path, including when a database backup taken before the change is needed for an older client version.
  • Walk your network, security and operations teams through the runbook and the monitoring signals used to confirm the change.

How we support

  • Support future validator changes under a retainer that covers review of each proposed vote before it is cast.
  • Keep the runbook current as Besu releases and your validator operators change over time.
  • Confirm with your team which support hours, response paths and upgrade windows apply before the retainer starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.