Proposal: Lower Zcash block target spacing from 25s to 20s

TL;DR: We propose a follow-on to ZIP 218 that lowers the block target spacing from 25s to 20s. We’d like this in the next poll and slated for inclusion in NU7.1. Unlike ZIP 218, this is a latency-only change. The only risk is orphan rates, however, the latest stress-net measurements of 20s blocks is better than the expected ones in the original Zebra @ 25s post in May. It already meets the pre-existing safety bar established for 25s on today’s node software.

Draft ZIP: Reduce Block Target Spacing from 25 to 20 Seconds

A big goal of being the “cash” in Zcash, is to improve its usability. We have just hit the great milestone of reducing blocktime from 75s to 25s in NU7! In the original proposal, this was never the final target, just the next step. Its time for the step after this, reducing to 20s!

This continues to improve end user UX and latency. The time to first confirmation improves, as does the time for back to back payments, onboarding and paying via near intents, etc.

We conveniently have the perfect opportunity for the next step on latency and scale:

  • Node teams have done the analysis and performance work required for this to achieve 25s
  • We are likely to have a very small, low risk upgrade coming up, NU7.1

Why

The motivation is the same as for ZIP 218: every transaction waits for block inclusion, even when blocks are nearly empty. This adds friction for point-of-sale payments, exchange deposits, and cross-chain swaps such as NEAR Intents, where market makers need at least one confirmation before acting.

As we said in the 25s thread, this is complementary to Crosslink. Faster base-layer blocks help users whether or not a finality gadget is also deployed.

Orphan Rates and Risk

Using our same methodology from before, we test this ZIP on an 80 miner network equally distributed across 12 regions across the world (including nyc1, sf1, singapore, london, australia, bangalore). Full 2MB blocks at 20s, at the worst case (maximum Ironwood load, then transparent afterwards) yield:

  • With a Zakura only network, 1.9% orphan rate
  • With a 50-50 Zakura/Zebra-Andele network: 3.3% orphan rate

For reference, the original post whose data was used to determine 25s was sufficiently safe had 4.68% orphan rates in the empirical experiment, and 3.26% in the theoretical model of what was going on. So thanks to the engineering advances, of which we can only expect more, we already meet the prior bar of readiness established for the 25s blocks.

Recall that we believe mainnet fairs far better than these numbers due to the geographic clustering of miners and mining pools. We are nowhere near as decentralized as sizable hashrate in Singapore/Australia/Bangalore, etc. And Ethereum-POW operated quite safely at the user level at a 5.4% orphan rate.

Precise proposal

  • Lower block target spacing from 25s to 20s.
  • Scale ZIP 218’s shielded action limits by 4/5 (all exact, no rounding):
    • Global shielded budget: 330 → 264
    • Orchard actions per block: 330 → 264
    • Ironwood actions per block: 330 → 264
    • Sapling inputs + outputs per block: 300 → 240
  • Keep the 2 MB block size limit.
  • Keep the same expected wall-clock values for:
    • Issuance per day (per-block subsidy is scaled by 4/5, halving interval 5,040,000 → 6,300,000 blocks)
    • The NSM reissuance rate (fraction 1375/10¹⁰ → 1100/10¹⁰ per block)
    • The difficulty averaging duration (window 102 → 128 blocks, ~2,550s → 2,560s)
    • Default transaction expiry (120 → 150 blocks)
    • Node defaults like MAX_REORG_LENGTH (scaled by 5/4)
  • Keep the recommended anchor depth at 3 blocks (75s → 60s).

Why not raise shielded throughput too?

ZIP 218 picked its action limits to bound worst-case wallet sync load: what an adversary can force every light wallet to download and trial-decrypt per day. If we kept those limits at 20s, that worst case would rise by 25%. Instead, we scale the limits with the block time so the daily maxima stay exactly the same. (up to a 76kb/day difference due to more block headers)

Throughput increases should come from work that actually reduces the per-action cost to wallets, such as PIR-based sync or out of band delivery, and wallet standards that know to only look for those. That comes with Tachyon, and at that time we can raise the action limits independently of block time.

Questions raised in the 25s thread

“Doesn’t a shorter block time reduce security per confirmation?” (@shielded-nate raised this for 25s.) It depends on the threat model. As @bitcoincashautist pointed out, security against a minority attacker grows exponentially with the number of confirmations, so a confirmation count only needs to grow slightly to stay as safe. Against an economic or majority attacker, what matters is the block reward built on top of the payment, which per unit of time is unchanged here. The ZIP doesn’t ask anyone to reduce their confirmation count. Services that set confirmation policy by wall-clock time, or by accumulated work, need no change at all.

