mithril-cardano-node-internal-database 0.1.11

Mechanisms that allow Mithril nodes to read the files of a Cardano node internal database and compute digests from them
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Cache provider to accelerate [super::CardanoImmutableDigester] computation by storing and
//! reusing [crate::entities::ImmutableFile] digests.

mod json_provider;
mod json_provider_builder;
mod memory_provider;
mod provider;

pub use json_provider::JsonImmutableFileDigestCacheProvider;
pub use json_provider_builder::JsonImmutableFileDigestCacheProviderBuilder;
pub use memory_provider::MemoryImmutableFileDigestCacheProvider;
#[cfg(test)]
pub use provider::MockImmutableFileDigestCacheProvider;
pub use provider::{
    CacheProviderResult, ImmutableDigesterCacheGetError, ImmutableDigesterCacheProviderError,
    ImmutableDigesterCacheStoreError, ImmutableFileDigestCacheProvider,
};