neobytes/contrib/seeds/README.md
Alexander Block a6ba82ac9a Use masternode list to generate hardcoded seeds (#1892)
* Change makeseeds.py to use masternode list as input instead of DNS seed dump

* Allow 4 nodes per ASN

Lift the limitation a bit so we get more entries

* Update nodes_main.txt and nodes_test.txt

Generated with makeseeds.py based on current masternode lists

* Fix comment about the source of the seed nodes and use masternodelist rpc

* Use fixed OpenDNS servers for ASN filtering
2018-02-05 18:39:26 +03:00

616 B

Seeds

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 MIN_PROTOCOL_VERSION in makeseeds.py to include the current version.

The seeds compiled into the release are created from the current masternode list, like this:

dash-cli masternodelist full > mnlist.json
python3 makeseeds.py < mnlist.json > nodes_main.txt
python3 generate-seeds.py . > ../../src/chainparamsseeds.h

Dependencies

Ubuntu:

sudo apt-get install python3-dnspython