Browse Source
0.14a60677e
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)
Wladimir J. van der Laan
8 years ago
5 changed files with 2084 additions and 1614 deletions
@ -1,11 +1,19 @@ |
|||||||
### Seeds ### |
# Seeds |
||||||
|
|
||||||
Utility to generate the seeds.txt list that is compiled into the client |
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)). |
(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: |
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 |
curl -s http://bitcoin.sipa.be/seeds.txt > seeds_main.txt |
||||||
python makeseeds.py < seeds_main.txt > nodes_main.txt |
python3 makeseeds.py < seeds_main.txt > nodes_main.txt |
||||||
python generate-seeds.py . > ../../src/chainparamsseeds.h |
python3 generate-seeds.py . > ../../src/chainparamsseeds.h |
||||||
|
|
||||||
|
## Dependencies |
||||||
|
|
||||||
|
Ubuntu: |
||||||
|
|
||||||
|
sudo apt-get install python3-dnspython |
||||||
|
Loading…
Reference in new issue