Skip to content

client: persisted accrual trails the node's verified chain frontier across processes #2169

Closed

Description

@thiras

Summary

A new client process can resume a lane from a persisted accrual that trails the frontier the node verified. Its first voucher then under-folds the lane's live hash chain. #2167 makes the node reject that voucher with the resume bundle, so the stream now heals in one round trip instead of stalling for 10 s. The client-side cause is still unknown.

Evidence

In the #2167 testnet run (pool 0xcb5986…, nodes on 74b13a5c), earlier CLI processes (0458fa…, 24b77e…) left live chains on fra1 and nbg1. The next CLI process sent a first voucher with an amount above the node's signed last_amount but below its live claim (last_amount + verified_index × chunk_price).

adr/003-payments.md §Chain length and rollover and crates/incentive/src/lane.rs (the fold check in advance_presigned) state that no honest payer reaches this state. Issuance is serialized under the payer's lock, and a folding voucher also rolls.

Suspected path (unconfirmed)

A reveal whose send failed locally but still reached the node. The node advances verified_index. The client does not count the reveal in the accrual it persists at the end of the fetch. The next process resumes from the lower figure.

Scope

Follow-up to #2167.

Activity

  1. added
    kind:bug
    rust
    area:cli
    status:mainnet-blocking
    area:payments
    on Sep 26, 2026
  2. self-assigned this
    on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cliarea:paymentskind:bugruststatus:mainnet-blocking

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions