• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..28-Jan-2021-

.gitignoreH A D28-Jan-202115 21

README.mdH A D28-Jan-2021834 2214

generate-seeds.pyH A D28-Jan-20214.3 KiB139114

makeseeds.pyH A D28-Jan-20217.9 KiB229175

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