diff --git a/contrib/seeds/generate-seeds.py b/contrib/seeds/generate-seeds.py index 72dd5d28cc..a3ce012251 100755 --- a/contrib/seeds/generate-seeds.py +++ b/contrib/seeds/generate-seeds.py @@ -9,6 +9,7 @@ This script expects three text files in the directory that is passed as an argument: nodes_main.txt + nodes_signet.txt nodes_test.txt nodes_testnet4.txt @@ -19,9 +20,9 @@ These files must consist of lines in the format .onion: .b32.i2p: -The output will be two data structures with the peers in binary format: +The output will be several data structures with the peers in binary format: - static const uint8_t chainparams_seed_{main,test}[]={ + static const uint8_t chainparams_seed_{main,signet,test,testnet4}[]={ ... } @@ -170,6 +171,9 @@ def main(): with open(os.path.join(indir,'nodes_main.txt'), 'r', encoding="utf8") as f: process_nodes(g, f, 'chainparams_seed_main') g.write('\n') + with open(os.path.join(indir,'nodes_signet.txt'), 'r', encoding="utf8") as f: + process_nodes(g, f, 'chainparams_seed_signet') + g.write('\n') with open(os.path.join(indir,'nodes_test.txt'), 'r', encoding="utf8") as f: process_nodes(g, f, 'chainparams_seed_test') g.write('\n')