“What about node hardware?” We don’t have a real hardware increase requirement here. Bandwidth under sandblasting has increased by 25%, but these are tiny numbers to stay synced - 100kb/s. The CPU requirements of running a node don’t increase, especially not relative to the rate of engineering progress in Zakura and Zebra-Andele.
|

Co-written with @evan-forbes

10 Likes

I’m generally in favor but I think it’s desirable to optimize as precisely as possible, given all the implied governance overhead. After all, we’re talking about a global financial network where every millisecond gets multiplied by all the humans and machines involved. I realize it’s hard to obtain data or even state the optimization goal precisely, but is the optimum under current circumstances really 20 seconds? What health and user contentment metrics would be better at 17? How about 21.4? I’m not asking you to gather more data (although that would be nice). I’m asking: is 20 the optimum answer based on everything we (or AI) can extract from the data that we already have, relative to whatever subjective goals we’re supposedly pursuing?

Under the subjective goal of become P2P Encrypted Cash, we need this to be usable. One of the biggest components of usability comes from latency to use the chain!

The goal is sub-second reliable inclusion UX’s, and that alone will not come from single-chain proof of work blocktime reductions. However, improving block times:

  • Does not compete with future solutions
  • Is a joint optimization question with throughput scaling

Now what is the optimal strategy to improve? It is to IMO to keep iterating towards the pareto frontier on block time and block size, while remaining more than safe to all known attack vectors. You have to iteratively discover unknown unknowns, but right now we are also at such low scale. The chain today processes at peak 80KB/s. This change would make it 100KB/s, which is still tiny quantities that dialups could still handle.

What is impressive, is that right now, the live orphan rate of Zcash is lower than it was pre-upgrade.

.
This suggests the engineering optimizations in Zakura and Zebra have truly worked. But the bar for safety of 20s already meets all bars laid out for 25s!

It likely could go lower on block time, but this is the proposal were putting forward based on available analysis right now. Also driven in large part, by having floating 20s around engineering organizations and discussions before Ironwood went out!

I’d suggest after 20s, the next big win should come from doubling maximum block size, as that can 2x shielded throughput with Tachyon.

3 Likes

The real solution for fast latency is obviously to change the consensus algorithm, but since zcash-twitter has been rallied against PoS I doubt it can be done without a fork.

Fortunately we don’t need PoS (whatever one’s opinion of it). We could borrow Solana’s account model (as opposed to UTXO notes scattered all over the place) and Kapsa’s directed acyclic graph (DAG) architecture for fast transparent addresses where they’re desirable. Kaspa runs rings around Zcash and Solana runs rings around Kaspa. And yes, Kaspa is PoW.

We might need a new “fast address” (f-address) type which says “please optimize for speed and forget privacy”, and there would be the usual heavy lifting required if one needs to bridge account types (but no worse than, say, moving between a t-address and a u-address today).

We should not underestimate the utility of an address type which is optimized for purely transparent transactions. There are plenty of obvious applications where speed is more important than privacy, or whrere privacy is actually a hindrance to market traction. (Yes “view keys solve this” but there are plenty of tradfi venues which will turn us down instantly despite that, and yet have zero problems getting Bitcoin ETFs into the hands of their customers.)

But, yes, this would involve an actual consensus change and all the implied infighting. I just think it’s worth the debate.

We have a measured mainnet figure for the orphan question, so here is a pointer to it. We take no position on 20 s, we only count.

Our listener ran from the activation block to 8 Nov 15:30 utc and we posted the count in the NU7 timeline thread today, with the window and the method. It sits above the roughly 0.1 percent that the devnet write up gives for mainnet before the change, source that post, and well below the 3.26 percent expected and 4.86 percent observed stale heights at 25 s on the 100 node devnet.

Two things about our figure. It is one vantage point, so it is a lower bound, and a block that never reached us is not in it. Our upgrade watch also lost its peers from about 02:50 to 08:11 utc on 6 Nov, which the README names.

Raw data, scripts and the sha256 are at GitHub - pulsehawk/methods: Methods and scripts behind PulseHawk reports. Reproduce our numbers in three commands. · GitHub, and the report is PH-UR-2026-001. If a decision on 20 s would be easier with a longer window, a split per pool or a propagation figure, say which number would help and we will count it.

Some interesting data. A number of people, beyond just Valargroup, have data showing the live orphan rate post-NU7, even with its record high load in the last year, is better than Zcash was before.

From sovright, who runs a relay: Orphans Through NU7 · Sovright , they saw that the 90 day orphan rate pre-NU7 is actually higher than the one at NU7! This is accounting for the fact that post-NU7 had unprecedented load, with many fully shielded blocks. This is coming from:

  • the engineering improvements in gossip & block processing in both Zakura, and Zebra
  • Sovright’s relay
  • Several mining pools improving their stack

