Release Notes - v0.220.4
v0.220.4
Section titled “v0.220.4”Title: Improve consensus performance and protocol validation
Release date: 2026-11-18
Version: v0.220.4
This release improves consensus performance, validates active leader assignments and Conway transaction data more precisely, strengthens chain selection and peer sharing behavior, and clarifies ledger parameter compatibility.
Performance
Section titled “Performance”- Improved Byron PBFT state updates by using a shared append-only log and advancing the newest state in constant time without copying or recounting the issuer window. Branch and rollback behavior remains unchanged. At
k=2160, the benchmark improved from about 12,500 ns, 65,536 B, and 1 allocation to about 105 ns, 153 B, and 0 allocations.
Breaking Changes
Section titled “Breaking Changes”-
Corrected non-Byron block issuer validation to use the active leader distribution snapshot through
VerifyConfig.LeaderPoolVrfKeyHash. Callers that validate issuers must provide this callback; retired or not yet active VRF rotated pools still validate when the slot snapshot includes them. -
Updated Praos chain selection to compare operational certificate issue numbers when the slot and cold issuer match, choosing the higher number before comparing VRF output.
ChainTipimplementations must now provideIssuerVkey()andOpCertSequenceNumber(). -
Enforced a five-slot equal-height VRF distance limit for Conway and later candidate switching through
PreferCandidateandPreferredCandidate.PraosChainSelectornow exposesProtocolMajor, older preferred switching methods are deprecated, and customChainSelectorimplementations must add the new methods. -
Renamed Dijkstra parameter 55 to the canonical
RefInputsCostPerMultiAssetByteandrefInputsCostPerMultiAssetBytenames while retainingRefInputsCostPerMultiAssetPolicyas a deprecated alias. Conflicting alias values are rejected, and CBOR key 55 remains unchanged; configurations should use the canonical names without conflicting aliases.
Bug Fixes
Section titled “Bug Fixes”-
Rejected malformed present Conway optional transaction body fields when their CBOR major types do not match the expected types before typed decoding. Omitted fields and valid zero, array, and map encodings remain accepted, while malformed null, undefined, and other wrong types are rejected.
-
Restored Conway DRep deregistration refunds used in phase 2 invalid value conservation to the certificate amounts rather than recorded deposits. Certificate deposit rules continue to apply phase-gated agreement validation.
-
Prevented
Client.GetPeersfrom sending a mini protocol 10ShareRequestwhen local peer sharing is disabled; it now returnsErrPeerSharingDisabledLocallyfirst. Servers continue to answer incoming requests with emptySharePeers, preventingUnknownMiniProtocolresets.
Full Changelog: v0.220.3…v0.220.4
Release: v0.220.4
Docs authored by Doc Holiday