doc: fix comments referring to nonexistent functions #36782

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:doc_stale_func_refs changing 38 files +71 −73
  1. fanquake commented at 3:12 PM on November 5, 2026: member

    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.

  2. DrahtBot added the label Docs on Nov 5, 2026
  3. DrahtBot commented at 3:13 PM on November 5, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    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 <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 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36380.svg"></sub> (wallet: extend -walletbroadcast to allow initial send only by vasild)
    • #35733 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35733.svg"></sub> (sign: Remove FillableSigningProvider by achow101)
    • #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 <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 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/29409.svg"></sub> (ipc: Expose Chain interface to IPC clients by ryanofsky)
    • #17581 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/17581.svg"></sub> (refactor: Remove settings merge reverse precedence code by ryanofsky)
    • #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-->

  4. in src/wallet/test/walletdb_tests.cpp:20 in 43ba29a7db
      16 | @@ -17,7 +17,7 @@ BOOST_FIXTURE_TEST_SUITE(walletdb_tests, BasicTestingSetup)
      17 |  BOOST_AUTO_TEST_CASE(walletdb_readkeyvalue)
      18 |  {
      19 |      /**
      20 | -     * When ReadKeyValue() reads from either a "key" or "wkey" it first reads the DataStream into a
      21 | +     * When LoadKey() reads from either a "key" or "wkey" it first reads the DataStream into a
    


    willcl-ark commented at 9:32 AM on November 6, 2026:

    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.


    fanquake commented at 10:22 AM on November 6, 2026:

    Pushed something up here.

  5. willcl-ark approved
  6. willcl-ark commented at 9:33 AM on November 6, 2026: member

    ACK 43ba29a7dbec42a423e572e1acd5c4bfbe13db57

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

  7. willcl-ark commented at 9:35 AM on November 6, 2026: member

    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...

  8. fanquake force-pushed on Nov 6, 2026
  9. fanquake force-pushed on Nov 9, 2026
  10. fanquake commented at 4:38 PM on November 9, 2026: member

    Rebased, and renamed m_section_only_args to m_network_only_args.

  11. fanquake requested review from willcl-ark on Nov 11, 2026
  12. fanquake force-pushed on Nov 18, 2026
  13. doc: fix comments referring to renamed members and functions 8537853478
  14. fanquake force-pushed on Nov 23, 2026
  15. willcl-ark approved
  16. willcl-ark commented at 10:40 AM on November 24, 2026: member

    reACK 85378534786b93f610dab0c2ab8639894e04d35a

  17. fanquake merged this on Nov 24, 2026
  18. fanquake closed this on Nov 24, 2026

  19. fanquake deleted the branch on Nov 24, 2026
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-11-30 03:50 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me