diff options
author | Jon Atack <jon@atack.com> | 2023-04-18 09:39:11 -0700 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2023-04-20 06:08:22 -0700 |
commit | 04dd1d3926cdc6bb9d836686cc9060320911d27a (patch) | |
tree | eddc3508504f12a0333df849657a15af199c69ef /contrib/seeds | |
parent | f5c87886286473177a67a576d8eac0b32e7f5b97 (diff) |
contrib: make-seeds updates for 25.x
and make the steps in /contrib/seeds/README.md easier to copy-paste
Diffstat (limited to 'contrib/seeds')
-rw-r--r-- | contrib/seeds/README.md | 12 | ||||
-rwxr-xr-x | contrib/seeds/makeseeds.py | 7 |
2 files changed, 11 insertions, 8 deletions
diff --git a/contrib/seeds/README.md b/contrib/seeds/README.md index b0bbe96493..6db77cbbea 100644 --- a/contrib/seeds/README.md +++ b/contrib/seeds/README.md @@ -11,8 +11,10 @@ to addrman with). The seeds compiled into the release are created from sipa's DNS seed and AS map data. Run the following commands from the `/contrib/seeds` directory: - curl https://bitcoin.sipa.be/seeds.txt.gz | gzip -dc > seeds_main.txt - curl https://bitcoin.sipa.be/asmap-filled.dat > asmap-filled.dat - python3 makeseeds.py -a asmap-filled.dat -s seeds_main.txt > nodes_main.txt - cat nodes_main_manual.txt >> nodes_main.txt - python3 generate-seeds.py . > ../../src/chainparamsseeds.h +``` +curl https://bitcoin.sipa.be/seeds.txt.gz | gzip -dc > seeds_main.txt +curl https://bitcoin.sipa.be/asmap-filled.dat > asmap-filled.dat +python3 makeseeds.py -a asmap-filled.dat -s seeds_main.txt > nodes_main.txt +cat nodes_main_manual.txt >> nodes_main.txt +python3 generate-seeds.py . > ../../src/chainparamsseeds.h +``` diff --git a/contrib/seeds/makeseeds.py b/contrib/seeds/makeseeds.py index bec589c44f..af408c2df5 100755 --- a/contrib/seeds/makeseeds.py +++ b/contrib/seeds/makeseeds.py @@ -37,9 +37,10 @@ PATTERN_AGENT = re.compile( r"0.19.(0|1|2|99)|" r"0.20.(0|1|2|99)|" r"0.21.(0|1|2|99)|" - r"22.(0|99)|" - r"23.(0|99)|" - r"24.99" + r"22.(0|1|99)|" + r"23.(0|1|99)|" + r"24.(0|1|99)|" + r"25.99" r")") def parseline(line: str) -> Union[dict, None]: |