aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-30 14:39:20 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-30 14:39:20 +0100
commit02bbb2741f2c463aadf9d07493ebaeac1d73c11a (patch)
tree07cfa4b5ba03bb992b745ff9339c69dc03fca9e9 /common/src
parent570f24c99af8c9cd1b9050564c32adb85e2c9c0f (diff)
downloadjellything-02bbb2741f2c463aadf9d07493ebaeac1d73c11a.tar
jellything-02bbb2741f2c463aadf9d07493ebaeac1d73c11a.tar.bz2
jellything-02bbb2741f2c463aadf9d07493ebaeac1d73c11a.tar.zst
import channel and children
Diffstat (limited to 'common/src')
-rw-r--r--common/src/impl.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/src/impl.rs b/common/src/impl.rs
index a98015a..3814b1d 100644
--- a/common/src/impl.rs
+++ b/common/src/impl.rs
@@ -166,3 +166,7 @@ impl Node {
NodeID::from_node(self)
}
}
+impl NodeID {
+ pub const MIN: NodeID = NodeID([0; 32]);
+ pub const MAX: NodeID = NodeID([255; 32]);
+}