refactor: drop duplicate typedefs #37097

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

    No description provided.

  2. wallet: drop duplicate TxItems typedef 3095010c43
  3. cli: use SystemClock instead of a local alias 6413586825
  4. util: use NodeSeconds alias in SetMockTime 2f76e58d73
  5. wallet: drop duplicate LoadWalletFn alias ca01521b0b
  6. DrahtBot added the label Refactoring on Dec 3, 2026
  7. 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

    <!--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>&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:

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

  8. 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, so src/wallet/wallet.cpp:867 can be removed.
    • Commit 6413586825ddb9b26fca24bb441ed04fcaf15b06: Removes the alias CliClock and uses SystemClock already defined at src/util/time.h:42
    • Commit 2f76e58d731b1aaca5287c4c96875df91541813f: NodeSeconds is already defined at src/util/time.h:35 so no need to define it again at src/util/time.h:117 and src/util/time.cpp:52
    • Commit ca01521b0b22aa423ff8bedce73058db431a76d7: Imports interfaces::Wallet from src/wallet/context.h instead of declaring again at src/wallet/wallet.h:68-70, same for src/wallet/wallet.h:83, LoadWalletFn already declared at src/wallet/context.h:24

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-12-05 03:51 UTC

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