contrib: make-seeds updates for 25.x
and make the steps in /contrib/seeds/README.md easier to copy-paste
This commit is contained in:
1 parent
f5c8788628
commit
04dd1d3926
2 files changed
+11
-8
No files matched your search
@@ -11,8 +11,10 @@ to addrman with).
|
|||||||
The seeds compiled into the release are created from sipa's DNS seed and AS map
|
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:
|
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
|
curl https://bitcoin.sipa.be/seeds.txt.gz | gzip -dc > seeds_main.txt
|
||||||
python3 makeseeds.py -a asmap-filled.dat -s seeds_main.txt > nodes_main.txt
|
curl https://bitcoin.sipa.be/asmap-filled.dat > asmap-filled.dat
|
||||||
cat nodes_main_manual.txt >> nodes_main.txt
|
python3 makeseeds.py -a asmap-filled.dat -s seeds_main.txt > nodes_main.txt
|
||||||
python3 generate-seeds.py . > ../../src/chainparamsseeds.h
|
cat nodes_main_manual.txt >> nodes_main.txt
|
||||||
|
python3 generate-seeds.py . > ../../src/chainparamsseeds.h
|
||||||
|
```
|
||||||
@@ -37,9 +37,10 @@ PATTERN_AGENT = re.compile(
|
|||||||
r"0.19.(0|1|2|99)|"
|
r"0.19.(0|1|2|99)|"
|
||||||
r"0.20.(0|1|2|99)|"
|
r"0.20.(0|1|2|99)|"
|
||||||
r"0.21.(0|1|2|99)|"
|
r"0.21.(0|1|2|99)|"
|
||||||
r"22.(0|99)|"
|
r"22.(0|1|99)|"
|
||||||
r"23.(0|99)|"
|
r"23.(0|1|99)|"
|
||||||
r"24.99"
|
r"24.(0|1|99)|"
|
||||||
|
r"25.99"
|
||||||
r")")
|
r")")
|
||||||
|
|
||||||
def parseline(line: str) -> Union[dict, None]:
|
def parseline(line: str) -> Union[dict, None]:
|
||||||
|
|||||||
Reference in new issue
Block a user