Branch: master
Find file History


Utility to generate the seeds.txt list that is compiled into the client (see src/chainparamsseeds.h and other utilities in contrib/seeds).

Be sure to update PATTERN_AGENT in to include the current version, and remove old versions as necessary (at a minimum when GetDesirableServiceFlags changes its default return value, as those are the services which seeds are added to addrman with).

The seeds compiled into the release are created from sipa's DNS seed data, like this:

curl -s | gzip -dc > seeds_main.txt
python3 < seeds_main.txt > nodes_main.txt
python3 . > ../../src/chainparamsseeds.h



sudo apt-get install python3-dnspython