Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.07 KB

README.org

File metadata and controls

33 lines (24 loc) · 1.07 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

  • [X] Debug and finish server’s get method and set method
  • [X] Try to abstract bootstrap, set-key and get-key method
  • [X] 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