From 02bbb2741f2c463aadf9d07493ebaeac1d73c11a Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 30 Jan 2025 14:39:20 +0100 Subject: import channel and children --- common/src/impl.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/src/impl.rs') 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]); +} -- cgit v1.2.3-70-g09d2