Skip to content

Commit

Permalink
feat(ktree): implement k-tree with force-k modification
Browse files Browse the repository at this point in the history
Unlike k-tree it holds additional 8 nodes that are always closest to
own PK. It forces a peer to always accept nodes that are closer than
known ones which improves search time.
  • Loading branch information
kurnevsky committed Sep 20, 2020
1 parent 62a7ab6 commit 200c21f
Show file tree
Hide file tree
Showing 5 changed files with 474 additions and 27 deletions.
1 change: 1 addition & 0 deletions tox_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ get_if_addrs = "0.5"
failure = "0.1"
lru = "0.3"
bitflags = "1.0"
itertools = "0.9"

[dependencies.tokio]
version = "0.2"
Expand Down

0 comments on commit 200c21f

Please sign in to comment.