Repository navigation
v0.26.0
·
147 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
[0.26.0] - 2026-11-25
Added
- Export canonical construction progress as
zinder_ingest_construction_loaded_heightandzinder_ingest_construction_target_heightPrometheus gauges and update/readyz(current_height,cause.syncing.lag_blocks) andzinder_readiness_sync_lag_blockswhile fresh canonical construction runs inbulk_catchup. (#573)
Changed
- Fresh wallet projection cold validation now splits the
transparent_address_transactionreadback across up toprojector.build.accumulator_hashing_workersdisjoint hash-prefix key ranges (at most one range per 65,536 rows), matching the parallel range scan already used for primary output families while producing byte-identical READY digests and row counts. (#575) - Fresh wallet projection construction now scans the settled canonical replay prefix in parallel 4,096-block height chunks across up to
projector.build.accumulator_hashing_workersworkers into sharded outpoint sorters (splittingprojector.build.max_outpoint_sort_memory_bytesacross workers while enforcing a single sharedprojector.build.max_temporary_file_bytes_per_sorterceiling), flushing the final sharded runs in parallel duringoutpoint_sortwhile verifying every chunk boundary, the ordered canonical sequence digest, and the unsettled suffix identically. (#576) - Cached settled stored commitment-tree checkpoints in
zinder-query's in-memorySettledStatescache onEveryBlockcanonical stores so repeatedGetTreeStatelookups for settled blocks serve preformatted cached entries instead of re-reading RocksDB and re-encoding hexadecimal tree state on every call, while leaving unsettled blocks uncached across tip reorgs and stale reader generations. (#588) - Raised the default wallet-projection RocksDB reader open-file limit (
wallet.rocksdb.max_open_files) from64to1024, capped the wallet-projection writer live WAL ceiling (wallet.rocksdb.max_wal_bytes) at32 MiB(33554432bytes) while keeping materialized-view defaults unchanged, and enabled partitioned10-bits-per-key hybrid Ribbon filters with two-level index search and pinned top-level index and filter blocks on canonicalblock_hash_indexandtransaction_locationcolumn families and bulk SSTs. (#589) - Raised external sort merge fan-in up to
256runs (automatically scaled down when process file-descriptor headroom is tight) and recycled half ofprojector.build.max_outpoint_sort_memory_bytesinto the address-transaction sorter after outpoint sorting completes to eliminate intermediate merge spills during Mainnet wallet construction, added ancestor cgroup v2memory.maxandmemory.highdetection so processes honor systemd slice memory caps, created missing parent directories forzinder-projector's canonical secondary path at startup, and reported exact configured paths and underlying error causes acrosszinder-projectorandpublish-shielded-history. (#591) - Parallelized settled
ZSHRNG01segment construction andfs-veritysealing inzinder-compat-lightwalletd publish-shielded-historyacross bounded worker threads (--workers <COUNT>,1..=16, defaultmin(CPUs, 4)) with batched manifest durability during initial bulk catchup while preserving strict sequential height ordering, atomic rollback guarantees, and unchanged on-disk formats. (#604) - Streamed
ZebraJsonRpcbatchedgetblockresponses withoutserde_json::ValueDOM allocation, offloaded hex decoding (const-hex) and block-header parsing onto blocking worker threads, skipped redundanttip_id()polls strictly belowtip_height - reorg_window_blocksduring fixed-tip construction (clarified in ADR-0006 Decision 6), and tightened proactiveSourceSegmentSizerbackoff on dense epochs. (#605) - Eliminated duplicate depth-32 checkpoint root derivation in
CommitmentTreeAccumulator::cross_checked_pooland globalparking_lot::Mutexcontention inwith_frontier_root_memo, partitionedTreeHashersworker pools so asynchronous checkpoint tasks do not stall block commitment appends, and parallelized large/multi-pool leaf commitment decoding during canonical store construction. (#606) - Pipelined bulk
OrderedSstWriterSST compression and dual SHA-256 evidence hashing onto bounded-memory worker queues, overlapped secondary address-index and address-transaction sort-and-drain stages during multi-worker wallet projection construction, consolidated overlapping secondary phase labels intosecondary_address_derivationonzinder_wallet_projection_build_stage_duration_seconds, and updatedZINDER_PROJECTOR__BUILD__ACCUMULATOR_HASHING_WORKERSconfiguration docs. (#607) - Compacted
zinder-compat-lightwalletd's in-memorySealedHistoryindex from168B/block to45B/block on Linuxfs-veritysegments and109B/block on portable filesystems by packing per-slab validation state into 1 byte per block, omitting redundant per-row parent and height metadata, and lazily reading per-row SHA-256 digests fromfs-verity-verified segment files on first validation while preserving per-read digest verification on portable filesystems and leavingZSHRNG01wire bytes unchanged. (#608) - Batched shielded commitment-tree appends across Sapling, Orchard, and Ironwood pools during bulk canonical construction when
checkpoint_selection != every_blockand hashing workers exceed one, wired optional build-timeZINDER_PASTA_ASMsupport into Docker and Compose deployment targets with runtime CPU feature guards inzinder-bench, and addedzinder_ingest_canonical_tree_append_duration_seconds. (#609) - Wired
ZebraIndexerBlockSourceintozinder-ingest(ingest.source = "zebra-indexer-grpc") with lazy failover validation across[node]and[node_fallbacks.N], skipped redundanttip_id()polls on strictly settled history segments with continuity fallbacks, and prepared canonical blocks concurrently via byte-bounded out-of-order streams while preserving contiguous commit order. (#610) - Sharded wallet projection external sorting, draining, and SST writing across two-byte key prefixes while bounding concurrent merge descriptors and scaling default sort memory budgets from container memory limits. (#613)
Fixed
- Pre-register
zinder_node_rate_limited_totalandzinder_compat_block_range_stream_refusals_totalat zero on startup with# HELPand# TYPEmetadata so alerts and dashboards distinguish zero refusals from missing metrics. (#572) - Classify forwarded transparent UTXO and balance served-tip mismatches in
zinder-compat-lightwalletdasSERVED_TIP_MISMATCH(Code::Unavailable) withgrpc-retry-pushback-ms: 1000metadata instead ofNODE_UNAVAILABLE, and allow one boundedTipWaitcatch-up retry when the backing node is ahead of the served view. (#574) - Fixed a CPU regression on warm unary gRPC responses and
GetTreeStateby eliminating spurious HTTP/2 release-gate reschedules on held terminal trailers while preserving full probe gating across all response sizes, removing per-request middleware boxing, mutex, and timer allocations on public gRPC listeners, fast-pathingTipWaitwhen the requested height is at or below the visible tip, and moving warm settled tree-state cache hits onto a shared read lock with cached hexadecimal fields and zero per-callheight_bandstring allocations. (#577) - Decoupled
zinder-history-publisher's default container memory ceiling (ZINDER_HISTORY_PUBLISHER_MEMORY_LIMITset to4gMainnet,2gTestnet,1gRegtest) fromZINDER_COMPAT_MEMORY_LIMITand documented cgroup v2ZSHRNG01page-cache sizing for high-concurrency Mainnetzinder-compat-lightwalletddeployments. (#579)