2017-02-10 10:16:14 +01:00
|
|
|
# Seeds
|
2013-10-16 05:14:30 +02:00
|
|
|
|
2014-12-23 17:43:32 +01:00
|
|
|
Utility to generate the seeds.txt list that is compiled into the client
|
2015-06-23 21:31:47 +02:00
|
|
|
(see [src/chainparamsseeds.h](/src/chainparamsseeds.h) and other utilities in [contrib/seeds](/contrib/seeds)).
|
2013-01-30 04:17:56 +01:00
|
|
|
|
2017-02-10 10:58:17 +01:00
|
|
|
Be sure to update `PATTERN_AGENT` in `makeseeds.py` to include the current version,
|
2023-07-26 19:21:21 +02:00
|
|
|
and remove old versions as necessary (at a minimum when SeedsServiceFlags()
|
2017-10-19 23:32:33 +02:00
|
|
|
changes its default return value, as those are the services which seeds are added
|
|
|
|
to addrman with).
|
2017-02-10 10:58:17 +01:00
|
|
|
|
2024-08-27 06:15:58 +02:00
|
|
|
The seeds compiled into the release are created from sipa's, achow101's and luke-jr's
|
2024-09-26 15:54:01 +02:00
|
|
|
DNS seed, virtu's crawler, and asmap community AS map data. Run the following commands
|
2024-08-27 06:15:58 +02:00
|
|
|
from the `/contrib/seeds` directory:
|
2016-01-25 16:14:14 +01:00
|
|
|
|
2023-04-18 18:39:11 +02:00
|
|
|
```
|
|
|
|
curl https://bitcoin.sipa.be/seeds.txt.gz | gzip -dc > seeds_main.txt
|
2024-04-30 20:18:27 +02:00
|
|
|
curl https://mainnet.achownodes.xyz/seeds.txt.gz | gzip -dc >> seeds_main.txt
|
2024-08-22 11:50:15 +02:00
|
|
|
curl https://21.ninja/seeds.txt.gz | gzip -dc >> seeds_main.txt
|
2024-08-27 06:15:58 +02:00
|
|
|
curl https://luke.dashjr.org/programs/bitcoin/files/charts/seeds.txt >> seeds_main.txt
|
|
|
|
curl https://testnet.achownodes.xyz/seeds.txt.gz | gzip -dc > seeds_test.txt
|
2024-09-26 15:54:01 +02:00
|
|
|
curl https://raw.githubusercontent.com/asmap/asmap-data/main/latest_asmap.dat > asmap-filled.dat
|
2023-04-18 18:39:11 +02:00
|
|
|
python3 makeseeds.py -a asmap-filled.dat -s seeds_main.txt > nodes_main.txt
|
2024-04-30 20:44:53 +02:00
|
|
|
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
|
2023-04-18 18:39:11 +02:00
|
|
|
python3 generate-seeds.py . > ../../src/chainparamsseeds.h
|
|
|
|
```
|