Skip to content

v0.26.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 18:59
· 147 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.26.0
f40fa20

[0.26.0] - 2026-11-25

Added

  • Export canonical construction progress as zinder_ingest_construction_loaded_height and zinder_ingest_construction_target_height Prometheus gauges and update /readyz (current_height, cause.syncing.lag_blocks) and zinder_readiness_sync_lag_blocks while fresh canonical construction runs in bulk_catchup. (#573)

Changed

  • Fresh wallet projection cold validation now splits the transparent_address_transaction readback across up to projector.build.accumulator_hashing_workers disjoint 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_workers workers into sharded outpoint sorters (splitting projector.build.max_outpoint_sort_memory_bytes across workers while enforcing a single shared projector.build.max_temporary_file_bytes_per_sorter ceiling), flushing the final sharded runs in parallel during outpoint_sort while 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-memory SettledStates cache on EveryBlock canonical stores so repeated GetTreeState lookups 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) from 64 to 1024, capped the wallet-projection writer live WAL ceiling (wallet.rocksdb.max_wal_bytes) at 32 MiB (33554432 bytes) while keeping materialized-view defaults unchanged, and enabled partitioned 10-bits-per-key hybrid Ribbon filters with two-level index search and pinned top-level index and filter blocks on canonical block_hash_index and transaction_location column families and bulk SSTs. (#589)
  • Raised external sort merge fan-in up to 256 runs (automatically scaled down when process file-descriptor headroom is tight) and recycled half of projector.build.max_outpoint_sort_memory_bytes into the address-transaction sorter after outpoint sorting completes to eliminate intermediate merge spills during Mainnet wallet construction, added ancestor cgroup v2 memory.max and memory.high detection so processes honor systemd slice memory caps, created missing parent directories for zinder-projector's canonical secondary path at startup, and reported exact configured paths and underlying error causes across zinder-projector and publish-shielded-history. (#591)
  • Parallelized settled ZSHRNG01 segment construction and fs-verity sealing in zinder-compat-lightwalletd publish-shielded-history across bounded worker threads (--workers <COUNT>, 1..=16, default min(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 ZebraJsonRpc batched getblock responses without serde_json::Value DOM allocation, offloaded hex decoding (const-hex) and block-header parsing onto blocking worker threads, skipped redundant tip_id() polls strictly below tip_height - reorg_window_blocks during fixed-tip construction (clarified in ADR-0006 Decision 6), and tightened proactive SourceSegmentSizer backoff on dense epochs. (#605)
  • Eliminated duplicate depth-32 checkpoint root derivation in CommitmentTreeAccumulator::cross_checked_pool and global parking_lot::Mutex contention in with_frontier_root_memo, partitioned TreeHashers worker 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 OrderedSstWriter SST 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 into secondary_address_derivation on zinder_wallet_projection_build_stage_duration_seconds, and updated ZINDER_PROJECTOR__BUILD__ACCUMULATOR_HASHING_WORKERS configuration docs. (#607)
  • Compacted zinder-compat-lightwalletd's in-memory SealedHistory index from 168 B/block to 45 B/block on Linux fs-verity segments and 109 B/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 from fs-verity-verified segment files on first validation while preserving per-read digest verification on portable filesystems and leaving ZSHRNG01 wire bytes unchanged. (#608)
  • Batched shielded commitment-tree appends across Sapling, Orchard, and Ironwood pools during bulk canonical construction when checkpoint_selection != every_block and hashing workers exceed one, wired optional build-time ZINDER_PASTA_ASM support into Docker and Compose deployment targets with runtime CPU feature guards in zinder-bench, and added zinder_ingest_canonical_tree_append_duration_seconds. (#609)
  • Wired ZebraIndexerBlockSource into zinder-ingest (ingest.source = "zebra-indexer-grpc") with lazy failover validation across [node] and [node_fallbacks.N], skipped redundant tip_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_total and zinder_compat_block_range_stream_refusals_total at zero on startup with # HELP and # TYPE metadata so alerts and dashboards distinguish zero refusals from missing metrics. (#572)
  • Classify forwarded transparent UTXO and balance served-tip mismatches in zinder-compat-lightwalletd as SERVED_TIP_MISMATCH (Code::Unavailable) with grpc-retry-pushback-ms: 1000 metadata instead of NODE_UNAVAILABLE, and allow one bounded TipWait catch-up retry when the backing node is ahead of the served view. (#574)
  • Fixed a CPU regression on warm unary gRPC responses and GetTreeState by 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-pathing TipWait when 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-call height_band string allocations. (#577)
  • Decoupled zinder-history-publisher's default container memory ceiling (ZINDER_HISTORY_PUBLISHER_MEMORY_LIMIT set to 4g Mainnet, 2g Testnet, 1g Regtest) from ZINDER_COMPAT_MEMORY_LIMIT and documented cgroup v2 ZSHRNG01 page-cache sizing for high-concurrency Mainnet zinder-compat-lightwalletd deployments. (#579)