No description provided.
refactor: drop duplicate typedefs #37097
pull fanquake wants to merge 4 commits into bitcoin:master from fanquake:duplicate_typedefs changing 5 files +7 −14-
fanquake commented at 4:35 PM on December 3, 2026: member
-
wallet: drop duplicate TxItems typedef 3095010c43
-
cli: use SystemClock instead of a local alias 6413586825
-
util: use NodeSeconds alias in SetMockTime 2f76e58d73
-
wallet: drop duplicate LoadWalletFn alias ca01521b0b
- DrahtBot added the label Refactoring on Dec 3, 2026
-
DrahtBot commented at 4:36 PM on December 3, 2026: contributor
<!--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/37097
- Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/37097.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/37097#author-ralph
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline and AI policy for information on the review process.
Type Reviewers ACK nebula-21 If your review is incorrectly listed, please copy-paste <code><!--meta-tag:bot-skip--></code> into the comment that the bot should ignore.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #36897 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36897.svg"></sub> (wallet, migration: Contain all legacy wallet and migration related things in its own subdirectory, namespace, and classes by achow101)
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-->
-
nebula-21 commented at 1:44 PM on December 4, 2026: contributor
ACK ca01521b0b22aa423ff8bedce73058db431a76d7
- Commit 3095010c43ab26962c25a2d92edc54f00db15145: The typedef is already defined at
src/wallet/wallet.h:480, sosrc/wallet/wallet.cpp:867can be removed. - Commit 6413586825ddb9b26fca24bb441ed04fcaf15b06: Removes the alias
CliClockand uses SystemClock already defined atsrc/util/time.h:42 - Commit 2f76e58d731b1aaca5287c4c96875df91541813f:
NodeSecondsis already defined atsrc/util/time.h:35so no need to define it again atsrc/util/time.h:117andsrc/util/time.cpp:52 - Commit ca01521b0b22aa423ff8bedce73058db431a76d7: Imports
interfaces::Walletfromsrc/wallet/context.hinstead of declaring again atsrc/wallet/wallet.h:68-70, same forsrc/wallet/wallet.h:83,LoadWalletFnalready declared atsrc/wallet/context.h:24
- Commit 3095010c43ab26962c25a2d92edc54f00db15145: The typedef is already defined at