simple demo written to learn Kademlia
run kadsim.py with Python 2.7 and input commands
a simple tour
- use
new_randto add some random nodes - use
listto list all nodes - use
nodeto show detail of a node, including k-buckets - use
findnto find node and check every step - use
delto kill nodes, then use commands above to see what's changed - use
helpto get help