Expand description
A Nearly-Optimal Merkle Trie Database.
Modules§
- hasher
- Hashers (feature-gated) and utilities for implementing them.
- proof
- Trie proofs and proof verification.
- trie
- This module defines the types of a binary merkle trie, generalized over a 256 bit hash function. All lookup paths in the trie are 256 bits.
Structs§
- Finished
Session - A finished session.
- Hash
Table Utilization - Describes the utilization of buckets in the hash-table at a point in time.
- Nomt
- An instance of the Nearly-Optimal Merkle Trie Database.
- Options
- Options when opening a
crate::Nomtinstance. - Overlay
- An in-memory overlay of merkle tree and b-tree changes.
- Root
- The root of the Merkle Trie.
- Session
- A session presents a way of interaction with the trie.
- Session
Params - Parameters for instantiating a session.
- Witness
- A witness that can be used to prove the correctness of state trie retrievals and updates.
- Witness
Mode - A configuration type used to inform NOMT whether to generate witnesses of accessed data.
- Witnessed
Operations - Operations provable by a corresponding witness.
- Witnessed
Path - A path observed in the witness.
- Witnessed
Read - A witness of a read value.
- Witnessed
Write - A witness of a write operation.
Enums§
- Invalid
Ancestors - An error type indicating that the ancestors provided did not match.
- IoUring
Permission - Whether the current device has permission to use io_uring.
- KeyRead
Write - Whether a key was read, written, or both, along with old and new values.
- Panic
OnSync Mode - Modes for panicking during sync.
Traits§
- Hash
Algorithm - A marker trait for hash functions usable with NOMT. The type must support both hashing nodes as well as values.
Functions§
- check_
iou_ permissions - Check whether the current device has permission to use io_uring.
Type Aliases§
- Value
- A full value stored within the trie.