Add 'make seeds' to make it easy to add seeds
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user