refactor: Remove unused "disconnectpool is nullptr" feature #22457

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2107-refactorDisconnectPool changing 2 files +10 −14
  1. MarcoFalke commented at 12:56 PM on July 15, 2021: member

    No need to keep an unused feature. If this is ever needed again, it can be added back trivially.

  2. refactor: Remove unused disconnectpool is nullptr feature
    The last use was removed in commit d831e711cab83c70bf2ded62fe33f484844e73dd
    fa8dff79ca
  3. DrahtBot added the label Refactoring on Jul 15, 2021
  4. DrahtBot added the label Validation on Jul 15, 2021
  5. MarcoFalke renamed this:
    refactor: Remove unused disconnectpool is nullptr feature
    refactor: Remove unused "disconnectpool is nullptr" feature
    on Jul 15, 2021
  6. jnewbery commented at 4:40 PM on July 15, 2021: member

    I would have thought we'd want to go the other way and make DisconnectedBlockTransactions optional in all functions that take it. In the case where m_mempool is null, it seems strange to instantiate an object and pass it around if it never gets used.

  7. MarcoFalke commented at 6:27 PM on July 15, 2021: member

    Closing due to controversy

  8. MarcoFalke closed this on Jul 15, 2021

  9. MarcoFalke deleted the branch on Jul 15, 2021
  10. DrahtBot locked this on Aug 18, 2022

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-04-17 06:14 UTC

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