def step_impl(context, i, j): i = int(i) j = int(j) iLayer = context.layers[i] jLayer = context.layers[j] assert (ip_address(j), port, jLayer.guid, nickname(j)) in iLayer.dht.knownNodes
def step_impl(context, i, j): i = int(i) j = int(j) i_layer = context.layers[i] j_layer = context.layers[j] known_node = (ip_address(j), PORT, j_layer.guid, nickname(j)) assert known_node in i_layer.dht.knownNodes