mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
7cc218dd72
a60677e
Pre-0.14.0 hardcoded seeds update (Wladimir J. van der Laan)bfa9393
contrib/seeds: Update PATTERN_AGENT (Wladimir J. van der Laan)4dfac2c
Update seeds tooling to Python 3 (Wladimir J. van der Laan)
20 lines
658 B
Markdown
20 lines
658 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 `PATTERN_AGENT` in `makeseeds.py` to include the current version,
|
|
and remove old versions as necessary.
|
|
|
|
The seeds compiled into the release are created from sipa's DNS seed data, like this:
|
|
|
|
curl -s http://bitcoin.sipa.be/seeds.txt > seeds_main.txt
|
|
python3 makeseeds.py < seeds_main.txt > nodes_main.txt
|
|
python3 generate-seeds.py . > ../../src/chainparamsseeds.h
|
|
|
|
## Dependencies
|
|
|
|
Ubuntu:
|
|
|
|
sudo apt-get install python3-dnspython
|