Skip to content

v1.9.0

Latest

Choose a tag to compare

@zakura-release-bot zakura-release-bot released this 27 Nov 18:11
78aecf4

State format v32 changes storage and backups, while block push speeds mining relay.

Supported on Mainnet until block 3,660,343, around December 8, 2026. Upgrade warnings start about three days earlier.

Before you upgrade

  • State format v32 and disk space. First start upgrades the database in place and moves finalized transaction bodies to static files. Leave about 11 GB free on a Mainnet archive node. Downgrading requires a fresh sync or a pre-upgrade backup (#2146).
  • Update backups and RPC secondaries. Back up the whole state directory, including static_files, with zakurad stopped or a filesystem snapshot; don't hard link static files into restores. Upgrade RPC secondaries with their primary and stop them around zakurad rollback-state (#2146).
  • RPC results and readiness scripts. getblockchaininfo and verbose getblock add nsmValueBalance; getblock omits valueDelta without parent balances. Readiness scripts must wait for mempool activated. Former archives now treat bodies below the pruning marker as pruned (#2146, #2648, #2752).
  • Mainnet halt is mandatory. The end-of-support opt-out is removed. Mainnet nodes halt after block 3,660,343, projected for December 10, 2026; plan to upgrade again before that cutoff (#2757).

Highlights

  • Mining nodes push newly mined blocks to capable peers in the initial announcement group, saving one request round trip. Opt-in network.push_relayed_blocks also pushes committed relayed blocks (#2537).
  • Enable /submittrustedblock with rpc.enable_trusted_block_submission to relay before local validation and retain mining proposals. Submit only final bytes verified by a trusted full node; invalid blocks can lead to peer bans (#2534, #2702).
  • Opt-in [network.block_download_score_and_hedge] selects legacy peers by recent response times and can send one backup request when another peer is likely to deliver sooner or the first request stalls (#2572, #2595, #2596).
  • Experimental: [mempool] implementation = "core" selects the new pool, with less snapshot and per-block work. New metrics report pool size, reset recovery, and the resolved implementation (#2502, #2506, #2591, #2636).
  • Competing equal-work blocks whose bodies reach verification within 2 seconds are ranked by announcement order rather than block size, while the node preserves priority for its own mined block (#2605).
  • Nodes with mining.miner_address set export mining.mesh.* metrics tracking gateways named in recent blocks, the busiest gateway, and whether blocks announce the local gateway (#2676, #2708).

Library users

zakura_consensus and zakura_network change initialization signatures for announcement tracking and committed-chain subscriptions. BlockObject::new also requires nsm_value_balance after value_pools (#2605, #2648).

Full changelog

Added

  • Mining nodes push newly mined blocks to peers in the initial announcement
    group that advertise NODE_BLOCK_PUSH, saving one request round trip.
    The opt-in network.push_relayed_blocks setting also pushes blocks this
    node relays after it commits them, which can send an extra copy to a
    peer that already has the block
    (#2537).
  • Added the binary /submittrustedblock endpoint, enabled through
    rpc.enable_trusted_block_submission. It can start relaying a new block
    before local validation and follows the RPC listener's cookie-authentication
    setting. Submit only final block bytes verified by a trusted full node,
    because peers can ban a relay that sends an invalid block. Zakura withdraws
    pending announcements and responses when a submission is rejected or
    times out. The endpoint returns inconclusive when it cannot establish
    the result, so the caller can retry
    (#2534).
  • Added the opt-in [network.block_download_score_and_hedge] setting.
    With enabled = true, Zakura picks a legacy peer using recent response
    times and can send one backup request when a later announcer is likely
    to deliver sooner or the first request stalls. Peer and request events
    can trigger the backup. If you tried the feature in a development build,
    replace [network.block_source_score] and remove its second_request
    key
    (#2572,
    #2595,
    #2596).
  • Added the [mempool] implementation setting. default and classic keep
    the pool nodes run today. core runs the new pool core, which is
    experimental
    (#2502).
  • Added tx-relay, an experimental v2 P2P service that moves transactions
    between Zakura peers and hands them to the pool core. It is off by
    default. It runs only with [network.zakura.tx_relay] enabled = true, the
    v2 stack on, and [mempool] implementation = "core". While a peer has a
    live tx-relay session, the legacy adapter leaves that peer's
    transactions to it. New zakura.p2p.tx_relay.* metrics count what it
    moves, and the existing zakura.p2p.legacy.inbound.refused counter gains
    a type label. The experimental advert_delay (2 s),
    advert_window_full_tx (4) and advert_window_small_tx (16) keys tune
    its fan-out
    (#2503).
  • Added mempool metrics for canaries: the pool core exports how many
    transactions it pools and how many a reset took out that are not back
    yet, and mempool.implementation shows which pool the node resolved to
    (#2506).
  • Added zakura.p2p.tx_relay.registered, which says whether the node
    registered tx-relay
    (#2506).
  • zakurad now saves the Zakura P2P discovery book and reloads it at the next
    start, so a restarted node can reconnect to the native peers it already
    knew. The book follows network.cache_dir, including its disable setting.
    Every loaded record is re-verified
    (#2395).
  • getblockchaininfo and verbose getblock report the NSM value balance as an
    nsmValueBalance object, in the same shape as a valuePools entry. It is
    monitored from the block before NU7 activation
    (#2648).
  • The v2 peer-to-peer handshake offers the hybrid post-quantum key exchange
    X25519MLKEM768 ahead of X25519, so traffic between two upgraded nodes stays
    secret from a later quantum computer. Nodes without it still connect on
    X25519 in one round trip
    (#2674).
  • Added mining.miner_mesh, off by default. When it is on, block templates name
    the node's v2 gateway in the coinbase so other mining pools can find it, and
    the node refuses to start unless v2 networking is on and its v2 node key is
    stable across restarts
    (#2675).
  • A node with mining.miner_address set now counts the mining gateways named
    in the last two days of best-chain blocks and reports the count as
    mining.mesh.* metrics
    (#2676).
  • Each node exports two totals for v2 handshakes.
    zakura.quic.tls.key_exchange counts completed key exchanges by group
    (X25519MLKEM768), including exchanges whose handshake later fails.
    zakura.quic.tls.signature_verified counts peer signatures by scheme
    (ed25519_mldsa44) after both signature checks pass
    (#2682).
  • The trusted block endpoint can retain a mining proposal and serve the exact
    solved block to peers after local proposal verification or primary
    confirmation. Released jobs push the solved block directly to capable peers
    in the initial broadcast group by default. #2702
  • Mining nodes now keep connections to the mining gateways that recent blocks
    name most often, while the node is synced to the chain tip
    (#2686).
  • Added the getminermeshinfo admin RPC, which shows a node's miner mesh state:
    the gateways that recent blocks name, the connection places held for the
    best of them, how connection slots are used, and the node's v2 peers
    (#2687).
  • A pool can use mining.miner_mesh_gateways on its template node so that its
    blocks announce the pool's public relay as its miner mesh gateway. The
    relay keeps connection places for other pools' gateways when miner_mesh
    is enabled. It can list its own template nodes in
    mining.miner_mesh_template_nodes to reserve places within its peer memory
    budget. Listed nodes can use those places after the normal handshake even
    when ordinary inbound slots are full. getminermeshinfo reports the gateway
    named in this node's coinbases in announced_gateways and marks listed
    template nodes with template_node
    (#2759).
  • Added opt-in BPv1 block propagation on the zakura and dual P2P stacks.
    A miner commits an erasure-coded part root in its coinbase, and nodes relay
    each verified part as it arrives instead of waiting for the whole body.
    Enable it with [network.zakura.bpv1] enabled = true
    (#2707).
  • A node with mining.miner_address set now also reports the blocks that name
    the busiest mining gateway, whether it announces itself, and the blocks that
    name it, as mining.mesh.gateway.top_blocks, mining.mesh.announcing and
    mining.mesh.gateway.local_blocks
    (#2708).
  • The node now logs mempool activated once its mempool answers requests.
    With the pool core this comes shortly after activating mempool, which
    marks the decision to turn the mempool on, so a script that waits for a
    log line before calling an RPC such as getblocktemplate should wait for
    the new one (#2752).

Changed

  • With trace_dir set, the legacy request rows in legacy_peer_request.jsonl now follow
    network.expose_peer_addresses: they hold the peer's address when it is set and stay
    redacted when it is not. Each row also carries the peer's user agent, and a peer upgraded
    to Zakura gets one peer_upgraded row in handshake.jsonl with its trace label, its
    address under the same setting, and its user agent. The rows' peer_id column is now
    connection_id, the same number the connection's legacy_gossip.jsonl rows carry
    (#2455).

  • Serving a block to several legacy peers uses less CPU by reusing its
    serialized bytes and sharing its checksum across requests
    (#2556,
    #2557).

  • When Zakura is still verifying a locally submitted block, it waits to
    download a peer's copy until local verification fails or five seconds
    pass. The wait leaves the peer-download slot available. Its duration
    and outcome are recorded in metrics and, when enabled, in
    commit_state.jsonl
    (#2562).

  • The experimental core mempool builds each snapshot from the previous one,
    reducing CPU use as the pool fills
    (#2591).

  • The pool.route_inv.hedge.not_yet.count and
    pool.route_inv.hedge.no_candidate.count metrics count decisions to send
    a backup block request. pool.route_inv.hedge.held shows how many
    downloads are waiting for one
    (#2596).

  • A stalled v2 frame read now resets its session or one-shot request. Sibling
    services can keep using the connection. Header sync counts an unanswered
    subscription Close from the completion of its write. A second header-sync or
    block-sync stall on the same connection can close it without a peer fault
    (#2604).

  • Inbound v2 handshakes now share a node-wide rate of 24 starts a second for
    each source validation state. The last 8 tokens go only to an address within
    its share of 3 starts a second, so a few busy addresses can't refuse the rest.
    The 10-second handshake deadline now starts when the connection is accepted.
    Every TLS start keeps its node and address charges
    (#2604).

  • Discovery dispatch uses a wall-clock budget even when its receive queue fills.
    Header sync meters peer Status messages and locator walks for new
    subscriptions per connection, so reopening a session gets no fresh burst
    (#2604).

  • The experimental tx-relay service uses less memory with many connected
    peers. It sizes each peer's request window based on recent deliveries
    and announces new transactions to the lowest-latency peers first
    (#2623).

  • Finalized transaction bodies now move out of RocksDB into append-only
    static files in the state directory, in the background and at least 50
    blocks at a time. On first start the node upgrades its database in place
    to state format v32. Older releases can't open the upgraded database, so
    going back means a fresh sync or restoring a backup from before the
    upgrade (#2146).

  • A Mainnet archive node grows by about 11 GB at the peak of the move,
    because the new static files sit next to the old RocksDB data until
    RocksDB frees it. Leave that much free disk. If a static file write
    fails, for example on a full disk, moves stop until zakurad restarts, so
    free space and restart it
    (#2146).

  • Back up the static_files directory along with RocksDB, because a
    RocksDB checkpoint no longer holds finalized transaction bodies. Copy the
    whole state directory with zakurad stopped or take a filesystem snapshot,
    and don't hard link static files into a restore
    (#2146).

  • Upgrade read-only RPC secondaries together with their primary, and stop
    them around zakurad rollback-state. A v31 secondary can't follow a v32
    primary, and rollback shortens static files in place
    (#2146).

  • A pruned node that started as an archive used to keep serving old
    transaction bodies below its pruning marker. After the first static file
    move it treats them as pruned
    (#2146).

  • With the experimental core mempool, a new block no longer scans the whole
    pool for conflicting and expired transactions, so its cost follows the
    block's size instead of the pool's
    (#2636).

  • With the experimental tx-relay enabled, the
    zakura.p2p.tx_relay.inv_ids counter is now
    zakura.p2p.tx_relay.have_ids, because the announcement message is now
    called Have. Update dashboards that read the old name. The wire format
    is unchanged (#2665).

  • Ranked competing equal-work blocks by announcement order when their bodies
    reach the verifier within 2 seconds, regardless of block size. A native
    header or a legacy single-block inventory message (inv) can reserve a
    place, including on nodes with native header sync disabled. On legacy paths
    the reservation covers the final hop. A late or unclaimed body is ranked by
    arrival, and the node preserves priority for its own mined block over an
    earlier rival announcement. The sync.block.announcement_claim counter
    and sync.block.announcement_claim.age.seconds histogram report by block
    size and claim source. The sync.block.announcement_claim.refused counter
    reports full-table refusals by source
    (#2605).

  • Changed zakura_consensus::router::init_with_read_state to take the
    shared AnnouncementClaims table and a subscription to the committed
    non-finalized chains
    (#2605).

  • Changed zakura_network::init_with_zakura to take a BlockAnnouncementHook
    for legacy single-block announcements
    (#2605).

  • When legacy TCP warm-up is enabled, the default schedule sends two padded
    pings with 800,000 and 1,600,000 bytes of padding. This reduces the scheduled
    padding from about 5.67 MB to 2.4 MB. Existing ping size overrides retain the
    gradual ramp and the previous default for any omitted size. The concurrency
    limit also covers writes that are still finishing after the warm-up times out
    (#2610).

  • BlockObject::new takes a new nsm_value_balance argument after
    value_pools (#2648).

  • On Regtest, v2 peer exchange now carries loopback, private and unique-local
    addresses, so Regtest nodes on one host can find each other through peer
    exchange. Other networks are unchanged
    (#2673).

  • A v2 dial's first message now spans two packets. A dial the node refuses,
    retries or ignores is counted once per packet in
    zakura.quic.incoming.refused, .retried and .ignored and in the
    zakura.p2p.conn.retried.* and zakura.p2p.conn.rejected.* counters
    (#2674).

  • Breaking for v2 P2P: a node's ID is now the hash of the key list in
    the credential it proves in the TLS handshake, instead of its Ed25519
    public key, so every node's ID changes once. Key files don't change. The
    v2 handshake now requires the post-quantum hybrid key exchange
    X25519MLKEM768 and refuses a peer that offers only classical groups. The
    v2 protocol moves to version 4 (ALPN p2p-v2/4) with no overlap with
    version 3: nodes that run both stacks keep reaching older releases over
    the legacy protocol, and nodes that run only the v2 stack lose peers on
    older releases until those upgrade. Entries in zakura.bootstrap_peers
    and pinned network.unconditional_peers name a peer by its node ID, which
    a node prints for itself at startup, so existing entries need the peer's
    new ID (#2679).

  • Raised zakura-quic to 2.0.0. NodeId is 32 opaque bytes, so
    NodeId::key(), NodeId::verify_strict() and the conversion from a
    NodeKey are removed; NodeCredential and Conn::remote_key_list() are
    added (#2679).

  • Breaking for v2 P2P: v2 handshakes are now signed with a composite of
    Ed25519 and the post-quantum ML-DSA-44, and a peer is accepted only when
    both signatures verify. A node's ML-DSA-44 key derives from its existing
    key file, so no file changes, but every node's ID changes once more; this
    ships in the same release as the node ID change, so deployed IDs change
    once (#2680).

  • zakura-quic 2.0.0 also removes NodeKey::node_id(), since a node ID now
    covers the ML-DSA-44 key too, and adds ML_DSA_44_KEY_TAG,
    ML_DSA_44_KEY_BYTES, ML_DSA_44_SIGNATURE_BYTES and
    COMPOSITE_SIGNATURE_BYTES (#2680).

  • Raised the default v2 peer memory budget from 15 to 16 GiB to fund up to
    ten preferred mining gateways in addition to 92 ordinary peers. Explicit
    budgets fund ordinary peers first (#2681).

  • Nodes hold zero gateway places until a gateway ranking is published. At an
    equal-score cutoff, a ranking update preserves the preferred gateway while
    its authenticated connection is open. Rust callers
    tracking the development branch must update their use of HandshakeCounts:
    connections_full(inbound, cap) was removed. Use inbound_place_free(cap)
    for pre-TLS inbound capacity and free_ordinary_connections(cap) for ordinary
    outbound capacity. The result of claim_connection(node, inbound, cap) changed
    from bool to Result<SlotClass, SlotRefusal>.
    Direct constructors of ZakuraLocalLimits also supply max_preferred_connections.

  • At startup, zakurad replaces a default seed's pre-p2p-v2/4 node ID in
    zakura.bootstrap_peers with the seed's current ID, keeping the address
    as written. It also overwrites those IDs in the config file in place, so
    the change persists. Nothing else in the file changes, and the file keeps
    its owner, permissions and access control lists. Each replacement is
    logged with the old and new entry. A read-only file, or one zakurad can't
    write, is left alone with a warning, and the node uses the new IDs for
    that run. An old entry is left as it is when the list already names that
    seed by its current ID
    (#2698).

  • A mining node prefers a mining gateway only once at least ten blocks of the
    last two days name it
    (#2706).

  • The miner mesh coinbase marker names a mining gateway by the first 20 bytes
    of its v2 node ID, so the marker output takes 34 bytes instead of 46. In
    getminermeshinfo, gateways[].node_id is renamed gateway_id, and a
    gateway that two known nodes both match is reported as ambiguous and is not
    preferred
    (#2720).

  • A block counts toward a mining gateway once it is 10 blocks below the tip
    instead of 100, so a newly announced gateway is preferred about four minutes
    after its tenth block
    (#2722).

  • The miner mesh marker in coinbase outputs now starts with the tag MR instead of MESH, so the marker output takes 46 bytes (#2709).

  • Breaking for v2 P2P: the v2 handshake's key exchange moves to NIST
    security category 5, X25519MLKEM1024, and handshakes are signed with a
    composite of Ed25519 and ML-DSA-65 (category 3). Every node's ID changes
    again and the v2 protocol moves to version 5 (ALPN p2p-v2/5) with no
    overlap with version 4, so nodes on v1.9.0-rc2 reach this release only
    over the legacy protocol. Key files don't change, but entries in
    zakura.bootstrap_peers and pinned network.unconditional_peers name a
    peer by its node ID, which a node prints for itself at startup. Zakura
    updates built-in seed entries in zakura.bootstrap_peers directly from
    their version 3 IDs to version 5. Update other pins to the peer's new ID.
    The dialer sends an additional 1,200-byte
    datagram with its hello so a normal dial still completes in one round
    trip. Each handshake moves about 17.5 KB in place of 12.5 KB (#2723).

  • zakura-quic replaces ML_DSA_44_KEY_TAG, ML_DSA_44_KEY_BYTES and
    ML_DSA_44_SIGNATURE_BYTES with ML_DSA_65_KEY_TAG, ML_DSA_65_KEY_BYTES
    and ML_DSA_65_SIGNATURE_BYTES, and COMPOSITE_SIGNATURE_BYTES grows to
    3,373 (#2723).

  • Zakura generates the ML-DSA signing key when it loads the node identity and
    reuses it across handshakes (#2723).

  • With BPv1 enabled, nodes announce their verified parts to the block's proposer, so the proposer's trace records when each neighbour obtained each part (#2726).

  • The BPv1 coinbase commitment output now starts with the tag BP instead of BPV1, so the output takes 46 bytes, and a long poll returns a BPv1 template on a new tip without building its coinbase again (#2727).

  • With BPv1 enabled, a block submitted through the trusted block submission endpoint is now published over BPv1 once it commits. Before, only submitblock published solved blocks over BPv1 (#2729).

  • Nodes whose P2P stack runs v2 (dual or zakura) now run the pool core
    and tx-relay by default. Testnet and Regtest default to dual, so they
    move to the core. Mainnet defaults to legacy and keeps today's pool
    unless its operator turned on v2. [mempool] implementation = "default"
    now resolves from the stack, and [network.zakura.tx_relay] enabled now
    defaults to true, so tx-relay follows the pool. Set
    [mempool] implementation = "classic" to go back to today's pool and turn
    tx-relay off, or [network.zakura.tx_relay] enabled = false to keep the
    core without tx-relay. A value written in a node's own config still wins
    (#2732).

  • Raised the default v2 peer memory budget from 16 to 17 GiB, so a node
    running tx-relay still funds 92 ordinary peers and ten preferred mining
    gateways. Config load now checks an explicit budget without tx-relay's
    shares, so a v2 node set to classic loads with the same budget as before
    (#2732).

  • A transaction's block production fee weight ratio is no longer capped at 13,
    so mempool fee metrics report how much each transaction pays above the
    conventional fee (#2739).

  • Extended Mainnet support through block 3,660,343, with end of support
    expected around December 10, 2026
    (#2742).

  • A later release can add or retire a v2 signature key without changing how
    peers reach a node. A dial to the node ID a peer had before it added a key
    still connects, the node is then tracked under its new ID, and a retired
    key stays in the credential as a 32-byte fingerprint, which keeps the node
    ID. These rules ship with protocol version 5 (ALPN p2p-v2/5), so they
    need no further break. A zakura.bootstrap_peers entry that names a peer
    by an earlier node ID keeps working and logs one warning per start that
    asks for the new ID. A preferred gateway that returns to its original ID
    can reclaim its reserved place even when ordinary slots are full. The
    next reachable gateway can use the place while the rollback probe waits.
    Discovery preserves room for configured bootstrap peers when a preferred
    gateway answers under an ordinary node ID.
    The miner mesh report recognizes a connected gateway under its earlier ID
    even after discovery evicts its earlier address record.
    A pinned network.unconditional_peers entry still
    matches its node ID exactly and needs the new ID
    (#2744).

  • zakura-quic adds Conn::dialed_id(), CredentialKey,
    NodeCredential::with_fingerprint_only() and
    CredentialError::FingerprintOnly. NodeCredential::from_entries takes
    either full keys or CredentialKey values. Conn::remote_id() can differ
    from the dialed node ID when the peer has added a key
    (#2744).

  • A pinned network.unconditional_peers entry and a preferred mining
    gateway's held connection place now follow a peer that adds a v2 signature
    key. A pin that names the node ID the peer had before keeps working: the
    peer counts as connected and its address stays exempt while its connection
    proves the pinned ID, and the node logs one warning per start that asks
    for the new ID. A gateway that blocks still name by its earlier node ID
    keeps its held place under its new node ID, whether the node dials it or
    it calls in, and getminermeshinfo reports it as preferred and
    connected. Two connected nodes that prove one gateway's ID make it
    ambiguous. A returning gateway can displace a lower-ranked gateway only
    while preserving the node's outbound reserve. A dialed gateway stays
    connected in its ordinary slot while it waits for promotion. No node ID, record or
    protocol version changes
    (#2766).

  • zakura-quic adds Conn::remote_earlier_ids(), the earlier node IDs a
    connection's peer proved in its handshake, in both directions, and
    MAX_EARLIER_NODE_IDS
    (#2766).

  • V2 discovery records allow room for a post-quantum signature and its public
    key. The discovery requester checks the reply length against its query before
    reading the payload. Each admitted v2 connection budgets 584,304 more bytes.
    The default network.zakura.peer_memory_budget_bytes still funds the default
    connection count. A custom budget can now fund several fewer connections.
    If it funds fewer than the minimum, the node refuses to start. Raise the
    budget or reduce the configured QUIC windows or handshake headroom
    (#2768).

  • A v2 node key list may now hold 32 entries, where the limit was 4, so a
    node ID can take 30 more signature keys over its lifetime before a
    protocol break. A dial to a node ID that a peer had before it added keys
    is now accepted only when that ID names the first entries of the peer's
    current key list, in order. A later release therefore adds each key
    after the ones a node already has. Nodes with today's two keys keep
    their node IDs, and nothing changes for them on the wire. A v2 discovery
    record may now be up to 9,601 bytes, where the limit was 8,649, because
    it carries the whole key list. Each admitted v2 connection budgets
    70,448 more bytes. The default
    network.zakura.peer_memory_budget_bytes still funds the default
    connection count. A custom budget may fund fewer connections after the
    upgrade. If it can no longer fund the minimum number of connections, the
    node refuses to start. To keep the same capacity, increase the budget
    by 70,448 bytes per admitted connection before upgrading
    (#2770).

  • zakura-quic raises MAX_NODE_KEYS to 32 and MAX_NODE_KEY_LIST_BYTES
    to 1,089, keeps MAX_CREDENTIAL_BYTES at 10,385 as a limit on the whole
    credential, and adds CredentialError::TooLong for a credential above
    it (#2770).

  • A v2 discovery record is now signed with the node's ML-DSA-65 key as well
    as its Ed25519 key, and a node refuses a record without both signatures.
    The record carries the ML-DSA-65 public key and signature in its
    extension area, so a default node's record grows from 361 to 5,630 bytes
    and the outgoing Peers budget rises to 67,562 bytes, enough for 12
    signed records of that size. A native discovery stream sends the full
    Hello on connection and when the signed record changes. Peer queries slow
    from 15 to 60 seconds while the node meets its ordinary connection target
    and has at least two dialable spares. Live-service queries continue every
    15 seconds. Discovery-only connections allow up to eight seconds for the
    dialer to import the reply, and close early when the exchange finishes.
    A node running this release rejects an Ed25519-only discovery record
    from an earlier p2p-v2/5 build and disconnects, so upgrade a fleet
    in one pass
    (#2772).

Removed

  • Removed the end-of-support opt-out and restored the mandatory Mainnet halt
    after block 3,660,343, the cutoff projected for December 10, 2026
    (#2757).

Fixed

  • Restoring the discovery peer book at startup preserves a newer live
    sighting of the same peer record
    (#2772).
  • Count inbound TLS attempts and control handshakes against one pending budget,
    so outbound dials cannot exceed the limit while inbound TLS attempts remain
    pending (#2337).
  • Limit the entire v2 control handshake to ten seconds in both directions, so
    peers cannot extend an inbound claim or a dial's pending-handshake permit by
    pacing successive control steps
    (#2337).
  • Close v2 connections neutrally when their handshake captures an obsolete
    capability generation, so an in-flight handshake cannot miss header-sync
    renegotiation (#2337).
  • Limit failed inbound v2 handshake attempts per address with a refundable
    cadence derived from the connection limit and dialer backoff: sixteen tokens
    and sixteen tokens per second by default. Validated and unvalidated sources
    have separate ledgers, so spoofed Initials can't lock out an honest
    address. An empty bucket answers an unvalidated source with Retry and a
    validated one with Refuse, counted by zakura.p2p.conn.retried.cadence
    and zakura.p2p.conn.rejected.cadence
    (#2337).
  • Drop a closed v2 QUIC connection's state within three seconds, so a peer
    with a long or delayed return path cannot hold a closing-connection slot for
    three of its probe timeouts
    (#2337).
  • Nodes start successfully when ZAKURA_TRACE_PEER_NAMES names fleet peers for
    the gossip trace, instead of rejecting it as an unknown configuration field
    (#2455).
  • The mempool no longer remembers a transaction as rejected when its
    verification failed on this node, such as a failed median-time lookup, so
    resending it before the next block can admit it
    (#2502).
  • On macOS, the raw trace endpoint returns HTTP 403 when a requested table is a
    Unix socket (#2534).
  • Preserve a concurrent block announcement from another peer when a pushed
    body is rejected
    (#2537).
  • Fixed Windows nodes ignoring the existing state database after a major
    database format upgrade and syncing from genesis instead
    (#2563).
  • The internal miner now switches from a coinbase-only block template to one with
    transactions on the same tip, instead of mining an empty block whenever the first
    template after a new tip had no transactions
    (#2586).
  • The internal miner no longer keeps solving a replaced block template when the
    update arrives during an Equihash attempt that finds no solutions
    (#2586).
  • Stop Zakura block sync from requesting a block it already verified after a
    reorg moves the verified tip past queued downloads. The reset now drops that
    retired work instead of leaving it queued until the next block commits
    (#2597).
  • Block sync keeps an in-flight download when a competing block commits at the
    same height and the requested block is still on the selected header chain.
    While the chains diverge, peers are offered blocks through their shared parent.
    (#2598).
  • The block-sync liveness deadline allows the next body a peer owes to transfer
    at 256 KiB/s. Returned ranges and new requests add no time, so re-issuing work
    cannot move it (#2604).
  • Fixed a delayed block-verification verdict penalizing a peer's replacement
    connection; the verdict now applies to the connection that supplied the block
    (#2604).
  • Fixed a peer's answer from another chain after a reorg closing its whole v2
    connection; the node now resets only the block-sync session and requeues the
    heights (#2604).
  • Fixed the discovery dial history growing without a cap; it now keeps at most
    32,768 entries (#2604).
  • Fixed a replaced v2 connection releasing its per-IP slot while the old
    connection still ran
    (#2604).
  • Fixed nodes with pruned storage downloading old blocks they had already
    finalized each time a peer announced them
    (#2612).
  • Fixed legacy transaction downloads failing with notfound when the peer that
    advertised the transaction was busy: the download now waits up to 2 s for that
    peer instead of asking a peer that doesn't have the transaction yet
    (#2617).
  • With [mempool] implementation = "core", a legacy peer can no longer hold
    more than five undecided transactions by sending children whose parents
    are missing: the pool core now ends an admission at the peer's 73 s
    deadline before its slot is freed. A peer re-advertising ids that are
    already being fetched no longer loses its new ids for lack of a slot
    (#2619).
  • With [mempool] implementation = "core", a transaction waiting on missing
    parents is checked again at once for the first two parents to arrive per
    block, then at most every 10 s, instead of once per arriving parent
    (#2619).
  • Header sync now takes equal peer offers in arrival order, so peers that
    reconnect under fresh keys or overstate their chain work can't keep an
    honest peer's headers from being requested
    (#2638).
  • With the experimental tx-relay enabled, a new connection accepts at
    most its peer's 544 KB Have opening allowance plus what 256 KB/s earns
    since the handshake, instead of about 44 MB
    (#2637).
  • Verbose getblock omits valueDelta when the parent block's balances are
    missing, instead of reporting each whole balance as the block's change
    (#2648).
  • The built-in Mainnet and Testnet v2 bootstrap peers, and the default
    config's zakura.bootstrap_peers, now name the seeds by their
    post-quantum node IDs, so a v2-only node can bootstrap again
    (#2698).
  • Overlapping deliveries of one block from legacy gossip, block sync, and BPv1 now verify the block's transactions once; the later deliveries return a duplicate (#2726).
  • With BPv1 enabled, BPv1 leaves blocks more than 16 above the verified tip to block sync, applies blocks only while native sync owns applies, and times out a stuck submission after two minutes (#2726).
  • With BPv1 enabled, a node checks the coinbase binding, height, target, and proof of work of block metadata whose parent header is unknown before it holds the metadata, and it closes peers that send invalid ones (#2728).
  • With BPv1 enabled, block metadata that waits for its parent resumes when header sync moves the best header past the parent to the block itself, so the block still arrives through BPv1 (#2728).
  • With BPv1 enabled, a node now closes every peer that sent the same failed block metadata, and it checks a relay's differing copy before it falls back to block sync (#2730).
  • With BPv1 enabled, a node now closes a peer that repeats a retired block's metadata, or that reuses or overlaps a part request before the node writes that request's end (#2730).
  • With BPv1 enabled, a block keeps BPv1's body claim while it verifies, so block sync no longer downloads a second copy, and verification falls back to block sync after two minutes (#2731).
  • With BPv1 enabled, a retryable verdict on a block whose parent is not committed keeps the assembled body and resubmits it once the parent commits, instead of downloading the block again (#2731).
  • With BPv1 enabled, the block whose parent is the verified tip always gets a BPv1 slot, even when every slot holds a block waiting on its parent (#2731).
  • Recover stalled dual nodes near the chain tip sooner when legacy peers have blocks ahead
    (#2748).
  • With BPv1 enabled, a peer that reconnects while one of its blocks is in admission now gets the block's metadata on its new connection, so the node pulls the block's parts from it instead of offering it the same pull request repeatedly until the block falls back to block sync (#2761).
  • With BPv1 enabled, a peer's replaced connection no longer cancels the part buffer charge of a part that its new connection delivered, so the node stores that part (#2761).
  • With BPv1 enabled, a peer's replaced connection no longer releases a pull request that its new connection holds, so the node no longer requests the same part twice after a reconnect (#2761).
  • With BPv1 enabled, a peer's replaced connection now releases its pending pull requests and pushes when it ends, and an ended connection no longer clears what the peer's new connection already announced, so the node keeps pulling from a peer that reconnects (#2761).
  • With BPv1 enabled, a part that a reconnected peer pushes again on its new connection stays expected when the old connection ends, keeps the time by which the node expected it, and can't be taken back by a late message from the old connection. The node can also pull a part from the new connection that the old connection had been pushing (#2761).

Security

  • Header sync counts a filled page reservation as progress only after the round
    stages a fair share of headers (250), so a peer that advertises one-header
    pages can't hold its round with one header per request timeout. A round that
    starts its validation gets a fresh request deadline
    (#2604).

  • Header sync now stops starting Equihash checks after the first invalid header
    and checks a page's credit before hashing it, and discovery checks a Hello's
    network and chain before its signature
    (#2604).

  • With the experimental tx-relay enabled, orphan transactions and late
    notfound answers now shrink a peer's request window, and tx-relay
    fetches can hold at most 250 of the pool core's 500 slots, so peers can't
    crowd out local submissions, legacy peers or re-admissions after a reset
    (#2634).

Also in CHANGELOG.md.