Skip to content

net: update hardcoded mainnet seeds for 24.x - #25911

Merged
maflcko merged 3 commits into
bitcoin:masterfrom
jonatack:2022-08-hardcoded-seeds-update
Aug 24, 2022
Merged

maflcko merged 3 commits into
bitcoin:masterfrom
jonatack:2022-08-hardcoded-seeds-update

Conversation

@jonatack

Copy link
Copy Markdown
Member

Update the hardcoded P2P network seeds for 24.x after updating the manual seeds and the generation script as necessary. Previous update was #24417.

Can be tested by following the steps in contrib/seeds/README.md.

Tool output:

$ python3 makeseeds.py -a asmap-filled.dat < seeds_main.txt > nodes_main.txt
Loading asmap database "asmap-filled.dat"…Done.
Loading and parsing DNS seeds…Done.
  IPv4   IPv6  Onion Pass                                               
472019  73788      0 Initial
472019  73788      0 Skip entries with invalid address
472019  73788      0 After removing duplicates
  7766   2310      0 Enforce minimal number of blocks
  6534   1835      0 Require service bit 1
  2808    801      0 Require minimum uptime
  2748    781      0 Require a known and recent user agent
  2727    775      0 Filter out hosts with multiple bitcoin ports
   512    267      0 Look up ASNs and limit results per ASN and per net

torv3/i2p/cjdns seeds selected for reachability, uptime and service bit 1
following the steps in contrib/seeds/README.md
@DrahtBot DrahtBot added the P2P label Aug 23, 2022
@laanwj

laanwj commented Aug 24, 2022

Copy link
Copy Markdown
Member

LGTM ACK 9b6f5fa
I get a similar output locally.

@maflcko maflcko added this to the 24.0 milestone Aug 24, 2022
@Emzy

Emzy commented Aug 24, 2022

Copy link
Copy Markdown
Contributor

ACK 9b6f5fa
Just got a very similar output locally.

@brunoerg brunoerg left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 9b6f5fa

Got similar output:

➜  seeds git:(jon-25911) ✗ python3 makeseeds.py -a asmap-filled.dat < seeds_main.txt > nodes_main.txt
Loading asmap database "asmap-filled.dat"…Done.
Loading and parsing DNS seeds…Done.
  IPv4   IPv6  Onion Pass
472024  73808      0 Initial
472024  73808      0 Skip entries with invalid address
472024  73808      0 After removing duplicates
  7776   2327      0 Enforce minimal number of blocks
  6537   1848      0 Require service bit 1
  2806    804      0 Require minimum uptime
  2746    785      0 Require a known and recent user agent
  2725    779      0 Filter out hosts with multiple bitcoin ports
   512    268      0 Look up ASNs and limit results per ASN and per net

@maflcko
maflcko merged commit 1420547 into bitcoin:master Aug 24, 2022
@jonatack
jonatack deleted the 2022-08-hardcoded-seeds-update branch August 24, 2022 17:18
achow101 added a commit that referenced this pull request Apr 20, 2023
31b1798 p2p: update hardcoded mainnet seeds for 25.x (Jon Atack)
04dd1d3 contrib: make-seeds updates for 25.x (Jon Atack)
f5c8788 p2p: update manual tor/i2p/cjdns mainnet seeds for 25.x (Jon Atack)

Pull request description:

  Update the hardcoded P2P network seeds for 25.x after updating the manual seeds and the generation script as necessary. Previous update was #25911.

  The manual seeds are selected for reachability, uptime and service bit 1 and/or curated trusted peers. We need more Tor and CJDNS seeds and some of the current Tor and I2P seeds are no longer reachable.

  Can be tested by following the steps in `contrib/seeds/README.md` and verifying the manual seeds by checking their presence and services in getnodeaddresses and/or connecting to them and checking their services with getpeerinfo and behavior with -netinfo.

  Tool output:

  ```
  $ python3 makeseeds.py -a asmap-filled.dat -s seeds_main.txt > nodes_main.txt

  Loading asmap database "asmap-filled.dat"…Done.
  Loading and parsing DNS seeds…Done.
    IPv4   IPv6  Onion Pass
    3972   1118      0 Initial
    3972   1118      0 Skip entries with invalid address
    3972   1118      0 After removing duplicates
    3946   1112      0 Enforce minimal number of blocks
    3946   1112      0 Require service bit 1
    2791    798      0 Require minimum uptime
    2757    788      0 Require a known and recent user agent
    2757    788      0 Filter out hosts with multiple bitcoin ports
     512    289      0 Look up ASNs and limit results per ASN and per net```

ACKs for top commit:
  achow101:
    ACK 31b1798
  mzumsande:
    reACK 31b1798

Tree-SHA512: 40cdd0ac74e3d26975ab688ee4af09bedcf15f6e02311757b27c91aafdc4da16cca2be90fee767207bb4ccd542ad19197e4d5e00011185018239de35da19c174
@bitcoin bitcoin locked and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants