WIP: Trying to fix failing connections test #19

Draft
lee.miller wants to merge 2 commits from lee.miller/MiNode:bootstrap into v0.3

View File

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