We can only report on what we see in our Zakura stress-nets, and Zakura/Zebra stress-nets. (From which we conclude that the gossip improvements and block processing improvements are very significant)

Our 8MB 20s stress-nets on Zakura today achieve better orphan rates than the first 25s experiments with Zebra in May!

Hence our conclusion that 20s, with 2MB blocks, is safe for the network today, and helps improve everyone’s UX!

Thanks for pointing to the Sovright relay, I would like to line it up with our count. Which 90 days does it cover, and does it call a block orphaned once it sees the competing block or only after the chain moved on? Our window starts at the activation block, so the stretch before NU7 is the part we do not have.

Sovright includes this plot, which suggests August 17th!

Is there a difference in orphan rate measurement wrt seeing competing block or after the chain moved on? Doesn’t that yield the same number unless there are multiple orphans in a block?

2 Likes

Mostly yes, I agree. The two readings split in two cases, a race that one vantage point never sees, and a reorg deeper than one block, which counts two or more blocks for one event. In our window from activation every orphan whose header we could fetch was one block deep, so for us both readings give the same count. Is the data behind the Sovright plot public? I would like to line up their post NU7 stretch with ours.

There hasn’t been any two block re-orgs in a long time. Haven’t observed any since Zakura v1.0.0 released.

Not sure if sovright’s data is public for this, its worth asking on X

1 Like

I’m around and happy to provide information.

Getting data now.

2 Likes

Yes. The full post-NU7 orphan list is here: Zcash orphaned blocks after NU7 (6-14 Nov 2026), as seen by the Sovright relay network · GitHub

It covers NU7 activation (height 3,543,405, 6 Nov 02:34 UTC) to 14 Nov 16:02 UTC. Each row has the height, orphan hash, winning hash, when we first saw it, the pool where we could identify it, and how many seconds after the winner it arrived.

Our network edge does not count late, non canonical blocks. The undercount stems from those blocks.

Our four Zebra nodes also log every block they verify. From 7 Nov 16:31 UTC (when those logs start) to the end of the window:

  • the listeners counted 125 orphans;
  • the Zebras saw 197;
  • 113 were seen by both.

Adding the 84 Zebra-only orphans moves that stretch from 0.52% to about 0.87% of blocks. The list has 243 orphans: 159 from the listeners and 84 that only the Zebras saw. Even 243 is a minimum, since some orphans reach none of our nodes.

The ones the listeners missed are mostly late losers. They arrived a median 0.9 s after the winning block, against 0.1 s for the ones the listeners counted. Our best guess, not yet confirmed: peers that already have the winner don’t pass on a later rival at the same height, and our listeners have fewer peers than our Zebras.

This matters for the before/after comparison. Our Zebra logs only go back to 7 Nov, so we can’t check how many orphans the listeners missed before NU7. Until we can, “0.60% before, 0.54% after” is not a like-for-like comparison. We’ve added a correction to the page saying so: Orphans Through NU7 · Sovright . Even the corrected 0.87% is well below the roughly 3x rise you’d expect from blocks coming 3x faster. But both numbers are minimums, so treat that as a lead, not a result.

On reorgs, this matches what ValarDragon said: we saw no two-block reorgs. No height has more than one orphan. Two pairs of orphans sit at consecutive heights (3,549,924–5 and 3,559,939–40), and in both cases our Zebras show two separate one-block races, not one two-block branch. None of our Zebras ever made an orphan its chain tip.

The README in the gist explains each column and how heights were matched.

2 Likes

Thanks, that would help a lot. What lines up best with our data is a per block list from the relay with height, hash, time first seen and whether it ended up orphaned, for the stretch after activation and the 90 days before. Once we have it we will post where the two sets match and where they differ.

While I’ll let others with more context and knowledge comment on the technical tradeoffs re: block propagation and orphan rates, I’d like to signal support based on how this increases usability and UX.

A faster Zcash blockchain has meaningful implications for end-users who are looking to use Zcash. I believe Zcash is not at a place to ossify, and needs to continue to make incremental but important improvements towards increasing transaction throughput as well as confirmation speed in order to succeed at the goal of being private, digital money.

3 Likes

Matched your list against ours block by block: 242 of your 243 are in our data.

Over your Zebra window (7 Nov 16:31 → 14 Nov 16:02 UTC) we count 211 competing blocks against your 209, 212 between us, so we land on the same ~0.87%. Our extra 64 are mostly late (median 3.8s after the winner) and 42 of them are F2Pool, which fits your peer-relay explanation.

On our Mining page the since-NU7 headline is 0.77%: it leaves out blocks that arrived more than 2s after the winner at every observer. Counting every competing block, it’s 0.96%.

I’m very much in favour of 20s block spacing. Faster confirmations are the road to Zcash being usable everywhere.

2 Likes

