Merge branch 'bootstrap' into testing
Some checks failed
Testing / default (push) Failing after 7m11s

This commit is contained in:
Lee Miller 2025-02-18 06:36:54 +02:00
commit 27cdd3b562
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -96,6 +96,7 @@ class Manager(threading.Thread):
self.fill_bootstrap_pool() self.fill_bootstrap_pool()
return return
logging.info('Starting a bootstrapper for %s:%s', *target) logging.info('Starting a bootstrapper for %s:%s', *target)
shared.node_pool.discard(target)
connect(target, Bootstrapper) connect(target, Bootstrapper)
outgoing_connections = 0 outgoing_connections = 0
@ -217,7 +218,6 @@ class Manager(threading.Thread):
) as src: ) as src:
reader = csv.reader(src) reader = csv.reader(src)
shared.core_nodes = {(row[0], int(row[1])) for row in reader} shared.core_nodes = {(row[0], int(row[1])) for row in reader}
shared.node_pool.update(shared.core_nodes)
with open( with open(
os.path.join(shared.source_directory, 'i2p_core_nodes.csv'), os.path.join(shared.source_directory, 'i2p_core_nodes.csv'),