aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.rs b/src/util.rs
index 017ef00..faeea79 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -2,6 +2,8 @@ use serde::Serialize;
use tokio::sync::watch;
+pub type NodeID = sodiumoxide::crypto::sign::ed25519::PublicKey;
+
/// Utility function: encodes any serializable value in MessagePack binary format
/// using the RMP library.
///