From 6742638c81f8bda2ba3e3ab72ec520ab22b314e2 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 12 Dec 2020 21:14:15 +0100 Subject: Replace pk,pubkey,PublicKey by id,NodeID,etc --- src/util.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.rs') 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. /// -- cgit v1.2.3