neobytes/contrib/seeds
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
..
generate-seeds.py Merge #9736: Pre-0.14.0 hardcoded seeds update 2018-01-23 09:24:28 +01:00
makeseeds.py Use masternode list to generate hardcoded seeds (#1892) 2018-02-05 18:39:26 +03:00
nodes_main.txt Use masternode list to generate hardcoded seeds (#1892) 2018-02-05 18:39:26 +03:00
nodes_test.txt Use masternode list to generate hardcoded seeds (#1892) 2018-02-05 18:39:26 +03:00
README.md Use masternode list to generate hardcoded seeds (#1892) 2018-02-05 18:39:26 +03:00

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