Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.08 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.08 KB

Cl-Kademlia

Cl-Kademlia is a implementation of kademlia algorithm

Inspired by python kademlia, however make the "udp over rpc" own, drop the spiders stuff.

The code is messy now. I'll keep polishing it while possible :)

Usage

Installation

Author

TODO -LIST

  • Debug and finish server's get method and set method
  • Try to abstract bootstrap, set-key and get-key method
  • Refactor rpc method famework
  • Add async and concurrerent rpc call
  • Handle rpc error condtions
  • Add server stop method
  • Refactor kbucket's nodes data type, make it easy use
  • Add test case
  • Add logic: When new node found, call store key/value when need
  • Make initialize class order correct
  • Make some macro to clean code
  • Add logic: clean data when expired; republish data periodicity
  • Add logic: each RPC receiver will ping the sender to check address
  • Clean debug code