Changing block time on a running Hyperledger Besu QBFT network

A planning and execution guide for moving a live Besu QBFT network to a new block period through a transition, confirming the change from logs, and resolving invalid block header errors on new nodes.

On this page

When changing block time on a running Besu network is worth the risk

Changing block time on a running QBFT network is worth the risk when the current blockperiodseconds no longer matches the workload and the gap costs you something measurable, such as transactions waiting too long to confirm or blocks arriving so fast that the chain grows faster than your storage plan. If the network works within its service expectations, leaving the setting alone is the lower-risk choice. The change itself is a planned, coordinated operation, not a configuration tweak, and it should be justified against a documented problem before anyone schedules it.

In QBFT, blockperiodseconds sets the minimum interval the validators target between blocks. Every validator must agree on the value that applies from a given block onward, because validators reject proposals that do not follow the rules they hold. That is why Besu handles the change as a transition: a new block period takes effect at a defined block height rather than through a restart-only edit to one node's configuration. A node that is restarted with a different value before the others have transitioned can fall out of step with the chain. Confirm the exact transition mechanics against the Besu QBFT documentation for your release, since the procedure depends on how your network was built.

The Besu QBFT documentation covers this change, and DeployOpen plans and executes it inside your own infrastructure, including the validator inventory, the transition block, the rollout order and the verification afterward. Before you decide, ask three questions: which validators and bootnodes need to change together, how much downtime or reduced throughput the transition window can tolerate, and how you will prove the new value is active on every node. Plan a rollback path as well. Confirm the Besu release you run and any database upgrade it triggers, since a rollback on some releases needs a backup taken before the change.

A block time change moves through five phases before the new interval is confirmed

The change starts with confirming the current blockperiodseconds on every validator, then preparing a transition file that activates at a future block. Operators coordinate a maintenance window so all validators switch at the agreed point, update configuration and restart each one, and then read block intervals from the logs. A new node joining later must use a genesis that matches the chain, or it will reject blocks with an invalid block header error.

Phases of a QBFT block time transition, from planning to verification and new node onboarding.

How to change blockperiodseconds on a running QBFT network

This sequence moves a live QBFT network to a new blockperiodseconds value without rebuilding the chain. Each validator operator backs up data and keys, agrees the activation point, loads the same transition, and confirms the change on the chain before relying on the new block period.

  1. Confirm the Besu version supports the transition

    Before any file changes, each validator operator records the exact Besu version it runs and confirms that version supports the transition type the network plans to use. Check this against the Besu releases page and the release notes for that version. Note any RPC and monitoring nodes too, since they must follow the same chain. Done when every operator has recorded a version and the release notes confirm support for it.

  2. Back up node data and keys

    Each operator takes a backup of node data and the node private key file before any configuration change. Besu documentation states the node private key file is not encrypted, so the backup needs the same access controls as the live key. Keep this change separate from any Besu version upgrade, because the 26.10.0 release notes say the Bonsai database auto-upgrades on first start and older versions cannot open it. Done when each operator confirms the backup is complete and stored under their key controls.

  3. Agree the new value and activation block

    All validator operators agree in writing on the new blockperiodseconds value, the activation block number and the transition content that carries them. Every validator must load identical values before the activation block is reached, so the agreed block should leave enough time for each operator to complete its restart. Ask each operator to confirm the current chain head and the restart window they can meet. Done when every operator signs off the same values in the change record.

  4. Prepare and distribute the transition configuration

    The network lead writes the transition configuration with the agreed values and checks the QBFT options and key names against the Besu private networks documentation for the version in use. Generate a checksum for the file, send the same file to every operator through a channel your change process controls, and have each operator verify the checksum on receipt. Confirm the file is the same one the operators will load, not an earlier draft. Done when every validator holds an identical copy with a matching checksum.

  5. Restart validators in the agreed order

    Operators restart validators one at a time, in the order agreed earlier, with the transition configuration loaded at startup and the activation block still ahead of the chain. Keep enough validators online throughout so the network continues producing blocks, and wait for each restarted node to reconnect to its peers and follow the chain head before moving to the next. Done when each restarted validator reports that it is peering and following the chain.

  6. Confirm each node loaded the transition

    Check the startup logs of each validator for entries showing the transition was read and the new block period is scheduled. Confirm the exact log wording against the documentation for the version in use, because message text can change between releases. Repeat the check on RPC nodes that follow the chain. If a node reports an invalid block header, stop and compare its genesis and transition files with the network's before restarting it. Done when every node shows the transition loaded and none reports an invalid block header.

  7. Verify chain head and block period after activation

    After the activation block passes, compare the chain head reported by every validator and RPC node. All should report the same block at the same height. Then measure the time between recent block timestamps to confirm the new blockperiodseconds is in effect. Store the logs, chain head results and block timestamps in the change record. Done when all nodes report the same chain head and recent block intervals match the agreed value.

