qt: Deduplicate NumConnections enum #19193

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:200606-numconn changing 3 files +13 −26
  1. hebasto commented at 5:35 PM on June 6, 2020: member

    There are two identical NumConnections enums in the code base:

    • enum NumConnections in qt/clientmodel.h was introduced in #3685
    • enum CConnman::NumConnections in net.h was introduced in #8085

    This PR drops the former enum in favor of the latter one.

  2. refactor, qt, net: Deduplicate NumConnections enum 4147d7413b
  3. MarcoFalke renamed this:
    refactor, qt, net: Deduplicate NumConnections enum
    qt: Deduplicate NumConnections enum
    on Jun 6, 2020
  4. MarcoFalke added the label Refactoring on Jun 6, 2020
  5. practicalswift commented at 7:33 PM on June 6, 2020: contributor

    Concept ACK: DRY is good

  6. DrahtBot commented at 1:10 AM on June 7, 2020: member

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    No conflicts as of last run.

  7. laanwj commented at 12:50 PM on July 15, 2020: member

    Not sure about this architecturally, is the GUI allowed to use arbitrary core types, just like that? Or do they need to be moved to the interface header then? @ryanofsky

  8. hebasto commented at 9:53 AM on September 11, 2020: member
  9. hebasto closed this on Sep 11, 2020

  10. DrahtBot locked this on Feb 15, 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-24 21:14 UTC

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