Octez_riscv_nds_common.IntfShared module type signatures for the RISC-V new durable storage.
The durable storage is a crash-resistant key-value store organised as a registry of independent databases. Each database is an isolated key-space backed by a Merkle tree, providing content-addressed hashing and persistence through commits.
Keys are byte sequences of at most 256 bytes. Values are arbitrary byte sequences.
Two kinds of errors may occur:
Error case of the result.module type PROOF = sig ... endCommon signature for proof objects.
module type REGISTRY = sig ... endCommon signature for registry operations across all modes.
module type DATABASE = sig ... endCommon signature for database key-value operations.
module type NORMAL = sig ... endNormal mode: registry + database.
module type PROVE = sig ... endProve mode: registry + database + proof lifecycle.
module type VERIFY = sig ... endVerify mode: registry + database + verify entry point.