doc: fix comments referring to nonexistent functions #36782

Manually merged
fanquake merged 1 commit from doc_stale_func_refs into master 2026-11-24 16:04:13 +00:00 AGit
fanquake commented 2026-11-05 15:12:59 +00:00 (Migrated from github.com)

Fix documentation that refers to functions that don't exist, or were renamed.

Maybe there's a lint or Ralph type check we can add for these.

Fix documentation that refers to functions that don't exist, or were renamed. Maybe there's a lint or Ralph type check we can add for these.
DrahtBot commented 2026-11-05 15:13:08 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK willcl-ark

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36380 (wallet: extend -walletbroadcast to allow initial send only by vasild)
  • #35733 (sign: Remove FillableSigningProvider by achow101)
  • #35570 (refactor: Change some validation.cpp methods to return BlockValidationState by optout21)
  • #30951 (net: option to disallow v1 connection on ipv4 and ipv6 peers by stratospher)
  • #29409 (ipc: Expose Chain interface to IPC clients by ryanofsky)
  • #17581 (refactor: Remove settings merge reverse precedence code by ryanofsky)
  • #17493 (util: Forbid ambiguous multiple assignments in config file by ryanofsky)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36782 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36782.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36782#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [willcl-ark](https://github.com/bitcoin/bitcoin/pull/36782#pullrequestreview-6037715787) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36380](https://github.com/bitcoin/bitcoin/pull/36380) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36380.svg"></sub> (wallet: extend -walletbroadcast to allow initial send only by vasild) * [#35733](https://github.com/bitcoin/bitcoin/pull/35733) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35733.svg"></sub> (sign: Remove FillableSigningProvider by achow101) * [#35570](https://github.com/bitcoin/bitcoin/pull/35570) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35570.svg"></sub> (refactor: Change some validation.cpp methods to return BlockValidationState by optout21) * [#30951](https://github.com/bitcoin/bitcoin/pull/30951) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/30951.svg"></sub> (net: option to disallow v1 connection on ipv4 and ipv6 peers by stratospher) * [#29409](https://github.com/bitcoin/bitcoin/pull/29409) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/29409.svg"></sub> (ipc: Expose Chain interface to IPC clients by ryanofsky) * [#17581](https://github.com/bitcoin/bitcoin/pull/17581) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/17581.svg"></sub> (refactor: Remove settings merge reverse precedence code by ryanofsky) * [#17493](https://github.com/bitcoin/bitcoin/pull/17493) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/17493.svg"></sub> (util: Forbid ambiguous multiple assignments in config file by ryanofsky) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

Earlier concerns remain unresolved; see the Run archive linked from the Review report.

No verified findings are available from this review.

Review coverage was incomplete.


Reviewed: 85378534786b · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:2bcaa35e3694d1848bf62587d54d510bd368a7cec45b94fde9478c31d1929760:1f24a658028970752593279d1bd02789c26badbd714483fb933d9c079e9b6c5c --> <!-- ralph-base:dbe9eacd17ae1cc24581081613123a40b44a9f31 --> <!-- ralph-head:85378534786b93f610dab0c2ab8639894e04d35a --> <!-- ralph-case:2f1f6a15ddf8dc7d49db60cf3716ef955d488386604a756cca183c5b1073497a --> Earlier concerns remain unresolved; see the Run archive linked from the Review report. No verified findings are available from this review. Review coverage was incomplete. <!-- Review tier: routine --> --- Reviewed: [`85378534786b`](<https://git.fish.foo/bitcoin/bitcoin/commit/85378534786b93f610dab0c2ab8639894e04d35a>) · [Review report](<https://review.fish.foo/report/36782-85378534786b93f610dab0c2ab8639894e04d35a-3001-5.html>) · [Previous reports](<https://review.fish.foo/traces/36782/>) [permalink](<https://review.fish.foo/report/36782-85378534786b93f610dab0c2ab8639894e04d35a-3001-5.html>)
willcl-ark (Migrated from github.com) approved these changes 2026-11-06 09:33:22 +00:00
willcl-ark (Migrated from github.com) left a comment

ACK 43ba29a7db

One further documentation nit. Otherwise, the updated references match the code.

ACK 43ba29a7dbec42a423e572e1acd5c4bfbe13db57 One further documentation nit. Otherwise, the updated references match the code.
willcl-ark (Migrated from github.com) commented 2026-11-06 09:32:28 +00:00

In 43ba29a7db

Could also drop the references to "wkey" and CWalletKey here I think. LoadKey() only handles "key" records now; LoadLegacyWalletRecords() explicitly rejects "wkey" records with DBErrors::LOAD_FAIL.

In 43ba29a7dbec42a423e572e1acd5c4bfbe13db57 Could also drop the references to "wkey" and CWalletKey here I think. LoadKey() only handles "key" records now; LoadLegacyWalletRecords() explicitly rejects "wkey" records with DBErrors::LOAD_FAIL.
willcl-ark commented 2026-11-06 09:35:11 +00:00 (Migrated from github.com)

Maybe there's a lint or Ralph type check we can add for these. cc willcl-ark.

This is attempted (at least partially) in github.com/willcl-ark/nix@d0aeeb22d4

It checks symbol references in changed comments/docs, and looks for stale references left by function removals or renames, including in unchanged files. Obvsiouly itsan LLM review check rather than a deterministic lint, so we'll need to see how reliably it catches these in practice...

> Maybe there's a lint or Ralph type check we can add for these. cc willcl-ark. This is attempted (at least partially) in https://github.com/willcl-ark/nix/commit/d0aeeb22d46c2002170481ef908fc6fcdbcaed75 It checks symbol references in changed comments/docs, and looks for stale references left by function removals or renames, including in unchanged files. Obvsiouly itsan LLM review check rather than a deterministic lint, so we'll need to see how reliably it catches these in practice...
fanquake (Migrated from github.com) reviewed 2026-11-06 10:22:19 +00:00
fanquake (Migrated from github.com) commented 2026-11-06 10:22:19 +00:00

Pushed something up here.

Pushed something up here.
fanquake commented 2026-11-09 16:38:18 +00:00 (Migrated from github.com)

Rebased, and renamed m_section_only_args to m_network_only_args.

Rebased, and renamed `m_section_only_args` to `m_network_only_args`.
willcl-ark (Migrated from github.com) approved these changes 2026-11-24 10:40:20 +00:00
willcl-ark (Migrated from github.com) left a comment

reACK 8537853478

reACK 85378534786b93f610dab0c2ab8639894e04d35a
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36782
No description provided.