Skip to content

Commit ed5b86c

Browse files
committed
seeds: Add testnet instructions
1 parent 0676515 commit ed5b86c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

contrib/seeds/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
seeds_main.txt
2+
seeds_test.txt
23
asmap-filled.dat

contrib/seeds/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ data. Run the following commands from the `/contrib/seeds` directory:
1414
```
1515
curl https://bitcoin.sipa.be/seeds.txt.gz | gzip -dc > seeds_main.txt
1616
curl https://mainnet.achownodes.xyz/seeds.txt.gz | gzip -dc >> seeds_main.txt
17+
curl https://testnet.achownodes.xyz/seeds.txt.gz | gzip -dc > seeds_test.txt
1718
curl https://bitcoin.sipa.be/asmap-filled.dat > asmap-filled.dat
1819
python3 makeseeds.py -a asmap-filled.dat -s seeds_main.txt > nodes_main.txt
1920
cat nodes_main_manual.txt >> nodes_main.txt
21+
python3 makeseeds.py -a asmap-filled.dat -s seeds_test.txt > nodes_test.txt
22+
# TODO: Uncomment when a seeder publishes seeds.txt.gz for testnet4
23+
# python3 makeseeds.py -a asmap-filled.dat -s seeds_testnet4.txt -m 30000 > nodes_testnet4.txt
2024
python3 generate-seeds.py . > ../../src/chainparamsseeds.h
2125
```

0 commit comments

Comments
 (0)