# Release: Zakura 1.9.0

Announcement for Zakura 1.9.0, published on 2026-11-28; the release
itself was published on 2026-11-27. It calls 1.9.0 one of the project's
largest single releases and says the release prepares for the Mainnet
deployment of P2Pv2, improves orphan rates
following the activation of NU7, and brings several other performance
improvements for the Zcash network. The announcement describes
everything that changed since Zakura 1.8.0 (2026-11-02), including
changes that shipped in 1.8.x releases (1.8.1 through 1.8.9, published
between 2026-11-03 and 2026-11-16), which had no announcements of their
own.

The opening summarizes the release in three bolded points:

- "P2Pv2 is coming." Improvements landed for both P2Pv2 and the legacy
  P2P stack. The release has new mempool, handshake, and QUIC
  implementations, and the new handshakes are post-quantum. New
  settings keep an operator's own nodes connected and exempt from bans,
  and let a miner advertise its node ID. Restarted nodes get their
  peers back. The announcement gives no date for the Mainnet deployment
  of P2Pv2: in 1.9.0 the P2Pv2 stack is still experimental, and Mainnet
  nodes run only the legacy stack unless their operator enables it.
- "Orphan rates are dropping, again." Numerous optimizations landed:
  block announcements gossip far faster to peers, removing 12 seconds
  of relay delay in many common cases; new blocks validate and commit
  faster; and miners get block templates sooner. The announcement gives
  no orphan-rate figure for the release as a whole; the only orphan
  rate it publishes is the stressnet result under "Faster block relay".
- "Sprout verification is optional." NU7 has activated, so there are no
  new Sprout transactions to verify.

Update guidance: all node operators are recommended to update now.
Every earlier release halts on Mainnet in early December 2026 (1.7.0 at
height 3,640,098, estimated 4 December; the 1.8 releases above height
3,643,309, estimated 5 December), which the announcement states as "in
about a week" relative to its publication date.

A bolded note says the release migrates the node's database on first
start and that most operators do not need to do anything: transaction
history moves out of RocksDB into append-only files in the background
while the node follows the chain tip. The only stated requirement is
free disk space, about 11 GB on a Mainnet archive node (archive is the
default storage mode). The note directs three groups to the
"Transaction storage" section before updating: operators who back up
the node with RocksDB checkpoints or hard links, operators of read-only
RPC secondaries, and anyone who may need to go back to an earlier
release.

Claims by section:

## Faster block relay

- Problem, measured on Mainnet after NU7 activated (25-second blocks):
  relayed blocks left a Zakura node in 3-second steps, reaching peers
  0, 3, 6, 9, or 12 seconds after the node committed the block. On a
  node with about 280 peers the mean delay was about 7 seconds (12
  blocks sampled).
