Remove confusing CAddrDB #22915

pull MarcoFalke wants to merge 3 commits into bitcoin:master from MarcoFalke:2109-noAddrDb changing 13 files +37 −46
  1. MarcoFalke commented at 7:37 AM on September 8, 2021: member

    Split out from #22762 to avoid having to carry it around in (an)other rebase(s)

  2. Move addrman includes from .h to .cpp
    This is a follow-up to the code move in commit a820e79512b67b1bfda20bdc32b47086d2b0910d
    fa3f5d0dae
  3. Fix addrdb includes fa7f77b7d1
  4. Remove confusing CAddrDB
    The class only stores the file path, reading it from a global. Globals
    are confusing and make testing harder.
    
    The method reading from a stream does not even use any class members, so
    putting it in a class is also confusing.
    fade9a1a4d
  5. MarcoFalke added the label Refactoring on Sep 8, 2021
  6. MarcoFalke added the label P2P on Sep 8, 2021
  7. practicalswift commented at 7:54 AM on September 8, 2021: contributor

    Concept ACK

  8. ryanofsky approved
  9. ryanofsky commented at 1:07 PM on September 8, 2021: member

    Code review ACK fade9a1a4db71241ccad03fdacfb626453952963

  10. DrahtBot commented at 1:23 PM on September 8, 2021: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #22910 ([RFC] Encapsulate asmap in NetGroupManager by jnewbery)

    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.

  11. lsilva01 approved
  12. lsilva01 commented at 1:37 AM on September 9, 2021: contributor
  13. MarcoFalke commented at 6:09 AM on September 9, 2021: member

    Going to merge this because the commit has another three (indirect) ACKs from the parent pull.

  14. MarcoFalke merged this on Sep 9, 2021
  15. MarcoFalke closed this on Sep 9, 2021

  16. MarcoFalke deleted the branch on Sep 9, 2021
  17. fanquake referenced this in commit 17e27dd000 on Sep 9, 2021
  18. sidhujag referenced this in commit b1bb38aa5d on Sep 11, 2021
  19. Fabcien referenced this in commit 9f83b8b171 on Oct 19, 2022
  20. DrahtBot locked this on Oct 30, 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-14 21:14 UTC

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