This release gives miners work on a new block sooner: Zebra builds a block template as soon as a new block's proof of work is checked, rebuilds templates when the mempool verifies a transaction, and commits a solved template without validating it again. It adds compact block relay between Zebra nodes, off by default (network.compact_block_relay), JSON logs (tracing.log_format), and fixed JSON-RPC credentials (rpc.rpc_user), and lowers the mempool's minimum fee to 400 zatoshis per logical action. It also includes security fixes, so all node operators should upgrade. It is supported until around 17 December 2026, block 3,684,728; upgrade to the next release before then.
Breaking Changes
- Changed OpenTelemetry trace sampling to follow the OpenTelemetry specification.
OTEL_TRACES_SAMPLER_ARGis now a ratio between 0.0 and 1.0, and applies only whenOTEL_TRACES_SAMPLERis set, for exampleOTEL_TRACES_SAMPLER=traceidratioandOTEL_TRACES_SAMPLER_ARG=0.1for 10% of traces. If you setOTEL_TRACES_SAMPLER_ARGto a percentage, set these two variables instead, or setZEBRA_TRACING__OPENTELEMETRY_SAMPLE_PERCENT, which still takes a percentage.
Added
getblockchaininfoand verbosegetblockresponses includensmValueBalance, the Network Sustainability Mechanism (NSM) value balance from NU7, with the block's change to it ingetblock. It is not part ofchainSupplyorvaluePools. As ZIP 237 defines it, the balance after the block before NU7 activation isINITIAL_NSM_VALUE_BALANCE. (#12325)- Added static user and password authentication for the JSON-RPC server: set
rpc.rpc_userwithrpc.rpc_passwordorrpc.rpc_password_fileto require fixed HTTP Basic credentials instead of the cookie. (#12403) - Added the
network.compact_block_relayoption, off by default. Zebra nodes that both set it advertise the service bit of the draft Compact Block Relay ZIP, and announce new blocks to each other as a header and short transaction IDs, and rebuild each block from their mempools instead of downloading its transactions again. Every rebuilt block is still verified like any other block. Thezebra.net.compact_block.admittedandzebra.net.compact_block.rebuiltmetrics count the announcements a node kept and the blocks it rebuilt from them. - Added the standard Prometheus process metrics, such as
process_resident_memory_bytes,process_open_fds, andprocess_cpu_seconds_total, which Zebra samples every 15 seconds when the metrics endpoint is open or Sentry is active, except on Windows. - Added a description and unit for every Zebra metric, which the Prometheus endpoint shows as
# HELPlines, and the metric catalog indocker/observability/metrics-catalog.json, which lists each metric's kind, unit, description, labels, and Prometheus series names. - Added the
commitlabel tozebrad_build_info, and metrics that time each phase of block verification, checkpoint commits, block decoding, gossiped block downloads, block template building, the first template after a new tip, mined block announcements, and mempool cleanup, withsubmitblockoutcome counts. They are exported as Prometheus histograms, so they can be aggregated across nodes. - Added the
tracing.log_formatoption. Set it to"json", or setZEBRA_TRACING__LOG_FORMAT=json, to write one JSON object per line, which log collectors such as Google Cloud Logging, Azure Monitor, Grafana Loki, and Datadog read without a custom parser. In JSON mode a panic is written to standard error as one JSON line, whether or notSENTRY_DSNis set.
Changed
- Store and announce verified transactions without waiting for the five-second mempool queue check on idle nodes (#11376).
- Lowered block and transaction verification latency by flushing proof and signature batches after 5 ms of idle input, while retaining the 100 ms maximum batch latency.
- Note commitment trees are updated faster for blocks with many shielded outputs, which speeds up block commits and checkpoint sync. Zebra hashes each block's Orchard and Ironwood tree updates in batches, and prepares the hash tables they use in the background at startup, without delaying the RPC server (#11846).
- Verify new blocks on the best chain tip faster when their transactions are already in the mempool, so Zebra commits and relays them, and answers
submitblock, with less delay. Zebra reuses the mempool's verification of those transactions, and only checks the rules that depend on the block for them, such as expiry heights and lock times. Thezebra.consensus.block.mempool_reuse.hitandmissmetrics count the transactions in new blocks that Zebra takes from the mempool's verification or verifies itself, and thetimeoutanderrormetrics count the mempool lookups that time out or fail. - Reduced
submitblocklatency for large blocks by decoding their transactions in parallel. - Gossip newly committed blocks to peers right away, instead of waiting 7 seconds before each one.
- Decode large blocks received from peers in parallel, like submitted blocks.
- Rebuild the mining block template when the mempool verifies a new transaction, at most once a second, instead of only every 5 seconds.
- Build a coinbase-only block template on top of a new block from a peer as soon as its proof of work is checked, while its transactions are being verified, and serve it to miners as soon as the block is committed, without waiting for a template build. Miners never get a template on a block that is still being verified, and keep the previous template if the block is rejected.
- Commit a block that was already validated as a block proposal, like a solved
getblocktemplatetemplate, without validating it again. Only its proof of work and time are checked. - Validate each new mining block template as a block proposal in the background, so a miner that submits it unchanged, apart from the nonce and solution, gets it committed without another validation.
- Reduced the work Zebra does when Sentry is enabled: it no longer builds a Sentry span for every INFO-level span, such as one per inbound peer message. Zebra doesn't send Sentry traces, so these spans were never sent.
- Stopped starting the Sentry session rotation and metrics flush threads when
SENTRY_DSNis unset or the Sentry client is disabled. - Changed
rpc.request.duration_secondsandzcash.net.peer.handshake.duration_secondsto Prometheus histograms: the endpoint now exports_bucketseries for them instead ofquantileseries, so they can be aggregated across nodes. The supplied dashboards and alert rules already query the_bucketseries. - Changed the
zcash.net.peers.missing_serviceslabel fromremote_services, the service bits the rejected peer sent, tomissing_service, the required service it lacks, such asNODE_NETWORK. Removed thecachelabel, the peer cache file path, fromzcash.net.peers.initialandzcash.net.peers.cache. Theseedlabel ofzcash.net.peers.initialnow names only Zebra's default DNS seeders, and labels every other configured initial peercustom. Update dashboards and alerts that select on these labels. - Zebra caches successful transparent script verifications, so an input script verified when its transaction entered the mempool is not verified again when a block mines that transaction with the same spent outputs and network upgrade. A cache hit skips only that input's script. The cache is reported by the
zebra.consensus.cache.*metrics with thetransparent_scriptverifier label (#11939). - Commit a solved
getblocktemplatetemplate without decoding its transactions again. - Updated the
libz-sysbuild dependency to 1.1.33, clearing RUSTSEC-2026-0544. Zebra isn't affected: zebrad only uses it at build time, throughvergen-git2, and never callsgzprintf. - Changed the metrics sent to Sentry when
SENTRY_DSNis set: Zebra now sends every metric that the Prometheus endpoint exports, instead of a fixed list, once a minute. Counters send their increase, gauges their latest value when it changes and at least every 5 minutes, and histograms up to 20 values per set of labels as distributions. Each minute sends at most 1,500 metrics and at most 256 sets of labels per metric, and sends none while the Sentry SDK is still sending earlier data, so metrics never fill the queue they share with events, logs, and sessions. The newzebrad.sentry.metrics.dropped.totalcounter counts the values left out. Metrics also carrychain.near_tip, which istruewhen the node is near the chain tip. - Added the
chain_network_upgradelabel tozcash.chain.tip.block_delay_seconds, the network upgrade at the block's height. Sentry still receives each value's block height as thechain.heightattribute. - Zebra now verifies transparent scripts with the Rust
zcash_scriptinterpreter instead of zcashd's C++ interpreter, and thecomparison-interpreterfeature is removed. - Updated
urlto 2.5.9, clearing RUSTSEC-2026-0592. Zebra isn't affected: neither Zebra nor its dependencies callUrl::origin()(#12577). - Changed
cargo binstall zebradso it no longer falls back to third-party QuickInstall builds on platforms without a release archive.cargo binstalldoes not check the Cosign signature or the build-provenance attestation of the release archive, so the install guide now says so and lists the verified manual download first. - Added the
siphasherdependency, which the compact block encoding uses for short transaction IDs. - The
submitblockRPC returnsinconclusivefor a block that is not verified and committed within 30 seconds, instead of waiting until the block is committed or dropped. Zebra keeps verifying the block, and commits and announces it if it is valid. A block whose parent never arrives used to wait for about a hundred blocks. - Changed the mempool to accept and relay transactions that pay at least 400 zatoshis per ZIP 317 logical action, with a minimum of 800 zatoshis per transaction, down from 1,000 per logical action and 2,000 per transaction.
getstandardfeestill recommends 1,000 zatoshis per logical action to wallets. - Updated
equihashto 0.3.1 and enabled its accelerated verifier, which checks block proof-of-work faster, using AVX2 or NEON instructions when the CPU has them. Builds with the experimentalinternal-minerfeature also solve Equihash faster. - Updated
zcash_primitivesto 0.31.1 andzcash_transparentto 0.11.1, which read and write Orchard proofs and transparent scripts in bulk instead of one byte at a time. This reduces the CPU cost of parsing and serializing transactions. - Updated
zcash_scriptto 0.6.1, which renders theasmfields of verbosegetblockandgetrawtransactionresponses without allocating a string per byte. - Orchard and Sapling proof verification is faster. Zebra now builds on the
halo2_proofs0.4.2,pasta_curves0.6.4,groth160.2.2,bls12_3810.9.2 andpairing0.24.2 releases, which speed up the multi-scalar multiplications and pairings used to check proofs. - This release is supported for 16 days, so it stops around 17 December 2026, after block 3,684,728, the same block as Zebra 7.0.0 and about a week later than 7.1.0. It logs an end of support warning for the last 4 days, from about 13 December (after block 3,670,904). Upgrade to the next release before it stops.
Fixed
- Avoid dropping compatible replacement peers at network upgrade activation when an outdated connection still occupies the same IPv4 address or IPv6 /64 connection slot (#12109).
- Fixed verbose
getblockresponses reporting each whole value pool balance as the block'svalueDeltaandvalueDeltaZatwhen the parent block's balances were not found, for example after a reorg during the request. These fields are now omitted in that case. (#12325) - Fixed supplied Grafana panels, alert rules, and example queries that queried series Zebra doesn't export. The
ZebraHighErrorRatealert now fires on block verification errors fromsync.block.error.count, the errors dashboard shows signatures and shielded bundles in batches that failed verification, which the endpoint now exports at zero from startup so the first failures show inrate(), the observability README checkszcash_chain_verified_block_height, theRPCHighLatencyalert ignoresgetblocktemplatelong polls, and theSlowHandshakesalert fires when the p95 successful handshake takes over 2 seconds, below the 3 second handshake timeout. The RPC tracing dashboard now queries the span metrics that the supplied Jaeger configuration exports, so its panels are no longer empty, and its error panels show zero for methods with requests but no errors. - Decode the messages a peer sends after a message that Zebra ignores, such as one with an unknown command, without waiting for the peer to send more data.
- Fixed a node that is syncing below a network upgrade banning honest peers that relay transactions for that upgrade. Without peers, the node could stop syncing just before the upgrade's activation height.
- Fixed the mempool starting on Mainnet while the node is still far behind the network chain tip. Short sync batches from a node with few useful peers no longer turn it on, because the best tip must also be at most 125 minutes old, the same limit
getblocktemplateapplies. Test networks are unchanged. - Zebra no longer stalls its initial sync on pruned Zakura peers (Zakura 1.8.8 and later) that advertise
NODE_NETWORKwithNODE_PRUNED. It doesn't use them as new outbound peers while syncing, or as a source of historic blocks. Since mid-November, these peers made Mainnet syncs from genesis about 50% slower. Zebra also asks other peers up to two more times before dropping a chain tip that no peer answered, instead of restarting the sync. - Fixed OpenTelemetry tracing, which exported either every span or none from each node, because the process-long global span was the root of every trace. Each peer connection attempt, handshake, peer request, checkpoint verification, and RPC or gRPC request now starts its own trace, with any inbound or mempool request it makes inside it, and only WARN and ERROR log events are attached to spans. Long-running spans, such as the syncer and the peer crawler, are no longer exported.
- Fixed
zebradaborting on an inbound connection within about two minutes of a Windows boot. - Fixed Docker containers failing to start when run as a non-root user (for example with
--user 10001:10001), because the entrypoint aborted after it could not take ownership of the cache directory. The entrypoint now prepares directories only when it is running as root, so a non-root start relies on the directory's existing permissions. (#12590) - Fixed a peer delaying other node work, such as RPC responses, by sending a continuous stream of messages that need no reply. Peer connections now yield to the scheduler regularly while handling inbound messages.
Security
- Ask another peer for a block after a peer answers
notfoundfor it, wherever thenotfoundlists the block. Before this fix, peers that advertised a block and listed it after the first 1,000 entries of theirnotfoundgot every retry for it, and could stall sync below that block (GHSA-65g4-c4v4-9rfq). - Limit how many Orchard, Ironwood and Sapling proofs are verified one by one after a batch of proofs fails. Before this fix, peers could crash Zebra with a thread stack overflow by sending many transactions with invalid Orchard or Ironwood proofs (GHSA-64rh-c68m-hq57).
- Fixed a denial of service where peers that advertised a block and never returned it could take every download of that block, and stop the node's sync. Once a peer fails to return a block, the peers that advertised it now take turns with the other peers (GHSA-g9wm-xjq3-x3c2).