Compare commits

..

No commits in common. "26064b4bf8b8f82d9254a2188dc290e41cb20f0c" and "6f8bce9b3a41ce9c9a73644f8a19840db22c25b2" have entirely different histories.

4 changed files with 6 additions and 15 deletions

View File

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

View File

@ -1,10 +1,8 @@
# 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](hush/hush3/src/branch/master/src/chainparamsseeds.h) and other utilities in [contrib/seeds](hush/hush3/src/branch/master/contrib/seeds/)). (see [src/chainparamsseeds.h](/src/chainparamsseeds.h) and other utilities in [contrib/seeds](/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,9 +164,7 @@ def main():
g.write('// Distributed under the GPLv3 software license, see the accompanying\n') 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('// 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('// THIS FILE IS AUTOGENERATED, DO NOT MODIFY DIRECTLY\n')
g.write('// Instead, update contrib/seeds/nodes_main.txt then run\n') g.write('// Instead, run: ./contrib/seeds/generate-seeds.py contrib/seeds\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('#ifndef HUSH_CHAINPARAMSSEEDS_H\n')
g.write('#define HUSH_CHAINPARAMSSEEDS_H\n') g.write('#define HUSH_CHAINPARAMSSEEDS_H\n')
g.write('// List of fixed seed nodes for the Hush network\n') g.write('// List of fixed seed nodes for the Hush network\n')

View File

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