2017-02-11 08:46:00 +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-11 08:46:00 +01:00
|
|
|
Be sure to update `PATTERN_AGENT` in `makeseeds.py` to include the current version,
|
|
|
|
and remove old versions as necessary.
|
|
|
|
|
2016-01-25 16:14:14 +01:00
|
|
|
The seeds compiled into the release are created from sipa's DNS seed data, like this:
|
|
|
|
|
|
|
|
curl -s http://bitcoin.sipa.be/seeds.txt > seeds_main.txt
|
2017-02-11 08:46:00 +01:00
|
|
|
python3 makeseeds.py < seeds_main.txt > nodes_main.txt
|
|
|
|
python3 generate-seeds.py . > ../../src/chainparamsseeds.h
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
Ubuntu:
|
2013-01-30 04:17:56 +01:00
|
|
|
|
2017-02-11 08:46:00 +01:00
|
|
|
sudo apt-get install python3-dnspython
|