Thanks to everyone who lined up the orphan data. Three independent counts landing near 0.87% is useful.

One number that would help the 20s decision is the orphan rate per pool, divided by that pool’s share of blocks. The network-wide rate can stay low while the losses fall unevenly: a large, well-connected pool never races against its own blocks and hears rivals sooner, while a small or distant miner loses a bigger share of what it finds. That gap tends to widen as the block interval shrinks, and it’s the part that pushes hashrate toward bigger pools.

Kenbak’s note that 42 of the 64 late blocks were F2Pool already suggests the losses aren’t spread evenly. @PulseHawk offered a per-pool split earlier. If that could be done for the NU7 window, and compared with the same split before NU7 where the data exists, it would show whether 25s changed how the losses are spread, and not just the total.

Zecblock already publish this per pool: orphan rates by pool (switch between Before NU7 and Since NU7).

Losses are clearly uneven, but not purely by size: Foundry is large and low, F2Pool large and high.

Is this what you are looking for or something more?

1 Like

Yeah this is most of it, thanks. Dividing each pool’s rate by the network rate gives the ratio I meant. Quick pass on your numbers (before NU7 → since):

  • ViaBTC: 0.36x → 0.21x
  • Foundry: 0.91x → 0.64x
  • F2Pool: 1.57x → 1.55x
  • Luxor: 0.95x → 1.33x
  • AntPool: 1.57x → 2.24x

Agree it’s not size. Never racing your own blocks only buys you your own share, so ViaBTC at ~21% of blocks should be at most ~20% lower, not 5x. The gap is propagation and how fast pools switch to new work, which is exactly what 20s squeezes.

Two asks if you have time:

  1. Since-NU7 per pool from Helsinki only, so before and after use the same observer. Some of these moves could just be observer location.
  2. A per-pool orphans + late column. Foundry’s late blocks went 1 → 37 while F2Pool stayed about flat (26 → 28). Late blocks are wasted work from slow switching, and that cost goes up ~25% going from 25s to 20s.

Counts are small in places, so single-pool moves are leads for now.

Adding measurements from the canonical chain, since several open questions here are about what the chain itself can settle.

We build zpop, a small open tool that issues signed, hash-chained receipts for Zcash network windows. As filed it predates NU7 and failed on the new schedule, so we first derived the post-NU7 subsidy split from live coinbases — activation at height 3,543,405, then 41,666,668 / 4,166,666 / 6,249,999 zats per block to miner, community grants stream, and lockbox — and fixed the tool. Receipts for the activation day and the eleven full days after it (November 7–17, 38,010 blocks, average interval 25.00 seconds) now verify end to end against a public server. Three findings bear on this thread.

The orphan list’s winners are the canonical blocks. We checked all 243 rows of the orphan list posted above against our receipts, height by height, and every winning hash matches the canonical block we recorded — a third lineup of the same list, from an independent data path. Over that window (activation to November 14, 16:02 UTC; 29,410 blocks), the share of each large producer’s own blocks that were raced is narrow: 0.66% to 1.04% for the eight largest producers, roughly in proportion to how much each one produces. Fourteen of the 243 raced heights were won by shielded coinbases, which cannot be attributed from chain data.

Producers follow themselves exactly as often as their share predicts. Across the eleven days, a block’s producer is the same as the previous block’s producer 14.87% of the time, against 14.81% predicted from the producers’ shares alone, computed day by day. Every day lands within one point of its prediction. The same check on the last full day at 75 seconds (November 2, from our filed example) gives 19.21% against 18.32% predicted. Whatever drives orphan losses, on mainnet it is not producers bunching their own blocks together, at either spacing.

The shielded-action limit already binds on ordinary blocks. Ironwood actions average 7.3 per block across the eleven days. 151 blocks sit exactly at the current cap of 330, and 624 blocks (1.64%) carry more than the proposed cap of 264. So the scaled limit is not only about worst cases someone might construct; at 20 seconds, some ordinary blocks would need their shielded actions spread across more blocks than they are today. Orchard actions peak at 33 per block, and Sapling components at 22 — both far under their current caps.

What this cannot say: our receipts cover the canonical chain only, so they measure no orphan rates of their own — the 243 count and its rate remain the listeners’ numbers; we only confirmed their winners. A payout address is not a pool and not a place, and 5.06% of blocks pay shielded coinbases and stay unattributed in every split above, ours included.

The receipts and the updated tool are in the zpop repository: GitHub - 1OF1Research/zpop: Zcash Proof-of-Production Receipts — signed, hash-chained, publicly verifiable receipts for what a Zcash mining fleet produced · GitHub — the NU7 windows are under examples/nu7-windows. If a different cut of the same data would help — per-day tables, one producer, a narrower window — say the word and we will run it.