Repository navigation
docs(adr): adopt shared payment pool over pairwise channels - #1650
Conversation
|
Warning Review limit reached
Next review available in: 4 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (8)
WalkthroughThe ADRs replace provider-specific payment channels with shared payment pools. The model adds delegated signer capabilities, provider-addressed voucher lanes, per-redemption FeeRouter settlement, grace-period reclaim, updated protocol rejection handling, and aligned architecture and deployment guidance. ChangesPayment pool protocol redesign
Estimated code review effort: 4 (Complex) | ~45 minutes Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the deCDN ADR set to replace the pairwise (client, provider) payment-channel model with a shared on-chain payment pool backing off-chain vouchers, keeping the change strictly in design documentation (no code/contracts).
Changes:
- Rewrites ADR 003 to specify the shared pool + capability-authorized signers + per-
(signer, provider)lanes, and updates associated threat model/operational assumptions. - Updates contract-surface documentation (ADR 016) to reflect the new
PaymentChannelpool API (openChannel,redeem,closeChannel,reclaim) and related flow diagrams/tables. - Reconciles protocol/account-abstraction docs (ADR 005, ADR 024, architecture overview, L2 appendix) to match the new voucher fields (
signer,provider) and new close/reclaim semantics.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| adr/003-payments.md | Replaces pairwise channels with shared payment pool + capability/voucher model and lane-based redemption/close semantics. |
| adr/016-contract-interactions.md | Updates the documented smart-contract surface and interaction tables/flows for pool-backed redeem and reclaim lifecycle. |
| adr/005-protocol.md | Updates wire/protocol semantics for voucher fields and new reject reasons aligned to the pool model. |
| adr/024-account-abstraction.md | Reframes AA/session-key discussion around capability-authorized signers and separates signature validation from accounting/lane mechanics. |
| adr/appendix-l2-deployment.md | Adjusts L2-selection rationale for “opens are rare/off hot path” under the pool model. |
| adr/architecture.md | Updates the living architecture overview’s payments chapter description to the shared pool design. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Update (2nd commit): downstream reconciliation done. The whole
Remaining open item: |
Coverage reportTotal: 80.88% (was 80.88%, ● 0.00%) — 60163/74382 lines No Rust files changed in this PR. History
|
Replace the one-(client,provider)-channel-per-pair payment model with a
shared pool: one funded deposit backs off-chain vouchers from many capped
signers to many nodes.
- adr/003: rewrite the payment model as a pool. Owner-signed capabilities
({signer, spending_cap, channel_id, expiry}, node-agnostic) plus
signer-signed node-addressed vouchers ({channel_id, signer, provider,
cumulative, bytes_delivered, nonce, token}). Contract enforces per-signer
caps via authorized[channel][signer], a two-dimensional sharded register
watermark[channel][signer][provider], register-the-capability-once, and
pay min(delta, remaining) as the solvency backstop. Regular close only
with the ~2-day grace window, finalized per (signer, provider) lane;
reclaim returns deposit minus total redeemed. Drop cooperative close.
Revocation is expiry + node-side stop-serving, no redemption-gating epoch.
Credit window (per-node unredeemed exposure, D >= Q_b x c) is node policy,
not contract.
- adr/016: PaymentChannel surface updated to the pool (openChannel(deposit),
redeem, closeChannel, reclaim; sharded register; events; call/fund tables).
- adr/024: account abstraction operates on signature validation (who may
sign); many concurrent independent signers on one pool is an
accounting-layer property (the sharded register), not a signature scheme.
- adr/appendix-l2-deployment: opens are now rare and off the fetch path, so
chain choice is a cost/neutrality decision; chain-agnostic, Arbitrum One
selection unchanged.
- adr/architecture: living overview payment description updated.
- adr/005: reconcile the voucher wire format (adds signer/provider),
VoucherRejectReason enum (WrongProvider, CapExceeded; drop
CooperativeCloseSigned), and the watermark-bundle self-heal to the pool.
Payment model is chain-agnostic (no L1 vs L2 decision here).
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Sweep the rest of the adr/ folder for pairwise-channel prose left after the pool rewrite, so the ADR set is internally consistent. - appendix-fraud-detection: retitled to "Permissionless Settlement Analysis". Under the pool there is no stale-close/disputeChannel vector (redemption is provider-only and final; close only starts the grace window). Reframed around off-chain settlement-flow analysis (self-routing/wash-trading) plus the node's own in-process redemption monitor as self-protection. Inbound links updated in architecture, 009, 016, 005, 003. - appendix-operator-key-rotation: rotation waits on redeeming provider lanes (no dispute window); old keystore retained while outbound pools' signer vouchers remain unredeemed; capability expiry gives native revocation. - 012-client: owner/signer roles, capability delegation (cap + expiry), key-compromise response via expiry revocation + close/reclaim. - 017-privacy: P-02/P-22 keyed on pool owner + redemption events; channel_id = keccak256(owner, channelNonce); redeem, not settle/dispute. - 018-liquidity-strategy: FeeRouter fed by redeem, not settleChannel. - 009-governance: 48h-72h is the redemption grace window. Co-Authored-By: Claude Opus 4.8 <[email protected]>
- 003/016: redeem forwards a paid-proportional byte count bytesPaid = mulDiv(bytesDelta, paid, delta), so served bytes never outrun the USDC actually paid when a pool is partially drained; event and FeeRouter-integration prose updated to match. - 003: align the FeeRouter hand-off to the safeTransfer push pattern (matches ADR 016), replacing the stale approve-then-route wording in the reentrancy note and redeem effects. - 005: signer is the requester's verified Ethereum address (ephemeral binding when present, else on-chain registration), not "the bound client key" — covers node-to-node pulls that omit the binding. - appendix-l2-deployment: "payment channels" -> "the payment pool". Co-Authored-By: Claude Opus 4.8 <[email protected]>
Grep-driven sweep of stale "payment channel" prose the pool rewrite missed: glossary Channel/Voucher entries rewritten as Pool/Capability/Voucher; ADR 039 payment section (was one channel per source, now one pool with per-(signer,provider) lanes, deposit-fragmentation negative removed); 017 privacy P-02/P-07/P-22 keyed on pool+redemption; observability metric descriptions and the obsolete disputes metric; 011 blacklist gate on pool owner; 026 revenue "per redemption"; 005 concurrent-streams per-lane; and per-lane/per-pool wording across 003, 009, 012, 014, 018, 019, 024, 036, and the appendices. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Per follow-up: nothing should read as "channel", and a pool has no reason to expire. Rename (whole ADR set + READMEs): - Contract PaymentChannel → PaymentPool; channelId → poolId, channelNonce → poolNonce (ownerChannelNonce → ownerPoolNonce), channel_id → pool_id. - Events ChannelOpened/Redeemed/CloseInitiated/Reclaimed/ToppedUp → Pool*; functions openChannel → openPool, closeChannel → closePool. - ChannelStateStore → PoolStateStore, ChannelError → PoolError, WrongChannel → WrongPool, ChannelOpenFailureReason → PoolOpenFailureReason; metrics decdn_channel*/decdn_channels* → decdn_pool*/decdn_pools*. - EIP-712 domain name "PaymentChannel" → "PaymentPool"; #paymentchannel and the channel-named section headings/anchors updated with their inbound links. - Remaining pairwise "payment channel" prose → pool/lane throughout. Retire pool expiry entirely: - Drop maxChannelDuration, Pool.expiresAt, reclaimExpired, ChannelExpiredReclaimed, and the Max-pool-duration safety bound. A pool never expires; owner funds are recovered only via closePool → grace window → reclaim, and a node's redemption deadline is each signer's capability expiry plus the grace window. - Drop the obsolete VoucherRejectReason::Expired (capability expiry is covered by CapExceeded); update the constructor, events, and dependents (016, 024, 012, 005, appendix-l2, appendix-operator-key-rotation, 009). Co-Authored-By: Claude Opus 4.8 <[email protected]>
The rename pass renamed metric identifiers in appendix-observability, but those mirror shipped Rust code (crates/node, crates/incentive, crates/client-pull) and are gated by metrics.rs::adr_registry_names_are_exported, which asserts every `live` registry row resolves to an exported series. Restore the code spellings (decdn_channels_open, decdn_channel_deposit_usdc, decdn_buyer_channel_store_skipped_undecodable_records_total, the decdn_channel_open_failures_* family, and the ChannelOpenFailureReason enum); only their descriptions use the pool model. Note added that renaming these needs a companion code change. `planned` rows (not gated) keep pool names. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Two fixes to redeem semantics on a drained pool: - The lane watermark now tracks cumulative *paid* amount, not the voucher's claimed cumulative. redeem pays min(desired, capRoom, remaining) where desired = cumulative − paid, and advances the watermark by `paid` only. A drained pool pays partially and the same voucher can be re-presented after a top-up to collect the rest — a node no longer forfeits an over-committed voucher to a transient drain. When nothing is payable, redeem reverts NothingToRedeem (writes no state) instead of saving-and-failing. Redemption is now purely cumulative: the on-chain nonce gate is dropped (nonce stays an off-chain ordering/VoucherAck field), and replay is automatic (a paid voucher pays 0). Per-signer cap is enforced on paid USDC (spent += paid). - Add redeemMany(entries[]): applies redeem per entry and SKIPS (does not revert) any that would pay 0 — drained pool, stale/paid voucher, expired capability, cap reached — so one empty lane never sinks the batch; reverts only on a bad signature or wrong payee. Reconciles 003 (register struct, redeem steps, events, nonce convention, replay, reject table, credit-window), 016 (redeem row, redeemMany, class diagram), 005 (reject-reason framing: ordering guards are off-chain-only now). Also fixes two rename misses: ownerChannelNonce→ownerPoolNonce, ChannelId→PoolId. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Make the reconciliation explicit: a node reads *paid* from the authoritative on-chain lane watermark (watermark[poolId][signer][provider].amount, echoed as newPaidCumulative in PoolRedeemed) rather than assuming its voucher cleared — which a drained-pool partial pay would violate. *Owed* is the highest accepted voucher cumulative it already persists per lane. unredeemed = owed − paid drives the credit window and the retry loop; it can pre-check getPool / getAuthorization to skip a doomed redeem, and both sides survive a restart (paid re-read from chain, owed from the persisted store). Co-Authored-By: Claude Opus 4.8 <[email protected]>
A node follows the paid side by subscribing to PoolRedeemed filtered on its own (indexed) provider address and applying each event's newPaidCumulative — its own redeem/redeemMany txs included — so the event stream is the single write path for paid and a partial pay is recorded exactly. It follows PoolToppedUp to re-drive dry lanes, and reconciles on startup by enumerating from a pinned block then tailing live (matching the other chain watchers). eth_call getPool/getAuthorization is only an optional pre-flight to skip a doomed redeem, never for tracking state. Also fix the PoolRedeemed indexed-fields note (poolId/signer/provider, not "redeem"). Co-Authored-By: Claude Opus 4.8 <[email protected]>
Solvency model change per updated proposal: - Replace the dynamic per-node redemption credit window (c = balance/Q, Q-estimation, earned-window-as-security, D >= Q_b·c) with a refundable minimum-remaining-deposit M. Nodes stop serving when the pool's on-chain remaining balance <= M; the reserved M covers all in-flight vouchers (tail = zero), unused M refunds to the owner at close, and it also removes node-vs-node racing (with M >= in-flight there is nothing to race for). M is NODE POLICY, not a contract field — the contract is unchanged (still pays min(desired, remaining)). Sizing M = k·ρ·B·Δ (per-lane M = N·t, threshold t = ρ·V·Δ); t is a gas knob (trust-graduated), M is the security parameter. - Residuals stated honestly: fan-out (zero tail up to N = M/t; wider reopens it, bounded by rate-anomaly clamping) and self-dealing (bounded by M, taxed by the FeeRouter cut; escrow un-yankable). - No full provisioning, no onboarding-cost mitigation (both dropped per request). - Pool expiry stays retired; note made explicit that the money layer carries no max-duration and only capabilities carry a short-TTL expiry. - appendix-l2: detection delay Δ is chain-dependent and scales M (fast finality => small M), kept chain-agnostic. 016/024/architecture need no change (M is node policy). Reconciled 039's two solvency references. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Make the cold-start win explicit: because the security bound is the reserved floor M (not a per-relationship earned window), a node serves a brand-new pool at full link speed from the first byte — trust affects only redemption cadence (t, gas), never delivery rate. The only limit on an unproven pool is fan-out width (the rate-anomaly-clamped residual), not per-stream speed. Co-Authored-By: Claude Opus 4.8 <[email protected]>
The fan-out residual hand-waved "implied aggregate bandwidth" without saying how a node that only sees its own lane could know it. Add the mechanism: redemptions are public (PoolRedeemed indexed by poolId), so every node sums all lanes' redemptions to observe the pool's aggregate draw rate (d(totalRedeemed)/dt / price) and remaining balance, and refuses to keep serving when the aggregate exceeds the B that M reserves for. All nodes clamp on the same public signal without knowing fan-out N. Honest victims redeem (revealing the draw); the only hidable draw is self-service (not a free-ride). Residual gap is the redemption lag (<= t per lane) plus detection delay, bounded because overshooting M requires physically pulling B·Delta of real bytes at egress cost, independent of fan-out width. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Rate-anomaly clamping (nodes observing the pool's public aggregate redemption rate and refusing past B) is too much machinery for a small, self-limiting residual. Remove it. The fan-out residual is now stated honestly and accepted: each node's exposure to a fresh pool is only its small redemption threshold t, enlarging the aggregate tail forces the attacker to fan across proportionally many nodes while physically pulling real bytes (egress cost), and self-dealing is taxed by the FeeRouter cut. M sized for the expected fan-out closes it in the common case (honest clients are sticky); it is not driven to zero and need not be. M remains the sole solvency mechanism; node policy is just M + t. Co-Authored-By: Claude Opus 4.8 <[email protected]>
The node's continued delivery is already the implicit acknowledgement of a voucher, and with cumulative settlement a lost voucher just pauses delivery and is resent — so the explicit VoucherAck wire message is redundant. Remove it: - 013: drop the VoucherAck ClientMessage variant (renumber StreamEnd/Ping/Pong) and the two prose mentions. - 005: remove it from both cdn/client/v1 sequence diagrams; reframe the credit-window flow (no per-interval ack round-trip — continued delivery is the implicit ack, a rejected voucher stops delivery and is resent); connection lifetime no longer waits on an ack; StaleNonce retry no longer references it. - 038: drop it from the envelope lists. - 003: durability now keys on "before delivering further bytes" (not "before VoucherAck"); persist-fail stops delivery; nonce reframed as an off-chain per-lane sequence — with VoucherAck gone its dropped-ack rationale is gone, and it is now redundant with the cumulative (retained only as bookkeeping). Co-Authored-By: Claude Opus 4.8 <[email protected]>
…ng guard The voucher nonce is redundant with the cumulative amount. On-chain redemption was already purely cumulative (redeem pays cumulative - paid), and off-chain a node can order and replay-check by amount alone: it expects each voucher to advance the lane by last_amount + rate_per_mb * new_chunks. Drop the nonce field from the voucher object, VOUCHER_TYPEHASH, the digest, and redeem/redeemMany signatures. Remove the StaleNonce reject reason and the WatermarkBundle nonce field; AmountRegression becomes the sole off-chain ordering/replay guard and absorbs the crash-reconnect self-heal path. Replace the Voucher Nonce Convention section with a Voucher ordering note. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…t redundant The PaymentPool settles in one token fixed at deployment (immutable constructor argument), so a voucher can only ever pay in that token. Cross-token replay does not arise, and the EIP-712 domain separator already binds each voucher to the one contract deployment. Remove token from the voucher object, VOUCHER_TYPEHASH, the digest, the redeem-side signed payload, the WatermarkBundle authentication tuple, and the wire format. Drop the WrongToken reject reason (enum, off-chain rejection table, retry table) and decrement the mirror counts. Co-Authored-By: Claude Opus 4.8 <[email protected]>
27e704c to
4a70719
Compare
One conflict, in adr/appendix-operator-key-rotation.md steps 7-10 of the EOA -> EOA migration. #1650 rewrote the payment model from pairwise channels to a shared pool and swept this file's vocabulary; this branch had rewritten step 8 in review round 4. Resolved per-line rather than per-hunk, since the two sides touched disjoint steps: - step 7 -> main (rewritten for pools; this branch never edited it) - step 8 -> ours (the 'from the old address' fix that dropped an over-constraining 'before deregister', plus the three-step archive-restore procedure — main left step 8 untouched) - steps 9, 10 -> main (channels -> pools) Deliberately NOT swept: the channel vocabulary in this branch's Rust doc comments. #1650 is ADR-only (no crates/, no contracts/) — PaymentChannel.sol still exists and PaymentPool.sol does not — so those comments describe what the code actually does today. Rewriting them to pool vocabulary would make them false, which is the failure mode the earlier review rounds were about. The metric names decdn_channels_open and decdn_channel_deposit_usdc are likewise unchanged, matching main's own choice to keep them. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Two stacked ADR decisions that keep per-MB metering while removing the machinery built to make a signed per-interval voucher fast. The fsync-before-VoucherAck rule in ADR 003 put a ~3.18 ms durable commit on the acknowledgement path. That forced the credit window to cover `RTT + commit_interval`, which forced group-commit batching, which forced voucher-interval negotiation and the concurrent-stream lane-arbitration rules. Both decisions dismantle that tower from the base. 1. Persistence is best-effort; the chain is the floor. Accept on verification and persist asynchronously, flushing on a value bound so the post-crash replay surface is at most one credit window — the credit a node already extends by serving. An unknown lane seeds its floor from `watermark[poolId][signer][provider]` with one eth_call; the lane floor is `max(local, chain)`. Seeding is lazy and per-lane, so a pool naming no provider never needs to be node-enumerable. A persist failure becomes a metric, not a wire rejection. 2. The voucher becomes a chain-epoch anchor; preimages meter the chunks. PayWord on each lane: one signed Voucher opens an epoch (default 1024 x 64 KiB) carrying chainRoot/chainLength/chunkBytes/chunkPrice, and each chunk is paid by a bare 32-byte Preimage — one keccak, no signature, no ack, no round trip, nothing to persist. `redeem` walks at most MAX_CHAIN_LENGTH (1024) hashes and the contract stores no chain state, so the pool, per-signer cap, sharded register, min(delta, remaining) and FeeRouter routing are untouched. The meter gets 64x finer rather than coarser, and the withholding bound tightens with it. Wire (pre-launch cut, no shim): VoucherAck removed and Preimage takes its slot; voucher_interval_mb replaced by node-advertised chunk_bytes; WatermarkBundle and the VoucherRejected bundle field removed, since a signer derives its own chain index; VoucherRejectReason drops StaleNonce/AmountRegression/BytesRegression/ RetryLater and adds BadChainParams/StaleEpoch/BadPreimage/ChainExhausted. ADR 003 Concurrent Streams rules 1 and 3 are deleted rather than deferred — they were specified but never implemented, and a lane-wide chunk size makes them unnecessary. Corrects two downstream claims the chain invalidates: ADR 024 and ADR 012 both motivated session keys with "a 100 MB download needs 100 signatures", which is now about two. The session-key case is rewritten to rest on unattended operation (nodes sign slash_sig per response; payer signatures scale with lanes and have nobody to confirm them), which the chain does not weaken. Stacked on #1650. Docs only — implementation follows as separate issues. Verified: make -C adr check-refs (1685 anchors resolve), check-book-list, adr-ref-hygiene + adr-book-list + trailing-whitespace + end-of-file-fixer pre-commit hooks, and `cargo nextest run -p decdn-node -E 'test(/metric/)'` (39 passed) for the appendix-observability registry check. markdownlint fails only on .github/workflows/issue-triage.md, identical before this branch. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Summary
Replaces the pairwise payment model — one funded escrow per
(payer, node)pair, each with its own on-chain open and locked deposit — with a shared payment pool. ADR-only change (design docs; no contract/code implementation). Pre-launch, so the old shape is deleted rather than shimmed.One funded pool backs off-chain vouchers from many independent capped signers to many nodes.
{ signer, spending_cap, pool_id, expiry }— node-agnostic.{ pool_id, signer, provider, cumulative, bytes_delivered }— node-addressed.provideris mandatory becausepool_idno longer encodes the payee. No nonce (cumulativeamountis the sole ordering/replay guard) and no token field (single-currency contract; the EIP-712 domain separator already binds the one deployment).authorized[pool][signer] = {cap, expiry, spent}; a two-dimensional sharded registerwatermark[pool][signer][provider]; register-the-capability-once (owner sig verified on first redemption, vouchers-only afterward); and paymin(delta, remaining)so the pool never goes negative. Served bytes are forwarded toFeeRouterpaid-proportional (bytesPaid = mulDiv(bytesDelta, paid, delta)), so served-bytes accounting never outruns paid USDC in a drained pool.(signer, provider)lane;reclaimreturns deposit minus total redeemed. Cooperative close dropped.maxChannelDuration/expiresAt/reclaimExpiredare retired: a pool stays open until the owner closes it, and a node's redemption deadline is each signer's capabilityexpiryplus the grace window.Boundary kept crisp: the contract enforces caps, the sharded register,
min(delta, remaining), regular close, and expiry-of-capabilities. The credit window (per-node unredeemed-exposure cap,D ≥ Q_b · c) is node policy, not contract.Naming: the contract is
PaymentPool(poolId,poolNonce,openPool/closePool/redeem/reclaim,Pool*events). Nothing in the ADR set reads as "channel" except intentional "the old per-channel pin" contrasts and generic QUIC/transport uses.Chain-agnostic: the pool makes opens rare and off the client hot path, so fast/cheap opens are no longer required. No L1-vs-L2 decision is made here.
Files revised
adr/003-payments.md(payment model rewritten to the pool; pairwise design deleted),adr/016-contract-interactions.md(PaymentPoolsurface, class diagram, call/fund tables, events, read API),adr/024-account-abstraction.md(AA/session keys operate on signature validation; many concurrent signers on one pool is an accounting-layer property — the sharded register),adr/appendix-l2-deployment.md(opens rare → chain choice is a cost/neutrality decision; Arbitrum One selection unchanged),adr/architecture.md.adr/005-protocol.md— voucher format gainssigner/provider;VoucherRejectReasonaddsWrongPool/CapExceeded, dropsCooperativeCloseSigned, the obsoleteExpired, and (with the token field gone)StaleNonce/WrongToken; per-lane concurrent-stream and watermark-bundle wording.009,011,012,017,018,026,036,037,038,039(its multi-source payment section switched from one-escrow-per-source to one pool with per-(signer, provider)lanes),glossary.md, bothREADME.mds, and the appendices (fraud-detectionretitled Permissionless Settlement Analysis,operator-key-rotation,observability,bundles,poc-production-seams,operator-upgrade-path).Verified (as requested)
FeeRouter.routeSettlement, which still fires on every redemption; forwarding paid-proportional bytes keeps per-byte revenue and vote weight derived from real, floor-priced USDC even when a pool is drained.Notes
decdn_channel*,ChannelOpenFailureReason). These mirror real Rust code incrates/node/crates/incentive/crates/client-pulland are gated bymetrics.rs::adr_registry_names_are_exported; only their descriptions use the pool model. Renaming the metrics/enum needs a companion code change, out of scope for this ADR-only PR.openPoolno longer naming a provider,PaymentPoolno longer callsCapacityBond.isActive()(node-active gating moves to off-chain node selection); theCapacityBondconstructor dependency is now vestigial — a small follow-up.🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Protocol Updates
Documentation