aboutsummaryrefslogtreecommitdiff
path: root/contrib/seeds/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/seeds/README.md')
-rw-r--r--contrib/seeds/README.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/seeds/README.md b/contrib/seeds/README.md
index c595f83eb9..afe902fd7f 100644
--- a/contrib/seeds/README.md
+++ b/contrib/seeds/README.md
@@ -1,11 +1,19 @@
-### Seeds ###
+# 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
- python makeseeds.py < seeds_main.txt > nodes_main.txt
- python generate-seeds.py . > ../../src/chainparamsseeds.h
+ python3 makeseeds.py < seeds_main.txt > nodes_main.txt
+ python3 generate-seeds.py . > ../../src/chainparamsseeds.h
+
+## Dependencies
+
+Ubuntu:
+ sudo apt-get install python3-dnspython