Release Notes - v0.216.3
v0.216.3
Section titled “v0.216.3”Title: Improve protocol reliability and decoding safety
Version: v0.216.3
This release improves local protocol handling, memory use during block decoding, canonical query encoding, chain validation, restart recovery, Dijkstra datum checks, and defensive decoding.
New Features
Section titled “New Features”-
Improved LocalTxMonitor mempool checks by postponing transaction parsing until
HasTx. It now caches transaction IDs, prunes them across snapshots, clears them onRelease, compares raw ID bytes, and reports parse failures with the transaction index and era. -
Reduced memory retained by Shelley-family block-header decoding by sharing CBOR backing storage across header bodies and byte-string fields. Treat shared byte strings as immutable, or copy them before mutation.
-
Canonicalized local state query pool ID sets as tag
258definite-length arrays of sorted unique IDs. The client-side encoder now rejects pool ID filters containing more than10,000IDs before sending the request and uses the updated emptyGetStakePoolParamsencoding.
Bug Fixes
Section titled “Bug Fixes”-
Validated Byron main-chain and epoch-boundary body proofs during block-local validation. Byron validation now skips ETA0 lookup.
-
Preserved the first client message across server mini-protocol restarts for chainsync, blockfetch, txsubmission, peersharing, leiosnotify, leiosfetch, and leiosvotes.
-
Expanded top-level Dijkstra supplemental datum checks to accept justifications from subtransaction outputs, collateral returns, and reference-input UTxOs while keeping subtransaction isolation and legacy behavior.
-
Limited recognized predicate failure field lists to
16entries before allocation and kept unknown constructors as raw CBOR. -
Corrected TPraos
DebugChainDepStatedecoding to use the actual layout, return epoch, previous-epoch, and lab nonces, and reject malformed fields. -
Streamlined metadata JSON conversion by rendering error paths only when needed. Successful conversions avoid those allocations while the converter preserves error text and wrapping.
-
Hardened
cbor.Ratdistribution-reply decoding by limiting replies to two elements, validating integer and bignum forms, and rejecting malformed rational inputs before making large allocations.
Full Changelog: v0.216.2…v0.216.3
Release: v0.216.3
Docs authored by Doc Holiday