diff options
author | Alex Auvolat <alex@adnab.me> | 2020-12-14 11:22:29 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-12-14 11:22:29 +0100 |
commit | e761f2f6efe6ce3fd6080eac85de511a3073959b (patch) | |
tree | a658976126b132c9c8361ee135b12bbe41346745 /src/util.rs | |
parent | 3aa46dfe9599105918420a9fa807511e01f483c5 (diff) | |
parent | 6742638c81f8bda2ba3e3ab72ec520ab22b314e2 (diff) | |
download | netapp-e761f2f6efe6ce3fd6080eac85de511a3073959b.tar.gz netapp-e761f2f6efe6ce3fd6080eac85de511a3073959b.zip |
Merge branch 'master' of git.deuxfleurs.fr:lx/netapp
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 2 |
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. /// |