Reducing empty blocks in Hyperledger Besu with emptyblockperiodseconds: when teams need it
A permissioned Besu operator running a quiet network often sees the same pattern: the QBFT validators keep sealing blocks that carry no transactions, the chain grows every block period, and the storage footprint on every validator and node climbs with it. emptyblockperiodseconds is the setting built for this case. It sets the minimum time between empty blocks, so the network stops writing empty blocks at the block period rate while it is idle. Its default of 0 disables the behavior, so a network that has never set it will keep producing empty blocks as fast as its block period allows.
The setting does not slow down real activity. When transactions are pending, Besu still produces blocks at the normal pace, so users who submit transactions see the same confirmation timing as before. The trade-off is in the other direction: a network with the setting enabled will only be as light as its idle periods are long, and an operator who expects steady light traffic may see less storage saved than they hoped. Before choosing a value, measure how many blocks in a typical day are empty today, and ask your team to confirm how many transactions arrive in bursts, since bursts decide how much of the ledger growth is actually avoidable.
Because the setting lives in the genesis file, it is a network-wide decision, not a per-node tuning knob. Every validator must agree on it, and changing it on a running network needs a planned change, not an edit to one node's configuration. Confirm the exact behavior, the value range and how it interacts with your block period against the Besu QBFT documentation for the release you run, and decide before go-live whether storage growth is a problem you need to solve at all.
Which empty block settings fit which network
This table compares the default disabled setting, a nonzero emptyblockperiodseconds on a quiet network, and a steady-traffic network where the setting matters little. Read each row against the Besu release you run, since the option name changed in 26.8.0 and the old genesis key was removed in 26.8.1. The main takeaway is that the setting only spaces out empty blocks, so it helps quiet networks and does not change how fast transactions are included.
| Setting or network | What it does | When it fits | What to confirm |
|---|---|---|---|
| Default (0, disabled) | Empty blocks are produced on every block period, so the chain keeps growing while idle | Networks where a steady block cadence matters more than ledger size, or traffic is constant | Confirm the default still applies in your release notes before relying on it |
| emptyblockperiodseconds set above 0 on a quiet network | Sets the minimum time between empty blocks; blocks with pending transactions are still produced quickly | Private networks with long idle periods where ledger growth is the main concern | Agree the interval with all validators and check the QBFT docs for current behavior |
| Steady-traffic network | Little effect, because most block periods already contain transactions | Busy settlement or tokenization networks with frequent transfers | Measure how many blocks are empty before deciding the setting is worth changing |
| xemptyblockperiodseconds (experimental, pre-26.8.0) | Earlier BFT option under the experimental key, with the same goal of spacing empty blocks | Only for nodes still on releases before 26.8.0, where the new name is not yet available | Check your running version and plan the rename during your next upgrade |
| emptyblockperiodseconds (26.8.0 and later) | Stable name for the same setting, moved out of experimental | Any network upgraded to 26.8.0 or later, including new genesis files | Confirm the key name in your genesis or config matches your Besu version |
| Old genesis key (removed in 26.8.1) | No longer read by the client after removal, so it has no effect on block production | Not applicable on 26.8.1 and later; remove it from genesis files | Search all genesis and config files across validators for the old key before upgrading |
How to enable emptyblockperiodseconds on a Besu QBFT network
This sequence takes a running or planned QBFT network from default empty block production to a configured minimum spacing for empty blocks, with checks that confirm the setting is active and the chain grows at the expected rate. It is written for teams that own the genesis file and validator restarts.
Confirm the Besu version supports the option
The platform or network engineer checks that every validator and node runs Besu 26.8.0 or later, since that release moved the option out of experimental and renamed it to emptyblockperiodseconds. Run the client version command on each host and record the results in the change ticket. Any node on an earlier release must be upgraded before the change, because it will not recognize the new key. The step is complete when every node reports 26.8.0 or a later release in your upgrade plan, and you have confirmed the release notes for any follow-up patch that affects this key.
Check the genesis key names in use
Open the genesis file on each validator and list the consensus options under the QBFT section. Confirm whether the chain uses the older experimental key name or the current emptyblockperiodseconds name, and whether any leftover genesis key from the old naming remains. Release 26.8.1 removed the old genesis key, so a file that still depends on it can fail to start on newer builds. Compare the file hashes across all validators so that no node is working from a different copy. The step is complete when you have a written record of the current key names and an agreed target file.
Choose a value from the QBFT documentation
The network owner selects the minimum interval between empty blocks, using the QBFT configuration documentation as the reference for how the option interacts with block time. Setting it to 0 keeps the default behavior, so a non-zero value is required to see any effect. Weigh how quickly the business needs to see blocks against how much ledger growth you want to avoid on a quiet network. Record the chosen value, the block period in use, and the reason for the choice. The step is complete when the value is approved by the people who own the chain and the rationale is recorded alongside the genesis change.
Plan the genesis change as a network change
Treat the edit as a coordinated change to the whole validator set rather than a single-node update. Write the rollout order, the restart window for each validator, the rollback path that uses a backup taken before any change, and the named person who approves each restart. Confirm with the QBFT documentation and the Besu release notes whether the change applied to an existing chain requires a specific transition or restart sequence in your situation, and do not assume a fresh-network procedure applies. The step is complete when the plan is signed off and every validator operator has the same genesis file and the same restart instructions.
Restart validators with the matching genesis
Stop the validators in the agreed order, replace the genesis file with the approved version, and start each node again while watching its logs for startup errors. Keep enough validators online throughout the window so the network can continue producing blocks, and track the rounds so no node falls out of step. If a node reports a block header disagreement, stop and compare its genesis with the others before continuing. The step is complete when all validators are running the same genesis and each one reports that it has joined the network without errors.
Verify spacing with block timestamps
Query recent blocks and compare the timestamps of consecutive empty blocks against the configured value. Confirm that empty blocks are no closer together than the minimum interval, and that a block is still produced promptly when a test transaction is submitted. Record the results for a period that covers both quiet and active conditions. If empty blocks are still produced at the old cadence, check that the setting reached every validator and that no node is running the old file. The step is complete when the timestamps match the expected pattern under both quiet and active load.
Confirm chain growth and keep the record
Measure block height and stored data over a period you agree in advance and compare the growth with the baseline you captured before the change. Confirm that no validator has been removed from the set and that all nodes remain in sync with the head of the chain. Store the genesis file, the approved value, the verification results and the rollback procedure in your change system so auditors and future operators can trace the setting. The step is complete when the growth figures and sync checks are recorded and the owners of the network have accepted the result.
Security and operations risks when slowing empty blocks
Raising the empty block interval changes how the chain behaves at rest, which affects every operator on the network. The cards below cover the coordination, upgrade and monitoring risks that appear once emptyblockperiodseconds is set, and the checks to run before a change reaches production.
Coordinate genesis changes across members
Setting emptyblockperiodseconds is a genesis-level change in the QBFT options, so every validator and node operator must apply the same value at the same agreed point. Confirm who signs off the change, who holds the current genesis file, and how the new file is distributed. Ask whether the consortium's change process covers a rollback if one member cannot restart on the new genesis.
QBFT docsAvoid mismatched genesis files
A node started with a genesis file that disagrees with the chain can reject blocks, which surfaces as an invalid block header error. Diff every genesis file against the agreed copy before restart, including the QBFT options block. Store a checksum of the approved file in your change record so that a silent copy error is caught before a validator rejoins the network.
Back up before upgrading Bonsai
The Besu 26.10.0 release notes state that the Bonsai database upgrades automatically on first start, and older Besu versions cannot open the upgraded database. Take a backup of each node's data directory before the binary changes, and confirm that you can restore it on the previous release. Treat this step as a gate in any release that accompanies the genesis change.
Besu releasesPin the release that carries the rename
The option was renamed in Besu 26.8.0, and the old genesis key was removed in a later 26.8.1 release. Nodes on mixed versions may read the QBFT options differently, so pin the same Besu release on every node before the change window opens. Check the release notes for each version between your current build and the target, not only the final one.
Separate quiet periods from stalls
A longer empty block interval means the chain can look idle for longer without any fault. Alert on missed proposals and signer metrics over a block range rather than on the age of the last block alone. Test the alert thresholds on the network before go-live, so that operators do not restart healthy validators during a quiet period.
Test the change on a staging network
Apply the new genesis and binary to a copy of the network that matches production validator count and node roles. Confirm that transactions submitted during a quiet period are still sealed promptly, and that empty blocks appear at the configured spacing. Record the results and the restore test in the change record before scheduling production.
Handling the option rename when upgrading to 26.8.0 or later
Besu 26.8.0 moved the BFT option from the experimental xemptyblockperiodseconds name to emptyblockperiodseconds, and the 26.8.1 release removed the old genesis key. A node or genesis file that still uses the old name can therefore stop behaving as you expect after the upgrade, so the rename is an upgrade task, not a cosmetic change. Before you move any node past 26.8.0, search every genesis file, node start command, container image definition, Helm value, Ansible variable and CI job for xemptyblockperiodseconds and confirm which copy of the setting each environment reads. Check the release notes for the exact behavior of 26.8.1 before you pick the target version, since that release is where the old key stops being accepted.
Treat the audit as a list of changes to make together, not a single find and replace. Genesis files are the highest risk because all validators on a network need to agree on the same chain configuration, so a single node running a different genesis can fail to join or diverge. Update the genesis key in one reviewed change, roll it out with the rest of the upgrade plan, and confirm that the value you intend to use is the one the node reports when it starts. Also check monitoring dashboards and alert rules that refer to the old flag or to block timing, because a changed setting can shift the empty block pattern you have been watching.
Rehearse the upgrade on a copy of the chain before you touch production. A copy shows whether the new key is read, whether blocks still arrive quickly when transactions are pending, and whether the database upgrade completes. The Besu 26.10.0 release notes state that the Bonsai database upgrades automatically on first start and that older versions cannot open an upgraded database. Take a backup of each node's data before the upgrade, because restoring an older version later depends on that backup. Confirm the backup and restore procedure with your own tests rather than assuming it works, and review the Besu releases page for any further notes on the versions you plan to run.
Limits to confirm in your own network
The emptyblockperiodseconds key changes when your chain produces blocks, so its effects reach past the consensus layer into rewards, dashboards and downstream tools. Confirm each of the points below against the QBFT documentation, the release notes for your Besu version and a test network that matches your validator count and block time.
Safe value for your block time
The key sets the minimum time between empty blocks, so it must be read alongside your blockperiodseconds and your round timeouts. Ask whether a chosen value leaves enough headroom for your validator count, and whether a long gap between empty blocks could be mistaken for a stalled network by your operators. Test the value on a network built with the same validator count and block time before it reaches a shared chain.
Block rewards and empty blocks
If your genesis pays a block reward, fewer blocks mean fewer reward payouts, and the effect on any beneficiary account should be modeled before go-live. Confirm whether your finance or operations team expects reward totals per period to stay constant. Record the decision in your network design documents so later changes to rewards are not mixed up with changes to empty-block spacing.
Indexers and explorers
Some indexers, explorers and reporting jobs assume one block per fixed period and may raise alerts or fall behind when the gap widens. List every downstream consumer of block data and test how each handles a long run of missing empty blocks. Pay attention to scripts that compute throughput, lag or block age from block numbers and timestamps.
Monitoring and alert thresholds
Alerts that treat a slow block as a fault will fire on a healthy quiet network once spacing is applied. Review the block-height and block-age rules you run on Prometheus dashboards and separate them so that a quiet chain and a halted chain are not reported the same way. Confirm the threshold with a test window before you rely on it for on-call paging.
Besu version and key availability
The option was renamed in a recent release, so the key name in your genesis or configuration depends on the Besu version you run. Check the Besu release notes for the version you deploy, and confirm that older nodes in your network will read the key you choose. Plan the upgrade order so that all validators and nodes agree on the setting before the change takes effect.
Besu releasesQuestions teams ask before changing empty block behavior
Does setting emptyblockperiodseconds stop Besu from producing blocks when nothing is pending?
No. The option sets the minimum time between empty blocks, so the network keeps producing blocks, just less often while there is nothing to process. Besu still produces blocks quickly when transactions are pending. The default of 0 disables the setting, so every network that has not configured it keeps the existing behavior. Confirm the exact behavior on your release in the QBFT documentation before you rely on it in production.
What changes in storage growth on a quiet private network?
Storage growth is driven by the number of blocks each node stores. Spacing out empty blocks reduces how many block headers and bodies accumulate during quiet periods, which slows ledger growth. The saving depends on how idle your network is and on the interval you choose, so measure current block production over a representative period before setting a value. Also confirm how your node storage, pruning and backup jobs react to fewer blocks, since sizing assumptions often came from the old pattern.
What happens to pending transactions after the change?
Pending transactions are not held back by the setting. When transactions are waiting, the network is meant to keep producing blocks quickly, so transactions should not wait for the empty block interval. Test this with your own transaction pattern, including bursts after quiet periods, and check the time from submission to inclusion in your logs. Do not assume the timing from a lab test matches a production network with many validators and wider latency.
Is the option name the same in every Besu release?
No. Besu 26.8.0 took the BFT option xemptyblockperiodseconds out of experimental and renamed it emptyblockperiodseconds. A later 26.8.1 release removed the old genesis key, so a genesis file that still uses the old name will not work on those versions. Check the release notes for the version you run, update every node's genesis and configuration together, and confirm that all validators agree on the setting before restarting.
Can our internal team make this change without outside help?
Often yes, if you already run Besu and have a change process for genesis and validator configuration. The setting itself is small. The work that takes time is coordinating every validator and node on the same value, testing transaction inclusion, and updating monitoring and backup assumptions. If your team has not run a coordinated QBFT change before, a short review of the plan and test results by someone experienced can reduce rework. DeployOpen can plan and carry out this work under a written scope if you prefer that model.
What drives the cost of changing empty block behavior?
Most of the cost is coordination and testing rather than editing a file. You pay for the time to agree a target interval with the consortium, to change genesis and node configuration on every validator in a controlled window, and to verify that blocks and pending transactions behave as expected. Costs rise with the number of organizations, the number of validators and nodes, the change process you must follow, and how many test cycles are needed. The change is typically one-time, while any monitoring you add for block production may recur. Ask any provider for a quote that lists these items separately.
What does the work need from our side before it starts?
You need a clear owner for the network, access to every validator and node configuration, the current genesis file and release version, and a test environment that matches production consensus settings as closely as possible. You also need agreement from the other organizations that run validators, because the value must match across the network. Prepare a rollback plan that includes a database backup taken before any upgrade, since newer Besu versions can upgrade the Bonsai database on first start and older versions cannot open it.
Which empty block key a network should set, and in what order
The diagram starts with checking the Besu version, since release 26.8.0 renamed the option to emptyblockperiodseconds and earlier releases still use the experimental xemptyblockperiodseconds key. The next decision is whether the network is quiet enough to benefit, because the setting only spaces out empty blocks and leaves blocks fast while transactions are pending. The path then moves to setting the value in genesis across every validator, and ends with checking that block production behaves as expected and watching growth in monitoring. Check the version first, since the key name depends on it.
Decision path for choosing and verifying the empty block setting.
How DeployOpen scopes Besu validator and block production changes
DeployOpen treats a change to empty block spacing as a controlled change to a live QBFT network, not a single config edit. We confirm which Besu release your nodes run, agree the target interval in writing, and test the change on a copy of your network before any validator restarts.
How we scope
- Written scope names the Besu release, the validator and non-validator nodes, and the target emptyblockperiodseconds value.
- We confirm whether your network is on a release where the option is named emptyblockperiodseconds, or still uses the earlier experimental name.
- Fixed-scope engagements list which genesis and node configuration files change, and which ones stay untouched.
How we build
- We set the interval in each validator configuration and check that all validators agree on it before rollout.
- We test that pending transactions still produce blocks at the normal block time while empty blocks are spaced out.
- We record the before and after block production and ledger growth on a test network so you can compare them.
How we hand over
- You receive the change record, the tested configuration files, and the validation steps used to confirm the new spacing.
- The runbook explains how to roll back to the previous configuration if validators disagree or block output looks wrong.
- Your operators walk through the verification steps with us so they can repeat them after future Besu upgrades.
How we support
- Ongoing support and upgrade planning are available as a retainer, including review of each new Besu release before you adopt it.
- Retainers can cover periodic checks that empty block spacing still matches your agreed setting after configuration drift.
- Confirm with DeployOpen what support window, response terms and release coverage a retainer includes before you sign.

