aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/routing_table
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-12-02 05:10:33 +0300
committerhozan23 <hozan23@proton.me>2023-12-02 05:10:33 +0300
commit8cdc44b24724acf7dd458e59f5ceed4af04574be (patch)
tree1e0aad5a905508c54f7d9be4d4b800b7e8f7d532 /p2p/src/routing_table
parent5111a3d5749625c3d8e26a24a5a32c4da58f18d3 (diff)
Ensure uniform usage of the name `karyon` across all files
Diffstat (limited to 'p2p/src/routing_table')
-rw-r--r--p2p/src/routing_table/entry.rs2
-rw-r--r--p2p/src/routing_table/mod.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/p2p/src/routing_table/entry.rs b/p2p/src/routing_table/entry.rs
index c5fa65d..3fc8a6b 100644
--- a/p2p/src/routing_table/entry.rs
+++ b/p2p/src/routing_table/entry.rs
@@ -1,6 +1,6 @@
use bincode::{Decode, Encode};
-use karyons_net::{Addr, Port};
+use karyon_net::{Addr, Port};
/// Specifies the size of the key, in bytes.
pub const KEY_SIZE: usize = 32;
diff --git a/p2p/src/routing_table/mod.rs b/p2p/src/routing_table/mod.rs
index cfc3128..6854546 100644
--- a/p2p/src/routing_table/mod.rs
+++ b/p2p/src/routing_table/mod.rs
@@ -11,7 +11,7 @@ pub use entry::{xor_distance, Entry, Key};
use rand::{rngs::OsRng, seq::SliceRandom};
-use karyons_net::Addr;
+use karyon_net::Addr;
use bucket::BUCKET_SIZE;
use entry::KEY_SIZE;
@@ -284,7 +284,7 @@ mod tests {
use super::bucket::ALL_ENTRY;
use super::*;
- use karyons_net::Addr;
+ use karyon_net::Addr;
struct Setup {
local_key: Key,