refactor: fix mismatched and undefined declarations #36744

Manually merged
fanquake merged 5 commits from rawtx_addinputs_static into master 2026-11-07 12:56:23 +00:00 AGit
fanquake commented 2026-11-03 13:12:02 +00:00 (Migrated from github.com)

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.

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.
DrahtBot commented 2026-11-03 13:12:11 +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 sedited, maflcko, hebasto

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:

  • #36781 ([RFC] refactor: fix and then enforce param naming via clang-tidy by fanquake)
  • #36716 (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.

<!--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/36744 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36744.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36744#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 | [sedited](https://github.com/bitcoin/bitcoin/pull/36744#pullrequestreview-5806622769), [maflcko](https://github.com/bitcoin/bitcoin/pull/36744#issuecomment-6706010436), [hebasto](https://github.com/bitcoin/bitcoin/pull/36744#pullrequestreview-5812315444) | 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](https://github.com/bitcoin/bitcoin/pull/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](https://github.com/bitcoin/bitcoin/pull/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-->
First-time contributor

No verified findings are available from this review.

Review coverage was incomplete.


Reviewed: 5f972485ffd1 · Full review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:965af1044d9e41839565702e4d9bd0a751eda81f6e8b6402747fa296ef84ebea:7efd3c3ba41667382004cfa7a7db56605da7d8f9b7ab69bc483f27117390ba48 --> <!-- ralph-base:f5e10868da4442cee68e117f259880753b36d86c --> <!-- ralph-head:5f972485ffd139852d5d64a38079ab500f8a4c7c --> <!-- ralph-case:9fb5b875c7ea6506431829209aa0b5896a65d9052a0ec7f1f8b96d002bec91a6 --> No verified findings are available from this review. Review coverage was incomplete. <!-- Review tier: standard --> --- Reviewed: [`5f972485ffd1`](<https://git.fish.foo/bitcoin/bitcoin/commit/5f972485ffd139852d5d64a38079ab500f8a4c7c>) · [Full review report](<https://review.fish.foo/traces/36744-5f972485ffd139852d5d64a38079ab500f8a4c7c-2054-2.html>) · [Previous reports](<https://review.fish.foo/traces/36744/>) [permalink](<https://review.fish.foo/traces/36744-5f972485ffd139852d5d64a38079ab500f8a4c7c-2054-2.html>)
sedited (Migrated from github.com) approved these changes 2026-11-06 20:34:14 +00:00
sedited (Migrated from github.com) left a comment
ACK 5f972485ffd139852d5d64a38079ab500f8a4c7c
maflcko commented 2026-11-07 11:07:23 +00:00 (Migrated from github.com)

review ACK 5f972485ff 🏈

Show signature

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==
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>
hebasto (Migrated from github.com) approved these changes 2026-11-07 12:55:27 +00:00
hebasto (Migrated from github.com) left a comment

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

ACK 5f972485ffd139852d5d64a38079ab500f8a4c7c, I have reviewed the code and it looks OK.
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!36744
No description provided.