aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAva Chow <github@achow101.com>2024-04-30 14:44:53 -0400
committerAva Chow <github@achow101.com>2024-08-16 11:28:51 -0400
commited5b86cbe47676276f8ff1a48001d5ecd560e153 (patch)
tree8cf46d2b4a0c0d92c440a73c425c3331874cfe3f /contrib
parent0676515397fcc8fb580973047e60279ce65bec48 (diff)
downloadbitcoin-ed5b86cbe47676276f8ff1a48001d5ecd560e153.tar.xz
seeds: Add testnet instructions
Diffstat (limited to 'contrib')
-rw-r--r--contrib/seeds/.gitignore1
-rw-r--r--contrib/seeds/README.md4
2 files changed, 5 insertions, 0 deletions
diff --git a/contrib/seeds/.gitignore b/contrib/seeds/.gitignore
index d9a2451f70..4e0ee74a0b 100644
--- a/contrib/seeds/.gitignore
+++ b/contrib/seeds/.gitignore
@@ -1,2 +1,3 @@
seeds_main.txt
+seeds_test.txt
asmap-filled.dat
diff --git a/contrib/seeds/README.md b/contrib/seeds/README.md
index 1e79937361..935ac8d4bd 100644
--- a/contrib/seeds/README.md
+++ b/contrib/seeds/README.md
@@ -14,8 +14,12 @@ 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://mainnet.achownodes.xyz/seeds.txt.gz | gzip -dc >> seeds_main.txt
+curl https://testnet.achownodes.xyz/seeds.txt.gz | gzip -dc > seeds_test.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 makeseeds.py -a asmap-filled.dat -s seeds_test.txt > nodes_test.txt
+# TODO: Uncomment when a seeder publishes seeds.txt.gz for testnet4
+# python3 makeseeds.py -a asmap-filled.dat -s seeds_testnet4.txt -m 30000 > nodes_testnet4.txt
python3 generate-seeds.py . > ../../src/chainparamsseeds.h
```