Skip to content

cleanup: retire payment-channel vocabulary in node comments and docs #2402

Closed

Description

@thiras

Problem

Comments, doc strings and a few test/doc lines still use the retired payment-channel vocabulary. The contract surface is PaymentPool (openPool, topUp, closePool, reclaim, getPool, PoolOpened); none of openChannel, reclaimExpired, getChannel, ChannelOpened, open_or_reuse_channel, BuyerChannelStore, ChannelStateStore or buyer_channel_state_* exists.

Hits on main (grep -rnE "openChannel|reclaimExpired|getChannel\b|ChannelOpened|open_or_reuse_channel|buyer_channel_state|BuyerChannelStore|ChannelStateStore" crates docs adr, excluding adr/_history):

File Hits
crates/node/src/runtime/mod.rs 4
crates/node/tests/node_origin_pull.rs 3
crates/node/src/node_origin/tests.rs 3
crates/node/src/metrics.rs 3
crates/node/src/selection.rs 2
crates/node/src/chain_events/resumable_watcher.rs 2
crates/node/src/chain_events/mod.rs 2
docs/runbook.md, crates/node/tests/client_loopback.rs, crates/node/src/node_origin/pull_leg.rs, crates/node/src/metrics/tests.rs, crates/node/src/handlers/client/fill.rs, crates/node/src/handlers/client/dispatch.rs, crates/node/src/chain_events/backfill.rs, crates/common/src/cli/fetch.rs, crates/client/src/driver.rs 1 each

Scope

  • Rewrite each to the current pool name, present tense.
  • Comments and docs only. If a hit is a metric name, log message or other emitted string, list it separately: renaming those touches dashboards in decdn/devops.
  • The broader channel_store.rs / buyer_channel.rs module and type names (concrete_channel_store, buyer_channel_store) are out of scope unless they are wrong rather than merely old.

Follow-up from #2400, which fixed the two runtime/mod.rs blocks it touched.

Activity

  1. added
    kind:docs
    prio:low
    on Oct 9, 2026
  2. self-assigned this
    on Oct 9, 2026
  3. added
    kind:chore
    area:node
    on Oct 9, 2026
  4. assigned and unassigned on Oct 9, 2026
  5. moved this from Backlog to In progress in deCDNon Oct 10, 2026
  6. moved this from In progress to Done in deCDNon Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:nodekind:chorekind:docsprio:low

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions