Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/a/n/Anomos-HEAD/Anomos/NetworkModel.py   Anomos(Download)
    G_ips = ['.'.join([str(i)]*4) for i in range(numnodes)]
    graph = NetworkModel()
    pk = Anomos.Crypto.RSAKeyPair('WampWamp') # All use same RSA key for testing.
    for peerid in G_ips:
        graph.init_peer(peerid, pk.pub_bin(), (peerid, 8080), int(math.log(1000)//math.log(4)))