dash/contrib/seeds
Wladimir J. van der Laan 9b0c1f7733 Merge #12393: Fix a-vs-an typos
11376b5 Fix a-vs-an typos (practicalswift)

Pull request description:

  Fix a-vs-an typos.

Tree-SHA512: 2cf74c15656a20ec13d2da7d86a39d14e634db368833d92da06a78d1266950accfc4fcc89cfecdaadd46e6b48b17e6fad29080428e564871e78482c53f3e855c
2020-06-17 14:29:55 -05:00
..
generate-seeds.py Merge #12393: Fix a-vs-an typos 2020-06-17 14:29:55 -05:00
makeseeds.py fix lint-python.sh after 11835 and 12295 2020-06-17 14:29:55 -05:00
nodes_main.txt Update static and dns seeds for mainnet and testnet (#3234) 2019-12-11 12:30:38 +01:00
nodes_test.txt Update static and dns seeds for mainnet and testnet (#3234) 2019-12-11 12:30:38 +01:00
README.md Modify makesseeds.py to work with "protx list valid 1" instead of "masternode list (#3235) 2019-12-10 18:18:44 +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).

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

dash-cli protx list valid 1 1185193 > protx_list.json
python3 makeseeds.py < protx_list.json > nodes_main.txt
python3 generate-seeds.py . > ../../src/chainparamsseeds.h

Make sure to use a recent block height in the "protx list" call. After updating, create a PR and specify which block height you used so that reviewers can re-run the same commands and verify that the list is as expected.

Dependencies

Ubuntu:

sudo apt-get install python3-dnspython