`-asmap` on by default in v33? #37095

issue fanquake opened this issue on December 3, 2026
  1. fanquake commented at 4:24 PM on December 3, 2026: member

    No description provided.

  2. fanquake added this to the milestone 33.0 on Dec 3, 2026
  3. fanquake added the label Net on Dec 3, 2026
  4. 0xB10C commented at 10:38 PM on December 3, 2026: contributor

    The discussion at the bottom of #16599 is relevant.

    Personally, I think the biggest blocker might be that we can't reason well about the effect on (the topology of) the network and if that will move us into an overall worse situation than now. @sipa writes in #16599 (comment)

    I'm a bit surprised by the hesitancy about wanting asmap-by-default, because it seems to me the concerns are orthogonal problems, and not inherent to asmap. What using/enabling/defaulting asmap does is make Bitcoin Core use a "better map of the Internet" than the extremely approximate /16-based bucketing. That will, inevitably, change the topology of the network; that is the goal. It's certainly possible that some of the effects will be undesirable, but - if any - I think we should see that as exposing inherent problems in the existing network logic that should be fixed/improved, rather than a reason for staying with the /16-based map.

    I think it would be good to have someone (LLM) review and look into reproducing @virtu's simulations from #16599 (comment) - happy to help with data for this. Not that I don't trust it, but if that's one of the big blockers, we should double check.

    I think we should see that as exposing inherent problems in the existing network logic that should be fixed/improved

    In #16599, rolling evictions causing network wide churn is discussed. Maybe thinking about what other problems our existing network logic has that we should fix before merging asmap=1 by default is a good next step.

  5. 0xB10C commented at 1:58 AM on December 4, 2026: contributor

    Maybe thinking about what other problems our existing network logic has that we should fix before merging asmap=1 by default is a good next step.

    Questions that came up:

    • How does our addrman (new table) composition look like when comparing a asmap and a /16-based long-running node?
    • Additionally, switching a node to asmap will change the mapping of the addresses in the tables. It would be good to have a rough understanding of what happens when everybody does this at roughly the same time.
      • How many slots free up?
      • How many and which addresses are lost?
      • See e.g. #36954 (comment) for what a change in addrman format can cause.
Contributors
Labels

Milestone
33.0


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