refactor: fix mismatched and undefined declarations #36744

pull fanquake wants to merge 5 commits into bitcoin:master from fanquake:rawtx_addinputs_static changing 7 files +4 −14
  1. fanquake commented at 1:12 PM on November 3, 2026: member

    Remove or fix function declarations that don't match any definition.

    Split out of #36743. Ideally we can have the compiler enforce/flag this in future.

  2. rpc: make AddInputs static, remove mismatched declaration
    The header declared AddInputs(..., bool rbf), which was never defined,
    while the definition takes std::optional<bool> and has no declaration.
    410843a684
  3. DrahtBot added the label Refactoring on Nov 3, 2026
  4. DrahtBot commented at 1:12 PM on November 3, 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 sedited, maflcko, hebasto

    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:

    • #36781 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36781.svg"></sub> ([RFC] refactor: fix and then enforce param naming via clang-tidy by fanquake)
    • #36716 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36716.svg"></sub> (net: stop monitoring select exceptions outside Windows by Sjors)

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

  5. common: make FeeModeInfo static, remove mismatched declaration 3fa42941d1
  6. rpc: remove undefined RPCResult::ToStringObj and ToDescriptionString
    These were declared in fa6b061fc1 but never defined or used.
    0ae6589244
  7. qt: remove undefined BanTableModel::{start,stop}AutoRefresh
    The definitions were removed in 43c1f5b8d7, but the declarations were
    left behind.
    bad11ff68e
  8. http: use MockableSteadyClock::time_point in ShouldDisconnect declaration
    Match the definition, and the m_idle_since member.
    5f972485ff
  9. fanquake force-pushed on Nov 3, 2026
  10. DrahtBot added the label CI failed on Nov 3, 2026
  11. DrahtBot removed the label CI failed on Nov 3, 2026
  12. sedited approved
  13. sedited commented at 8:34 PM on November 6, 2026: contributor

    ACK 5f972485ffd139852d5d64a38079ab500f8a4c7c

  14. maflcko commented at 11:07 AM on November 7, 2026: member

    review ACK 5f972485ffd139852d5d64a38079ab500f8a4c7c 🏈

    <details><summary>Show signature</summary>

    Signature:

    untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}"
    RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM=
    trusted comment: review ACK 5f972485ffd139852d5d64a38079ab500f8a4c7c 🏈
    bspdNAjO78JlvqtRsc6hlZbQMic5ySr5zn/2LomxUIvQEUrgz/MkcOP7s1TY4YwKElu6T6eDJsj+99s2kU02Cw==
    

    </details>

  15. hebasto approved
  16. hebasto commented at 12:55 PM on November 7, 2026: member

    ACK 5f972485ffd139852d5d64a38079ab500f8a4c7c, I have reviewed the code and it looks OK.

  17. hebasto merged this on Nov 7, 2026
  18. hebasto closed this on Nov 7, 2026

  19. fanquake deleted the branch on Nov 9, 2026

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-24 00:51 UTC

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