Add 'make seeds' to make it easy to add seeds

This commit is contained in:
Duke
2023-01-17 08:01:14 -05:00
parent 6f8bce9b3a
commit 176a9e1c7a
3 changed files with 9 additions and 2 deletions

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')