Compare commits

...

4 Commits

Author SHA1 Message Date
duke
26064b4bf8 Update 'contrib/seeds/README.md'
Note that links to the files will not work until this is merged to master
2023-01-17 13:58:24 +00:00
duke
0ebb4c70c7 Update 'contrib/seeds/README.md' 2023-01-17 13:53:44 +00:00
duke
76b8de6b70 Update 'contrib/seeds/README.md' 2023-01-17 13:53:29 +00:00
Duke
176a9e1c7a Add 'make seeds' to make it easy to add seeds 2023-01-17 08:01:14 -05:00
4 changed files with 15 additions and 6 deletions

View File

@ -247,6 +247,9 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-man
clean-local:
rm -rf test_bitcoin.coverage/ total.coverage/
seeds:
./contrib/seeds/generate-seeds.py contrib/seeds > src/chainparamsseeds.h
manpages:
./util/gen-manpages.sh
@echo "Please review the man pages changes to see if they look correct, then commit and push"

View File

@ -1,8 +1,10 @@
### 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)).
(see [src/chainparamsseeds.h](hush/hush3/src/branch/master/src/chainparamsseeds.h) and other utilities in [contrib/seeds](hush/hush3/src/branch/master/contrib/seeds/)).
## Updating seeds
Update [contrib/seeds/nodes_main.txt](hush/hush3/src/branch/master/contrib/seeds/nodes_main.txt) and run `make seeds` in the root directory of this repo to update [src/chainparamsseeds.h](hush/hush3/src/branch/master/src/chainparamsseeds.h) then commit the result.
The 512 seeds compiled into the 0.10 release were created from sipa's DNS seed data, like this:
curl -s http://bitcoin.sipa.be/seeds.txt | makeseeds.py

View File

@ -164,7 +164,9 @@ def main():
g.write('// Distributed under the GPLv3 software license, see the accompanying\n')
g.write('// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html\n')
g.write('// THIS FILE IS AUTOGENERATED, DO NOT MODIFY DIRECTLY\n')
g.write('// Instead, run: ./contrib/seeds/generate-seeds.py contrib/seeds\n')
g.write('// Instead, update contrib/seeds/nodes_main.txt then run\n')
g.write('// ./contrib/seeds/generate-seeds.py contrib/seeds > src/chainparamsseeds.h\n')
g.write('// OR run: make seeds\n')
g.write('#ifndef HUSH_CHAINPARAMSSEEDS_H\n')
g.write('#define HUSH_CHAINPARAMSSEEDS_H\n')
g.write('// List of fixed seed nodes for the Hush network\n')

View File

@ -2,7 +2,9 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY DIRECTLY
// Instead, run: ./contrib/seeds/generate-seeds.py contrib/seeds
// Instead, update contrib/seeds/nodes_main.txt then run
// ./contrib/seeds/generate-seeds.py contrib/seeds > src/chainparamsseeds.h
// OR run: make seeds
#ifndef HUSH_CHAINPARAMSSEEDS_H
#define HUSH_CHAINPARAMSSEEDS_H
// List of fixed seed nodes for the Hush network