mirror of
https://git.hush.is/hush/hush3.git
synced 2025-07-14 00:03:21 -04:00
Compare commits
4 Commits
6f8bce9b3a
...
26064b4bf8
Author | SHA1 | Date | |
---|---|---|---|
|
26064b4bf8 | ||
|
0ebb4c70c7 | ||
|
76b8de6b70 | ||
|
176a9e1c7a |
@ -247,6 +247,9 @@ 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"
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
### 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](/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
|
|
||||||
|
@ -164,7 +164,9 @@ 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, 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('#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')
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
// 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, 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
|
#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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user