Skip to main content

Crate eml_storage_fjall

Crate eml_storage_fjall 

Source
Expand description

Fjall-backed persistence implementation for the Epoch Merkle Log (EML).

This crate provides FjallStorage, a production-grade implementation of the EML Storage trait. It stores leaves, internal node hashes, and algorithm metadata in dedicated Fjall keyspaces inside a shared database.

§Architecture

FjallStorage manages three distinct keyspaces (partitions):

  • "eml_leaves": Maps leaf index (u64) to raw payload bytes.
  • "eml_nodes": Maps tree node coordinates (alg_id, left, height) to hash digests.
  • "eml_metadata": Maps algorithm ID (u64) to serialized active epoch ranges.

Structs§

FjallStorage
A production-grade EML storage backend backed by a Fjall database.

Enums§

FjallStorageError
Error type for FjallStorage operations.