You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Simplify node payment settlement: drop PaymentPool close monitor + dead pairwise-channel dispute residue #1763
Node-side settlement simplification, split out of the #1037 investigation (which turned out to be resolved-by-design — see that issue).
Background
Under the shared PaymentPool, a node's only defense against an owner's grace-window close is to redeem its vouchers before reclaim. The dedicated PoolCloseInitiated close monitor that force-redeemed at a zero floor added nothing the periodic redeem sweep doesn't already provide, and its one unique behavior (force-redeeming sub-redeem_threshold dust) was uneconomical. Separately, the buyer/seller layer migrated from pairwise payment channels to pools, leaving dead residue of the old closeChannel/disputeChannel/settleChannel/cooperative-close model.
Scope
Drop the PoolCloseInitiated close monitor; rely on the redeem sweep, capped at 6h so it always runs well inside the 48h grace window. Rewrite ADR 003 / appendix-fraud-detection / architecture.md to the sweep canon.
Remove dead pairwise-channel dispute residue (metrics counters + docs with no live emission site: buyer_unilateral_close*, settlement_dispute*, cooperative_close*, serve_stream_rejected_cooperative_close*, and the settleChannel finalization / auto-settlement closeChannel families). The buyer service itself (BuyerPoolService) is already clean pool code.
Activity