Verifying the new block period from Besu logs

The check that matters most is whether every validator switched to the new block period at the same activation block. Once the transition is in place, each validator should be importing and producing blocks on the new interval from that height onward. Start by choosing the activation block number you set in the transition configuration, then watch the validator logs as the chain approaches it. Log lines that report imported or produced blocks include block numbers and timing information, and the exact field names vary between Besu releases, so confirm them against the log output of the version you run before you write any alerting or parsing rules around them. Collect logs from all validators over the same window so you can compare them side by side instead of relying on one node.

Consistent timestamps look like a steady gap between consecutive blocks that matches the configured blockperiodseconds value on every validator, with blocks before the activation height spaced at the old interval and blocks after it spaced at the new one. Pair the log review with RPC queries: fetch the block at the activation height and a series of blocks after it with eth_getBlockByNumber, then compute the difference between their timestamp fields. If the timestamps on the RPC node match the intervals reported in logs, the chain is consistent. A validator whose logs show the old interval after the activation height, or whose block hashes differ from the rest of the set at the same height, signals a configuration mismatch, a node that did not restart, or a genesis disagreement. Treat that as a stop condition and investigate before the change is considered complete.

Fixing the invalid block header error when a new node's genesis disagrees

The invalid block header error usually means a node is following rules that differ from the rules the running chain already uses. Each card below covers one common source of that mismatch during a block time change, with the symptom to look for and the corrective step.

Genesis file drift

A node was started from a genesis file that no longer matches the one the network launched with, often because someone edited blockperiodseconds or another field directly in the file. The node rejects blocks from peers because its header validation disagrees with the chain. Compare the genesis file on every node byte for byte against the copy your change record approved, and restore the original file before changing anything else. Keep one signed master copy and distribute it from that source only.

Transition file not applied

The new block period was written into a transition file, but one or more nodes were restarted without that file being loaded. Those nodes keep the old block period and reject headers produced under the new schedule, so the error appears only on some nodes. Confirm each node's startup command or configuration includes the transition file, then check its logs for the transition being read at startup before it rejoins the network.

Wrong activation block

A transition is tied to a block number, and an activation block chosen too early or too late means nodes switch rules at different heights. A node that switches before its peers, or after blocks have already been produced under the new rule, will disagree about the header of the next block. Agree on the activation block number with all operators, confirm it is still in the future when nodes are restarted, and verify it against the chain height at the time of the change.

Mixed Besu versions

Nodes running different Besu releases can interpret consensus and genesis options differently, especially around transitions and block period handling. A node on an older build may also fail to read configuration that a newer build accepts. Standardize the release across validators before the change, record the exact version each operator runs, and review the release notes for the versions in use before scheduling the window.

Stale data directory from an earlier chain

A node that keeps the data directory from a previous network or a discarded test chain will carry blocks and state that do not belong to the current chain. Its stored genesis hash will not match the network, so the node cannot validate new headers correctly. Stop the node, confirm which chain its data directory belongs to, and resync from the current network rather than editing its database. Keep a backup of the old data directory until the new node is verified.

Copied configuration from another network

A configuration template copied from another consortium or test environment can carry a different chain ID, bootnode list, or transition setting. The node then follows a chain that is not the one your validators produce, and the invalid block header error is the first visible sign. Diff the node's configuration against the approved template, remove values that belong to other networks, and confirm the chain ID and bootnodes match the running network before the node is started again.

Which configuration choices fit each block time change

This table compares four ways to change blockperiodseconds on a running QBFT network, plus the option of pairing the change with round change timeout tuning. Read each row for when the option fits, what operators must do, and the main risk before choosing a path with your team and your Besu version.

OptionWhen it fitsWhat operators must doMain risk
Keep the current block periodBlock time already meets application needs and the team has no measured reason to change itConfirm the current value in genesis and in node configuration, and record it in the change logMissed business or throughput targets stay unresolved and the issue returns later
Change through a transition at a future blockThe network is live, all validators are reachable, and the change must apply without a new chainPrepare the transition file, coordinate a shared activation block across validators, and restart nodes in stepValidators with a different transition file or a late restart fork or stall at the activation point
Rebuild the chain from a new genesisThe network is still in pilot, or the change cannot be applied through a transition in your versionMigrate or replay application data, redeploy all nodes, and reissue keys and addresses where neededLoss of ledger history, broken integrations and contracts, and a larger coordination effort across members
Pair the change with round change timeout tuningShorter or longer blocks change how quickly validators move past a stalled roundReview round change behavior in TRACE logs before and after the change and adjust timeouts in the same windowTimeouts tuned without log evidence can cause extra round changes or slower recovery from failed proposers
Narrow the block time change to one validator group firstMembers want a staged rollout and can test on a non-production network with the same genesis rulesRun the change on a test network with the same Besu version, then repeat the procedure on productionTest results may not match production validator count, latency or load

Security and operational risks during a block time change

A block time change restarts validators and touches live configuration, so the risks cluster around key handling, access paths and recovery. Each card below names one risk, what it affects on a running QBFT network and what to check before the change window opens.

Protect validator keys during restarts

The node private key file is not encrypted by default. Every validator restart reads that file from disk, so copies of the file on build servers, shared volumes or laptops widen the exposure. Confirm who can read the key path, where backups of the key are stored and whether your deployment needs a security module such as the Besu HSM plugin, enabled with the --security-module option, before you restart any validator for the change.

Besu node keys docs

Authenticate JSON-RPC access

Validators and RPC nodes you use to submit checks or read the chain should not accept anonymous calls on the interface you restart. Besu supports a username and password credentials file or JWTs validated against a public key. Choose one method, confirm the credentials file permissions and make sure operators, scripts and monitoring use the same approach before the new configuration takes effect.

Authenticate JSON-RPC docs

Terminate HTTPS outside Besu

Besu does not terminate HTTPS natively, so RPC traffic that crosses a network segment is plaintext unless a reverse proxy, load balancer or service mesh handles TLS in front of it. Before the change, confirm which endpoints are reachable from which networks, how certificates are issued and renewed, and that the proxy forwards the authentication headers Besu expects.

Keep metrics ports private

Besu can expose metrics for Prometheus when --metrics-enabled is set, on a default endpoint port of 9545. Restarting validators with new settings can change which interface that port binds to. Check that the metrics endpoint is limited to your monitoring network, that no load balancer or firewall rule publishes it, and that alerts on signer behavior still fire after the restart.

Back up before the change

The Bonsai database upgrades automatically on first start, and older Besu versions cannot open an upgraded database. If a block time change is combined with a client upgrade, rollback needs a backup taken before the upgrade. Take a consistent copy of each node's data directory and key files, record the Besu version and genesis file in use, and test that a node can restore from that copy.

Agree change control across members

Every consortium member that runs a validator must apply the same blockperiodseconds value through the same transition, or nodes will disagree on block timing and the network may stall. Agree the target value, the activation block, the change window, who approves the genesis and transition files, and who calls each member during the rollout. Record each member's acknowledgment before the window opens.

Questions teams ask before changing block time on a live Besu network

How much effort does changing block time on a live Besu network take?

