Repository navigation
Closed
Labels
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve pathkind:choreCleanup, dependencies, tooling or release work; no user-visible changekind:docsREADME, docs/, runbook, rustdoc or ADR prose onlyprio:lowWhen convenient
Description
Problem
Follow-up from #2402 / #2404. The review of #2404 found stale comments, docs and strings outside that PR's scope. None changes behaviour.
Comments and docs
crates/node/src/metrics.rs:764citesChannelState::apply_voucher. The type isLaneState(crates/incentive/src/lane.rs).crates/node/src/node_origin/mod.rs:327: "an expired pool that could not be reclaimed" describes the retired expiry-reclaim model.crates/node/src/handlers/client/fill.rs:13-17: "only the pinned signer can produce a voucher this pool will accept" should say "this lane". Any capability holder can sign vouchers the pool accepts.crates/node/src/chain_events/resumable_watcher.rsColdStart::Head: say that a pool opened before the head anchor reaches the projection through the admit-pathgetPool(ResolvingPoolView).crates/node/src/chain_events/backfill.rsREORG_MARGIN_BLOCKS:PoolRedeemed/PoolReclaimedare the folds with durable effects, so they make a better example thanPoolOpened.- Remaining "buyer channel" / "payment channel" wording in comments, for example:
crates/node/src/metrics.rs(896, 899, 1362, 1379, 1400, 3024, 3120, 3378, 3382)crates/node/src/node_origin/mod.rs(15, 556, 2071)crates/node/src/runtime/mod.rs:619crates/node/tests/node_origin_pull.rs(11, 131, 250, 260, 2610, 6398, 7202, 7629)crates/node/tests/client_loopback.rs:2400crates/client/src/lib.rs(212, 1000, 1830)crates/client/src/provider.rs:10crates/common/src/config/mod.rs:2683crates/incentive/src/capacity_bond.rs:349crates/e2e/src/chain.rs:826
- Changelog voice in the blocks docs: retire payment-channel vocabulary in node comments #2404 touched:
docs/runbook.md"now happens before any fill (serve: hoist a pre-spend deposit check above the buffered/range/local fill tiers #1519)"handlers/client/dispatch.rs"(node_origin, node-origin: chained node→node pull-through omits the ADR 005 client binding #1117) now do"node_origin_pull.rs2612-2618 ("was unbounded", "The oldPULL_THROUGH_OUTER_SLACKdoc conceded")
Emitted or published strings (rename together with their consumers)
crates/cli/src/commands/config.rsDEFAULT_CONFIGtemplate: "pool the client opens payment channels through".crates/incentive/Cargo.tomlpackage description: "Payment channels, …".- Crate READMEs that say "off-chain payment channels".
Separate bug in a metric's documented rule
metrics.rs (node_pull_pool_open_failures) and node_origin/mod.rs:236 say a site meters the open-failure total if and only if it marks the error OpenReported. Three lane-seed legs in buyer_channel.rs break this: unread_watermark, the vanished row in reread_before_seed, and the seed persist. Each marks OpenReported but meters buyer_lane_seed_failure instead. Either the rule or the sites need to change.
Out of scope
Identifiers: CHANNEL_OPEN_CALLER_BUDGET, buyer_channel.rs, channel_store.rs, concrete_channel_store, channel_state_store, and *_channel_id test locals.
Metadata
Metadata
Assignees
Labels
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve pathkind:choreCleanup, dependencies, tooling or release work; no user-visible changekind:docsREADME, docs/, runbook, rustdoc or ADR prose onlyprio:lowWhen convenient
Type
Fields
Priority
None yet
Projects
- StatusShow more project fieldsDone
Activity