Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 28-Jan-2021 | - | ||||
.gitignore | H A D | 28-Jan-2021 | 15 | 2 | 1 | |
README.md | H A D | 28-Jan-2021 | 834 | 22 | 14 | |
generate-seeds.py | H A D | 28-Jan-2021 | 4.3 KiB | 139 | 114 | |
makeseeds.py | H A D | 28-Jan-2021 | 7.9 KiB | 229 | 175 |
README.md
1# Seeds 2 3Utility to generate the seeds.txt list that is compiled into the client 4(see [src/chainparamsseeds.h](/src/chainparamsseeds.h) and other utilities in [contrib/seeds](/contrib/seeds)). 5 6Be sure to update `PATTERN_AGENT` in `makeseeds.py` to include the current version, 7and remove old versions as necessary (at a minimum when GetDesirableServiceFlags 8changes its default return value, as those are the services which seeds are added 9to addrman with). 10 11The seeds compiled into the release are created from pmconrad's DNS seed data, like this: 12 13 curl -s https://bitcoin.quisquis.de/dl/nmc-dnsseed.dump.gz | gzip -dc > seeds_main.txt 14 python3 makeseeds.py < seeds_main.txt > nodes_main.txt 15 python3 generate-seeds.py . > ../../src/chainparamsseeds.h 16 17## Dependencies 18 19Ubuntu: 20 21 sudo apt-get install python3-dnspython 22