zetok / tox

toxcore implementation in Rust. Codename zetox.

Home Page:https://zetok.github.io/tox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor DHT

kpp opened this issue · comments

commented
  • Copy parsers into dht_new/packet.rs
  • Copy kbucket into dht_new/kbucket.rs
  • Copy codecs into dht_new/codec.rs
  • Copy application logic for server into dht_new/server/mod.rs
  • Copy application logic for client into dht_new/client/mod.rs
  • Change server example in examples/dht_node.rs
  • Add client example for dht into examples/dht_client.rs
  • ...
  • Remove dht.rs
  • Rename dht_new/ -> dht/