neobytes/contrib/seeds
Alexander Block cb37c39725 Bump PROTOCOL_VERSION to 70211, bump MIN_* protocols to 70210 (#2256)
Bump PROTOCOL_VERSION to 70211, bump MIN_* protocols to 70210
2018-09-05 19:34:56 +03:00
..
generate-seeds.py Merge #9736: Pre-0.14.0 hardcoded seeds update 2018-01-23 09:24:28 +01:00
makeseeds.py Bump PROTOCOL_VERSION to 70211, bump MIN_* protocols to 70210 (#2256) 2018-09-05 19:34:56 +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