- Cause: the announcement pacing added in 1.7.0
  (https://zakura.com/announcements/zakura-1-7-0/). A block was
  announced to a limited window of peers (32 in 1.7.0 and 1.8.0), and a
  peer kept its place until it downloaded the block or 3 seconds
  passed. Near the tip most peers already have the block and never
  request it.
- Fix: announcements are scheduled from the start of the broadcast,
  independent of requests and uploads. The first group hears
  immediately: 64 peers for blocks up to 100 KiB, falling linearly to
  32 for blocks of 1.5 MiB and larger (and blocks of unknown size).
  Every other peer hears 500 ms later. New `[network]` settings:
  `advert_window_small_block` (64), `advert_window_full_block` (32),
  `advert_delay` (500 ms); all are marked experimental.
- The 80-node stressnet
  (https://zakura.com/engineering/25-second-block-time-update/) ran this
  schedule when it measured a 1.97% orphan rate (7 orphans, 349
  canonical blocks) mining full 2 MB blocks at 25-second spacing. The
  announcement does not attribute the whole difference from the earlier
  3.43% result to this change.
- Relayed blocks are announced in measured round-trip-time order, as
  locally mined blocks already were; every fourth announcement goes to
  a random peer; peers that already announced the block are skipped.
- Relayed blocks are gossiped as soon as they are committed (a wait of
  about 1 ms per tip change is removed), and locally mined blocks are
  announced from committed state without waiting for the RPC task.
- Legacy connections disable Nagle's algorithm, which held small
  messages back by up to about 40 ms. Between two hosts with an 82 ms
  round trip, building a template on a peer's block learned over a new
  connection took 515 ms instead of 1,109 ms. Settled connections were
  unchanged.
- Transaction gossip no longer waits for every peer in a broadcast
  before sending the next batch (previously up to 6 seconds per hop).
- Mining nodes send a newly mined block along with its announcement to
  the peers in the first announcement group that advertise the
  `NODE_BLOCK_PUSH` service flag, which every Zakura 1.9.0 node does,
  saving the round trip a peer spends requesting the block. Zebra,
  zcashd, and older Zakura peers are announced to as before. Relayed
  blocks are pushed only with `network.push_relayed_blocks` (off by
  default), which can send a full copy to a peer that already has the
  block. The announcement publishes no measurement of block push.
- Opt-in `[network.block_download_score_and_hedge]` (`enabled = true`,
  off by default): the node keeps a time-decayed measure of how quickly
  each legacy peer answers, requests a new block from the announcer it
  expects to answer soonest, and sends at most one backup request when
  another announcer should deliver clearly sooner or the first request
  stalls. Measured on a Singapore node over about 200 Mainnet blocks,
  the median time to receive a new block fell from 358 ms to 137 ms;
  most of those samples came from builds that preceded the final
  version of the change. The motivating case: the first announcer a
  Singapore node hears is almost always in North America or Europe.
- Opt-in TCP warm-up (`network.tcp_warmup.enabled`, off by default,
  needs `net.ipv4.tcp_slow_start_after_idle = 0`): the node sends each
  new legacy peer two padded pings, with 800,000 and 1,600,000 bytes of
  padding (2.4 MB in all), so TCP can grow the connection's send
  window before a block needs it. The announcement publishes no
  measurement of this schedule; send-window counts taken with an
  earlier, longer nine-ping schedule do not describe it.

## Faster block validation

The work previewed in the 1.8.0 announcement's "Coming Next" section
(https://zakura.com/announcements/zakura-1-8-0/) is included. Benchmark
figures below are before/after measurements of individual changes on
Zakura's benchmark hosts; they are not a re-run of the 1.8.0 comparison
tables, and the announcement publishes no new Zakura-versus-Ándale
table.

- Committing a mined block reuses the chain state built when its
  template was validated as a proposal: 1.9 MB transparent block
  87 ms to 42 ms (52% less), 1.9 MB mixed block 54 ms to 32 ms.
- Transparent address output histories are shared between chain
  snapshots instead of copied on every commit. New work after the
  node's own block: 4.3 ms to 1.8 ms; after a peer's block on a settled
  connection: 10.4 ms to 5.3 ms. These are the two measurements where
  Zebra Ándale led in the 1.8.0 comparison; Ándale made the same change.
- Each spent transparent output is read once instead of twice. In a
  replay of 32,860 consecutive Mainnet blocks, blocks with 256 or more
  transparent inputs took 4.36 s in total, down from 9.10 s.
  Verification also skips signature-hash digests that only shielded or
  v5 transactions use and starts parallel script checks sooner.
- Shielded transactions are dispatched first and partial proof batches
  flush once the block's shielded transactions are queued: new 250 kB
  mixed blocks verify in about 27% less time. (The 1.8.0 preview
  described an idle-timer flush; the shipped mechanism is the
  queue-based flush.) Orchard proof batches grow from 64 to 128
  actions: new 1.9 MB Orchard blocks verify in about 11% less time.
- Each Sapling spend's `rk` is decompressed once instead of twice:
  decoding a 2 MB block with the maximum shielded content NU7 allows
  takes 9.5 ms instead of 14.3 ms on x86-64. Orchard action points are
  batch-decompressed; Sapling point checks batch field inversions.
- Stress test of blocks with 60,000 transparent outputs each: peak
  memory 6.0 GB to 1.7 GB; adding 50 such blocks 8.2 s to 2.2 s.
- On a Mainnet node at the tip, the block-saving thread's CPU per block
  fell from 3.9 ms to 2.1 ms (in-memory chain copies); the measurement
  is indicative, taken on a live node.
- Common libraries updated from 5.0.0 to 5.4.0
  (https://zakura.com/announcements/zakura-common/).

## Mining and mempool

- `getblocktemplate` long polls sent with an older tip's ID get
  coinbase-only work on the new tip immediately (reported by a mining
  pool). Over eight hours on Mainnet, the 99th percentile for these
  answers fell from 75 ms to 6 ms.
- The on-disk backup of recent blocks no longer rewrites a block's file
  once per extra chain. On a Mainnet node the backup took about half of
  the CPU used around each new block; median time from a new block to a
  full template fell from about 1.3 ms to 0.7 ms.
- New binary `/submittrustedblock` endpoint, enabled with
  `rpc.enable_trusted_block_submission` (off by default; it follows
  the RPC listener's cookie-authentication setting). A relay makes a
  submitted block available to peers before its own validation
  finishes, and still validates the block before accepting it into its
  chain. A miner can also upload the unsolved block while mining and
  send only the solved header afterwards. On three geographically
  distributed Regtest relays, a 1.92 MB block prepared this way reached
  a downstream peer a median of 54.8 ms sooner than the same block sent
  as a `getblocktemplate` proposal (medians 80.3 ms and 147.8 ms), and
  sooner in all 54 paired trials; for a 284-byte block the median lead
  was 1.0 ms. Only blocks already validated by a trusted full node
  should be submitted: peers can ban a relay that sends an invalid
  block. While a node is still verifying its own submission of a
  block, it waits up to 5 seconds before downloading a peer's copy.
- Miner mesh: with `mining.miner_mesh` (off by default), block
  templates name the node's P2Pv2 gateway in a coinbase output, or the
  public relay listed in `mining.miner_mesh_gateways`. A node with
  `mining.miner_address` set that runs the experimental P2Pv2 stack
  counts the gateways named in the last two days of best-chain blocks
  and, while synced, keeps connections to up to ten of those named in
  at least ten blocks, in addition to its 92 ordinary peers. The
  `getminermeshinfo` admin RPC reports this state, and `mining.mesh.*`
  metrics count it.
- Equal-work ties: since 1.7.0 a node stays on whichever of two
  equal-work tips reached its verifier first. Now a block's place is
  reserved from its first announcement (a P2Pv2 header or a legacy
  single-block `inv`), provided its body reaches the verifier within 2
  seconds; a late or unannounced body is ranked by arrival. A node
  keeps priority for a block it mined itself, and greater cumulative
  work or an operator's `preciousblock` choice still wins. This is tip
  selection for mining, not consensus.
- Template transaction selection is deterministic: ancestor-package fee
  per cost instead of ZIP 317's weighted random draw. Selection stops
  after 1,000 consecutive packages that do not fit, which can leave
  block space unused. Mining policy only, not consensus.
- Long polls check the mempool every 2 seconds instead of 5; templates
  paid to a transparent address are built without a thread hand-off;
  mempool cleanup after a block uses indexes instead of scanning.
- A legacy transaction download whose announcing peers are all busy
  waits up to 2 seconds for one of them, where it previously went to
  another peer that usually answered `notfound`.
- Hex encoding and decoding use a SIMD codec and request bodies are
  parsed once: for a 2 MB block on x86-64, template transaction
  encoding about 7 ms to 2 ms, `submitblock` decoding 2 ms to 0.6 ms.
- `getstandardfee` recommends 1,000 zatoshis per logical action, up
  from 400. The mempool's acceptance fee is unchanged at 400 zatoshis
  per logical action.

## Peer connections

- Measured problem: across ten Mainnet restarts on 2026-11-14, 179 of
  546 dialed peers were back within three minutes; 286 of the 367 lost
  were full listeners that had given the seat away.
- Listeners reserve the seat of an inbound peer that was connected for
  2 hours for that IP for 3 minutes after it disconnects; at most a
  tenth of the inbound limit is held.
- For 5 minutes after an outbound connection that lasted 10 minutes
  ends, the node dials that peer before other candidates.
- Startup makes up to 50 connection attempts at once instead of one
  per 100 ms; the network stage of startup on a Mainnet node fell from
  about 12.7 s to 3.9-6.0 s. The peer cache keeps only peers that
  responded in the last 3 hours and is dialed when seed DNS fails.
- New `network.unconditional_peers`: listed IPs, CIDR ranges, and DNS
  names with a port are never scored or banned; single addresses and
  names are dialed and kept connected with reserved slots. A DNS name
  can be pinned to a node ID (`"<node id>@host:port"`), which requires
  `network.p2p_stack = "dual"`. Zakura never bans a listed peer, so
  only trusted peers should be listed.
- Pruned nodes advertise `NODE_NETWORK` again plus an experimental
  `NODE_PRUNED` flag; `getnetworkinfo` reports the real `localservices`.

## P2Pv2 improvements (experimental stack)

- Post-quantum handshake: session keys are agreed with X25519MLKEM1024
  (X25519 plus ML-KEM-1024), and each handshake is signed with a
  composite of Ed25519 and ML-DSA-65 that verifies only when both
  signatures do. Discovery records are signed with both keys as well,
  and a record without both signatures is refused. A normal dial still
  completes in one round trip.
- Every node's ID changes: an ID is now the hash of the node's key
  list, which names both public keys. Key files do not change (the
  ML-DSA-65 key derives from the existing key file). `zakurad` replaces
  the built-in seeds' old IDs in `zakura.bootstrap_peers` at startup
  and rewrites them in the config file in place. Other
  `zakura.bootstrap_peers` entries, and node IDs pinned in
  `network.unconditional_peers`, need the peer's new ID, which a node
  prints at startup.
- The native protocol moves to version 5 (ALPN `p2p-v2/5`), with no
  overlap with the version 3 that earlier releases speak. Nodes that
  run both stacks reach earlier releases over the legacy protocol;
  nodes that run only P2Pv2 lose peers on earlier releases until those
  update. A later release can add or retire a signature key without
  another break: a dial to the ID a node had before it added a key
  still connects.
- Per-connection, per-stream-kind receive and output shares; retained
  frames count against the peer's QUIC receive window.
- `[network.zakura] peer_memory_budget_bytes` default rises from 8 GiB
  to 17 GiB, which funds 92 ordinary connections and ten more held for
  preferred mining gateways. A generated config holding 8589934592 now
  admits 42 P2Pv2 connections on Mainnet (43 with
  `[mempool] implementation = "classic"`, which leaves `tx-relay`
  off); 4 GiB or less prevents a P2Pv2 node from starting. Raise to at
  least 17 GiB or delete the line.
- Inbound peers hold at most three quarters of connection and handshake
  slots (69 of 92 and 24 of 32 by default); each global IPv6 /64 counts
  as one host for per-IP limits.
- Inbound handshakes share a node-wide rate of 24 starts a second, of
  which the last 8 go only to addresses within their own share of 3
  starts a second; one 10-second deadline covers the whole handshake;
  a stalled read resets its session and leaves the connection's other
  services running.
- Block-sync peers announce a new tip within about a second instead of
  up to 30 seconds; on a three-node test network, 0.2-0.6 s instead of
  24-25 s.
- The discovery book is saved every 5 minutes and at shutdown (up to
  256 peers) and reloaded at the next start, with every record
  verified again; it follows `network.cache_dir`. Previously a
  restarted node began again from its bootstrap peers.
- Header sync and discovery fixes: penalties survive session
  replacement and reconnects, per-identity state is bounded, a finished
  storage job can no longer trigger a shutdown, equal header-sync
  offers are taken in arrival order (so peers that reconnect under new
  keys or overstate their chain work cannot hold back an honest peer's
  headers), discovery confirms only authenticated addresses, and the
  discovery record sequence is stored beside the identity key.
- New mempool on P2Pv2 nodes: nodes whose P2P stack runs v2 (`dual` or
  `zakura`) run a new mempool and `tx-relay`, a P2Pv2 service that
  meters transaction announcements by bytes and serves a peer only the
  transactions it was told about. Testnet and Regtest default to
  `dual` and switch; Mainnet defaults to `legacy` and keeps the
  existing mempool unless its operator enabled P2Pv2.
  `[mempool] implementation = "classic"` restores the existing mempool
  and turns `tx-relay` off. In a load test with 92 peers flooding
  transactions, legacy gossip delivered 8 of about 1,470 block
  announcements; with `tx-relay` none were dropped, though 15% to 18%
  arrived late (the slowest by about 250 ms). That test ran on an
  earlier revision of the service.
- Opt-in BPv1 block propagation (`[network.zakura.bpv1] enabled = true`,
  off by default, on the `zakura` and `dual` stacks): a miner commits
  to an erasure-coded form of its block in the coinbase, and nodes
  forward each verified part of at most 64 KiB as it arrives instead
  of waiting for the whole body. The announcement publishes no BPv1
  measurements.

## Transaction storage

- Finalized transaction bodies, about 95% of an archive node's state,
  move out of RocksDB into append-only static files in the state
  directory, in the background, a design taken from Reth.
- State database format 32.0.0 (from 30.0.0 in 1.8.0). The first
  start upgrades an existing database in place and moves its history
  while the node follows the tip. Upgrading a full Mainnet archive
  (3.55 million blocks, 282 GB on disk) took 40 minutes on an 8-vCPU
  host.
- Benchmark: syncing Mainnet blocks 1,707,210 to 1,827,004 took 786
  seconds with and without the change; with it the node wrote 24%
  fewer bytes per block (1,967 KiB against 2,575 KiB) and RocksDB
  stalled writes 18 times instead of 129. Upgrading in the middle of a
  long catch-up sync is slower, because the migration and the sync
  share the disk.
- A Mainnet archive node needs about 11 GB of free disk at the peak of
  the move, while the static files sit beside RocksDB data that has not
  been freed yet. Archive is the default storage mode. The figure is
  part estimate: the test upgrade peaked 4.7 GB above its starting size
  when RocksDB files were freed immediately, and the one-minute wait
  before they are freed is estimated, not measured, to add about 7 GB.
  Pruned nodes move only the blocks they retain, so they need less; the
  announcement gives no figure for them.
- If a static file write fails, for example on a full disk, the move
  stops and nothing is lost, because bodies stay in RocksDB until they
  are moved. Freeing space and restarting `zakurad` resumes it.
- Earlier releases cannot open an upgraded database. Older `zakurad`
  binaries do not see it and start a fresh sync from genesis beside it;
  going back without that sync takes a backup made before the upgrade.
- Backups must include the `static_files` directory (a RocksDB
  checkpoint no longer holds finalized transaction bodies): copy the
  whole state directory with `zakurad` stopped or take a filesystem
  snapshot, and do not hard link static files into a restore.
  Read-only RPC secondaries must be upgraded with their primary and
  stopped around `zakurad rollback-state`.
- A pruned node that started as an archive node no longer serves
  transaction bodies below its pruning marker after the first move.

## Sprout verification is optional

- NU7 no longer permits Sprout JoinSplits. Default and release builds
  omit Sprout JoinSplit proof and signature verification and do not
  build the Sprout note commitment tree; `--features sprout` restores
  them. Bundled checkpoints extend past NU7 on Mainnet and Testnet, so
  default builds sync both from genesis. A build without `sprout` asked
  to verify a pre-NU7 JoinSplit stalls rather than forks. The mempool
  rejects JoinSplits by policy.
- A build with `sprout` refuses a database on which a build without it
  skipped Sprout commitments, until the tip is past NU7 and the last
  checkpoint. (The database format change is described under
  "Transaction storage".)

## Security hardening (no advisories cited)

- Blocks and transactions over the 2,000,000-byte block size limit are
  rejected before parsing (peers and RPC); block validity is unchanged.
- The mempool rejects transactions with unknown shielded anchors or
  spent nullifiers before proof verification.
- Legacy misbehavior reports are no longer batched or dropped; scores
  are per IP across ports and bans are immediate.
- Metric label changes operators must account for: `zakura.net.in.errors`
  `error` and `mempool.failed.verify.tasks.total` `reason` carry error
  kinds, not messages; `zcash.net.peers.cache` drops `remote_ip`. The
  metrics endpoint serves at most 16 connections, with 30-second
  header and 120-second connection timeouts.
- A legacy `getblocks` reply keeps at most 500 hashes; the indexer gRPC
  API refuses requests over 4,096 bytes; blocks with duplicate
  transparent spends are rejected before other transaction verification.
- State reads and decoded legacy messages have memory bounds;
  capacity-refused reads answer `notfound` (`getdata`) or a retryable
  error (`getblockheader`, `getblock`).

## Other changes

- Shutdown takes about 10 seconds (the database format check runs once).
- RocksDB background jobs scale with CPU cores (2 to 16): a
  30,000-block Mainnet archive sync benchmark rose from about 100
  blocks per second to 179-196.
- Address-book metrics no longer recount the book on every change (37%
  of CPU on a legacy-only Mainnet node at the tip); P2Pv2 discovery no
  longer re-checks authenticated peers' keys (4 to 5% of CPU).
- Legacy message checksums use vectorized SHA-256 on CPUs without SHA
  extensions (32% less CPU per MB served on such a node); large-block
  checksums are computed once, before the first peer requests the
  block, and reused across peers.
- Pruned nodes no longer download announced blocks they already
  finalized (up to 2 MB each); every pruned Mainnet node observed had
  made hundreds to about two thousand such downloads.
- On Windows, a node that updated across a database format change
  ignored its existing database and synced from genesis; it now reuses
  the database.
- The node logs `mempool activated` once its mempool answers requests;
  scripts that wait for a log line before calling `getblocktemplate`
  should wait for it instead of `activating mempool`.
- `zakura-prune-state` and `zakura-rollback-state` are replaced by
  `zakurad prune-state` and `zakurad rollback-state`.
- Managed zcashd downloads use the system CA bundle or `SSL_CERT_FILE`
  and never trust eMudhra roots.
- Empty `getheaders` requests get an empty `headers` reply, ending
  zcashd sidecar reconnect loops at the tip.
- RPC: verbosity-0 `getblock`/`getrawtransaction` return stored bytes;
  `getblockheader` and verbose `getblock` return -1 for state-service
  failures (-5 and -8 unchanged for missing blocks);
  `getblockchaininfo` and verbose `getblock` add an `nsmValueBalance`
  object in the shape of a `valuePools` entry; indexer gRPC adds
  `GetTransaction`; `rpc.allow_unauthenticated_admin` (default off).
- Plain-text log lines; new JSONL trace tables and an optional
  loopback-only `/traces` endpoint.
- Custom Testnets scale NU7 reissuance to custom halving intervals,
  matching Zebra; Mainnet and Testnet are unaffected.

## End of support and updating

Mainnet nodes running 1.9.0 support height 3,660,343 and halt above it,
estimated 10 December 2026, five days after 1.8.0's halt. Warnings
begin three days earlier; enforcement follows height, not time.

Release: https://github.com/zakura-core/zakura/releases/tag/v1.9.0.
Installation and verification instructions are on the download page
(https://zakura.com/download/).

---

Canonical HTML version: https://zakura.com/announcements/zakura-1-9-0/
