diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2025-06-16 14:37:43 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2025-06-16 14:37:43 +0000 |
| commit | 10b0ddf49d9aabbf37a5139da3ae98e2ef2c6cdd (patch) | |
| tree | 7fb683ac20d1143b6be8a023529b890773693339 /src/node.rs | |
| parent | bd88ce87928d31d0e569e82eaf760c32aa88dd38 (diff) | |
Move struct in proper crate
Diffstat (limited to 'src/node.rs')
| -rw-r--r-- | src/node.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/node.rs b/src/node.rs index 90481d0..e7e6b0f 100644 --- a/src/node.rs +++ b/src/node.rs @@ -1,5 +1,14 @@ //! Contains node definitions for Merkle trees, including leaf and internal node structures. +/// Enum representing the type of the node child. +#[derive(Debug, Clone)] +pub enum NodeChildType { + /// Left child + Left, + /// Right child + Right, +} + /// Enum representing the type of a Merkle tree node. #[derive(Clone)] pub enum NodeStatus { |
