Fixed seeds update for 27.0 #29561

pull achow101 wants to merge 4 commits into bitcoin:master from achow101:27.0-seeds-update changing 5 files +4183 −1646
  1. achow101 commented at 0:54 am on March 5, 2024: member

    The ipv4 and ipv6 seeds are updated from sipa’s crawler, as outlined in contrib/seeds/README.md. The onion and i2p seeds are pulled from my node’s addrman using getrawaddrman and then a connection was made to each node to retrieve the current service flags, block height, and user agent string before filtering through makeseeds.py. The CJDNS nodes were not updated as my node is not connected to that network.

    makeseeds.py is also updated for more recent user agent strings as well as being able to handle i2p addresses.

    Also updated the testnet seeds.

  2. makeseeds: Update PATTERN_AGENT a8ec9eede4
  3. makeseeds: Check i2p seeds too 9701bc435f
  4. seeds: Update mainnet seeds 34a233b6d8
  5. seeds: Update testnet seeds 7ab54397f8
  6. DrahtBot commented at 0:55 am on March 5, 2024: contributor

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

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK fanquake

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  7. fanquake added this to the milestone 27.0 on Mar 5, 2024
  8. fanquake commented at 11:08 am on March 6, 2024: member

    I’ve tested this on mainnet:

    0# no anchors or peers, dns=0 dnsseed=0
    12024-03-06T11:01:47Z opencon thread start
    22024-03-06T11:01:47Z Adding fixed seeds as -dnsseed=0 (or IPv4/IPv6 connections are disabled via -onlynet) and neither -addnode nor -seednode are provided
    32024-03-06T11:01:47Z Added 801 fixed seeds from reachable networks.
    42024-03-06T11:01:56Z New outbound-full-relay v1 peer connected: version: 70016, blocks=833398, peer=0
    52024-03-06T11:01:56Z Synchronizing blockheaders, height: 833398 (~100.00%)
    

    but testnet doesn’t work:

    0# no anchors or peers, dns=0 dnsseed=0
    12024-03-06T10:59:25Z opencon thread start
    22024-03-06T10:59:26Z Adding fixed seeds as -dnsseed=0 (or IPv4/IPv6 connections are disabled via -onlynet) and neither -addnode nor -seednode are provided
    32024-03-06T10:59:26Z Added 0 fixed seeds from reachable networks.
    

    Although it looks like this was already broken #29574.

  9. willcl-ark commented at 11:08 am on March 6, 2024: contributor

    In cross-referencing one of my own nodes (as the only ones I can really do any cross-checking on) I notice that the data returned for them from sipa’s seeder (for my node) does not match what I expect in two ways:

    1. Incorrect version string: reported as 24.0 rather than 26.0. The version is reported correctly to me by another instance of bitcoind connecting to the node.
    2. Low uptime: this node has been running uninterrupted (and without fault) since early December, after being updated to v26.0. Before that it ran uninterrupted since the last major version update. Connectivity reported as <=30% does not feel congruent with its uptime.

    My interpretation therefore is that it’s possible that, if anything, we may be missing out on adding more seed nodes to this list?

    In any case, the results of a single node likely don’t affect the general accuracy of the changes here and I suppose the changes proposed here are probably correct on balance.

  10. fanquake approved
  11. fanquake commented at 2:41 pm on March 6, 2024: member

    ACK 7ab54397f8b818b0474d4e9d4f5db45abb6fc249

    Although it looks like this was already broken #29574.

    Given the discussion, not considering this a blocker given it’s not a regression (and we can still backport a change that introduces new seeds to 27.x if we want to).

  12. fanquake merged this on Mar 6, 2024
  13. fanquake closed this on Mar 6, 2024


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: 2024-12-26 12:12 UTC

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