Implement migrating networks
This commit is contained in:
@@ -60,6 +60,7 @@ def getChanFree(net, new):
|
||||
return False
|
||||
return (chanfree, chanlimits.pop())
|
||||
|
||||
|
||||
def getTotalChans(net):
|
||||
total = 0
|
||||
for i in getActiveRelays(net):
|
||||
@@ -307,4 +308,4 @@ def chankeep_handler(net, num, listinfo, chanlimit):
|
||||
:param chanlimit:
|
||||
:return:
|
||||
"""
|
||||
listinfo, mean, sigrelay, relay = _initialList(net, num, listinfo, chanlimit)
|
||||
listinfo, mean, sigrelay, relay = _initialList(net, num, listinfo, chanlimit)
|
||||
|
||||
Reference in New Issue
Block a user