diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-08-01 14:22:05 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-01 14:22:05 -0300 |
| commit | d512411992a6a2b50fcdf03689129f70f530116f (patch) | |
| tree | 03c0cec59ae2bfd20ef5af00e6a01bb2fe5dab2d /lib/kernel/Merkle.ml | |
| parent | 117fe888ef9325dbc6965e36c38e40c92d7bc1ee (diff) | |
| download | RNT-d512411992a6a2b50fcdf03689129f70f530116f.tar.gz RNT-d512411992a6a2b50fcdf03689129f70f530116f.zip | |
Initialization with Branch State and Index
Diffstat (limited to '')
| -rw-r--r-- | lib/kernel/Merkle.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kernel/Merkle.ml b/lib/kernel/Merkle.ml index 82fdae0..5bd427f 100644 --- a/lib/kernel/Merkle.ml +++ b/lib/kernel/Merkle.ml @@ -22,6 +22,8 @@ module type TREE = functor (S : Abstract.Storage.STORAGE) (K : KEY) -> sig val hash_of : node -> address + val persist : S.transaction -> node -> (address, Concepts.Condition.condition) result + val insert : S.transaction -> K.t -> address -> node -> (node, Concepts.Condition.condition) result val remove : S.transaction -> K.t -> node -> (node, Concepts.Condition.condition) result val lookup : S.transaction -> K.t -> node -> (address option, Concepts.Condition.condition) result |
