mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 16:13:09 +02:00
testnet: Introduce Testnet4
This commit is contained in:
@@ -5,11 +5,12 @@
|
||||
'''
|
||||
Script to generate list of seed nodes for kernel/chainparams.cpp.
|
||||
|
||||
This script expects two text files in the directory that is passed as an
|
||||
This script expects three text files in the directory that is passed as an
|
||||
argument:
|
||||
|
||||
nodes_main.txt
|
||||
nodes_test.txt
|
||||
nodes_testnet4.txt
|
||||
|
||||
These files must consist of lines in the format
|
||||
|
||||
@@ -171,6 +172,9 @@ def main():
|
||||
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')
|
||||
with open(os.path.join(indir,'nodes_testnet4.txt'), 'r', encoding="utf8") as f:
|
||||
process_nodes(g, f, 'chainparams_seed_testnet4')
|
||||
g.write('#endif // BITCOIN_CHAINPARAMSSEEDS_H\n')
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Reference in New Issue
Block a user