Effort depends mostly on how many validators and organizations must act, how change control works in your environment, and how much testing you do before production. Each validator needs a coordinated stop, genesis update and restart under the transition sequence, so the work scales with the validator count and the number of parties who must sign off. Teams with a rehearsed runbook and a staging network that mirrors production usually spend far less time on the live change than on preparation. Ask any partner for a quote built from a written list of validators, organizations, environments, change approvals and test cycles, not a single flat figure.

Can you change block time without restarting the validators?

No. Changing blockperiodseconds through a QBFT transition means each validator must be stopped, given the updated genesis configuration and started again, so validators do restart. The point to plan for is coordination: every validator needs to move to the new configuration at the agreed block so the network keeps producing blocks. Confirm the exact transition steps against the Besu documentation for your release before you schedule anything, and rehearse them on a non-production network first.

Can our internal team change block time alone, and what skills do they need?

An internal team can do it if it has working knowledge of QBFT, Besu configuration and genesis files, and direct administrative access to every validator and to the nodes that serve RPC. The team also needs someone who can read Besu logs to confirm that validators agree on the new block period after the change. Consortium networks add a governance requirement: every member organization must approve the change and have its operators available during the window. If any of these pieces is missing, a partner can cover the gap, but the decision on who holds the keys and approves the change stays with your organization.

How long does the change window need to be?

The window depends on how quickly all validator operators can coordinate, how many organizations must confirm, and how long your rehearsal and rollback checks take. Because those inputs differ from one network to another, no fixed duration applies. Build the window in the written change plan after you agree the validator list, the approval path and the verification steps, and confirm it with every operator involved before the date is set.

What should a quote for this work include?

A useful quote lists the scope in writing: the validators and organizations in scope, the Besu version running on each node, the target block period, and the environments covered, such as a staging network and production. It should name the deliverables, including the change runbook, rollback steps, the transition genesis file, the verification checks from logs and the post-change report. It should also state what is included in testing, what happens if the window slips, what access the partner needs and what support, if any, continues after the change. Ask which items are one-time work and which recur under a retainer.

What should we do if a new node will not sync after the block time change?

Start by checking whether the new node's genesis file matches the genesis the rest of the chain is using, including any transition entries for the block period change. The invalid block header error usually means the node's genesis disagrees with the chain's history, so compare the files byte for byte and confirm the transition block number. Do not restart nodes repeatedly without checking, because that can hide the cause in logs. If the genesis is correct, review the node's Besu version against the network's release requirements and confirm that it is peered with validators running the new configuration.

Do we need to test the change before applying it to production?

Yes. Testing on a separate network that matches your production validator count, Besu version and genesis structure lets you confirm the transition, the new block period and the log messages your team will use to verify the change. Testing also shows whether your monitoring and alerts react as expected when validators restart. Record the results so your change board can see what was tested and what was not.

How DeployOpen scopes and delivers a Besu block time change

DeployOpen approaches a block time change as a planned, written change to a running network, not a one-line config edit. The work covers the transition schedule, the node restarts, the verification from logs and the rollback path, all agreed with the operators who run each validator.

How we scope

  • Engagements are fixed-scope, with the block time change, affected nodes and deliverables agreed in writing before work starts.
  • The scope records the current blockperiodseconds, the target value and the block height at which the transition takes effect.
  • We confirm which validators, bootnodes and RPC nodes hold the genesis file and must be updated together.

How we build

  • We prepare the genesis transition entry and test it on a copy of your network before any production validator is touched.
  • We sequence validator restarts so the network keeps quorum throughout, and document each step in a runbook.
  • We check the Besu version in use against the release notes, including whether a database upgrade is involved and a backup is needed first.

How we hand over

  • Handover includes the change record, the exact transition block, and the log lines and block timestamps used to confirm the new interval.
  • Your operators receive a rollback procedure, including the backup taken before the change and the node state each step leaves behind.
  • We document TRACE log checks for round changes so your team can repeat the verification on future changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for networks that change often.
  • A retainer can cover the next Besu release upgrade, so block time settings are rechecked against each new version.
  • Ask any partner to confirm response arrangements, change windows and who holds signing authority before work begins.

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.