mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
137c4fc84c
Mainnet: 1716101 Testnet: 774784
22 lines
777 B
Markdown
22 lines
777 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)).
|
|
|
|
The seeds compiled into the release are created from the current protx list, like this:
|
|
|
|
dash-cli protx list valid 1 1716101 > 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-pip
|
|
pip3 install dnspython
|