mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
a6ba82ac9a
* 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
19 lines
616 B
Markdown
19 lines
616 B
Markdown
# Seeds
|
|
|
|
Utility to generate the seeds.txt list that is compiled into the client
|
|
(see [src/chainparamsseeds.h](/src/chainparamsseeds.h) and other utilities in [contrib/seeds](/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
|