Pre-0.14.0 hardcoded seeds update #9736

pull laanwj wants to merge 3 commits into bitcoin:master from laanwj:2017_02_dnsseeds changing 5 files +2084 −1614
  1. laanwj commented at 9:29 AM on February 10, 2017: member

    Update hardcoded seeds list from @sipa's DNS seed.

    Also update seeds tooling to Python 3.

  2. Update seeds tooling to Python 3
    All the other tooling scripts require Python 3, it makes sense to do so
    here too.
    
    Also document the dependency on python3-dnspython.
    4dfac2c950
  3. laanwj added the label P2P on Feb 10, 2017
  4. laanwj added this to the milestone 0.14.0 on Feb 10, 2017
  5. gmaxwell commented at 9:35 AM on February 10, 2017: contributor

    PATTERN_AGENT needs an update

  6. laanwj commented at 9:37 AM on February 10, 2017: member

    PATTERN_AGENT needs an update

    What does it need to be updated to?

  7. gmaxwell commented at 9:53 AM on February 10, 2017: contributor

    I believe this would be prudent:

    PATTERN_AGENT = re.compile(r"^(/Satoshi:0.12.(0|1|99)/|/Satoshi:0.13.(0|1|2|99)/)$")

    (Adds the newest versions, drops everything multiple softforks ago.)

  8. contrib/seeds: Update PATTERN_AGENT
    gmaxwell: Adds the newest versions, drops everything multiple softforks ago.
    bfa9393c06
  9. Pre-0.14.0 hardcoded seeds update a60677e394
  10. laanwj force-pushed on Feb 10, 2017
  11. laanwj commented at 10:04 AM on February 10, 2017: member

    Ok, updated and regenerated with that.

  12. jonasschnelli commented at 10:11 AM on February 10, 2017: contributor

    A thought: we can (not sure if we should) filter the seed.txt for particular service flags (like NODE_WITNESS).

  13. laanwj commented at 10:14 AM on February 10, 2017: member

    Regarding the possibility: yes, the make_seeds script filters for bit 1 at the moment. This could be extended to others:

        # Require service bit 1.
        ips = [ip for ip in ips if (ip['service'] & 1) == 1]
    
  14. gmaxwell approved
  15. gmaxwell commented at 9:51 PM on February 10, 2017: contributor

    I reproduced the nodes_main with acceptable similarity using data collected at about the same time wumpus updated the PR. I checked that many of them were reachable, and also checked that the nodes_main didn't include any IPs I have banned (I was surprised it didn't). Also confirmed the seeds in the source matched the text file.

  16. laanwj commented at 7:45 AM on February 11, 2017: member

    Thanks for checking @gmaxwell

  17. laanwj merged this on Feb 11, 2017
  18. laanwj closed this on Feb 11, 2017

  19. laanwj referenced this in commit d978c41e1e on Feb 11, 2017
  20. codablock referenced this in commit f4d7024d5c on Jan 19, 2018
  21. codablock referenced this in commit 7cc218dd72 on Jan 23, 2018
  22. andvgal referenced this in commit 489b1a4dd4 on Jan 6, 2019
  23. DrahtBot locked this on Sep 8, 2021
Labels

Milestone
0.14.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-04-13 15:15 UTC

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