3 ms·
Over a decade ago, I was a part of a small team at a startup that built a p2p messenger called cSpace[1], I fondly remember reading the paper and implementing
by woadwarrior01 8y ago
Over a decade ago, I was a part of a small team at a startup that built a p2p messenger called cSpace[1], I fondly remember reading the paper and implementing a Kademlia DHT for it. IIRC, the bittorrent DHT was the only open source Python implementation of it that we could find, it was using Twisted for networking and quite complicated, we decided to keep things simple and rewrite it ourselves. The resulting implementation[2] is quite simple and elegant, IMO.
[1]: https://github.com/jmcvetta/cspace https://github.com/jmcvetta/cspace (The only copy of it, I could find online)
[2]: https://github.com/jmcvetta/cspace/tree/master/cspace/dht https://github.com/jmcvetta/cspace/tree/master/cspace/dht