mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 12:17:38 +00:00
refactor: remove more dead code #36509
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36509
Loading…
Reference in a new issue
No description provided.
Delete branch "more_dead_removal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #36167.
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.
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:
-Wunusedby fanquake)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.
🚧 At least one of the CI tasks failed.
Task
lint: https://github.com/bitcoin/bitcoin/actions/runs/38357868565/job/115164865222LLM reason (✨ experimental): CI failed on the lint check:
src/qt/clientmodel.cppincludesbitcoin-build-config.hwithout using any symbols from it.Hints
Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:
Possibly due to a silent merge conflict (the changes in this pull request being
incompatible with the current code in the target branch). If so, make sure to rebase on the latest
commit of the target branch.
A sanitizer issue, which can only be found by compiling with the sanitizer and running the
affected test.
An intermittent issue.
Leave a comment here, if you need help tracking down a confusing failure.
Base:
173ec9a06cf6a1619a1d62cbace6520c1ada0201Head:
570c4a184f49b6d71bc581ae694b969a91cf2510No verified findings are available from this review.
Review coverage was incomplete. adversarial: AddrMan deserialization callers were not traced to confirm that removing the Unserialize(AutoFile&) explicit instantiation leaves every used stream type supported. adversarial_glm: Output failed validation: Finding must identify a changed file: 'src/node/interfaces.cpp' verifier: The AddrMan deserialization gap was checked: the production file-loading path deserializes through HashVerifier, and the stream-based reader uses DataStream; no plain AutoFile deserialization caller was found. The node interface's getNumBlocks declaration and implementation remain, separate from the removed Qt ClientModel accessor. verifier: A complete caller audit of every removed API was not finished. In particular, callers of BitcoinAmountField::setReadOnly were not verified.
Full review report
I guess there is no compiler check to find them and they were found manually?
ACK
570c4a184fThe biggest risk from this change imo is behaviour change from alternative overloads or overrides being selected, but I could not find any such cases here (
ScriptHash(const CScriptID&),FillableSigningProvider::GetCScriptsandAddrMan::Unserialize(AutoFile&)all look fine)not blocking:
interfaces::Node::getNumBlocksnow no longer has a called either, can be removed too I think?(same for
getLastBlockTimeandgetVerificationProgressbut that was already true before this pull)I'm going to leave any interface-related changes for now (there are also more than the above).
ACK
570c4a184f