Sigil documentation
ReferenceRust referencesigil-storage

sigil-storage · akashakv_store

Source declarations, signatures and documentation for akashakv_store.

Source: sigil/node/sigil-storage/src/akashakv_store.rs. SHA-256: f74807ad1cda407fced1741a4aaea0ffaf4e56191710cecab8b3b463b63df180.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

Module condition:

#[cfg(feature = "akashakv-backend")]

akashakv_store::AKASHAKV_KEYSPACES

AkashaKV keyspaces reserved for Sigil production storage.

#[cfg(feature = "akashakv-backend")]
pub const AKASHAKV_KEYSPACES: &[&str];

Source line: 31.

akashakv_store::production_akashakv_config

Bounded AkashaKV profile for Sigil node processes.

AkashaKV's standalone defaults are intentionally generous for a single database. A full Sigil node opens many feature stores in one process, so using those defaults per store can exceed production pod limits during restart. Keep all stores enabled, but cap per-store startup memory.

#[cfg(feature = "akashakv-backend")]
pub fn production_akashakv_config(path: &Path) -> AkConfig;

Source line: 59.

akashakv_store::AkashaKvStore

Production AkashaKV store implementing all Sigil storage traits.

#[cfg(feature = "akashakv-backend")]
pub struct AkashaKvStore {

}

Source line: 95.

akashakv_store::AkashaKvBlockStore

Block-store view over the unified AkashaKV backend.

#[cfg(feature = "akashakv-backend")]
pub type AkashaKvBlockStore = AkashaKvStore;

Source line: 124.

akashakv_store::AkashaKvStateStore

State-store view over the unified AkashaKV backend.

#[cfg(feature = "akashakv-backend")]
pub type AkashaKvStateStore = AkashaKvStore;

Source line: 126.

akashakv_store::AkashaKvReceiptStore

Receipt-store view over the unified AkashaKV backend.

#[cfg(feature = "akashakv-backend")]
pub type AkashaKvReceiptStore = AkashaKvStore;

Source line: 128.

akashakv_store::AkashaKvStore::open

Open or create a Sigil AkashaKV store at path.

#[cfg(feature = "akashakv-backend")]
pub fn open(path: &Path) -> Result<Self, StorageError>;

Source line: 132.

akashakv_store::AkashaKvStore::flush

Force AkashaKV memtables to disk. Tests and migration use this before reopening or atomically promoting a staging directory.

#[cfg(feature = "akashakv-backend")]
pub fn flush(&self) -> Result<(), StorageError>;

Source line: 160.

akashakv_store::AkashaKvStore::akashakv_revision

Revision contract enforced by launch-readiness checks.

#[cfg(feature = "akashakv-backend")]
pub fn akashakv_revision(&self) -> &'static str;

Source line: 166.

akashakv_store::akashakv_key_for_test

Exposed only for exact-key regression tests.

#[cfg(feature = "akashakv-backend")]
pub fn akashakv_key_for_test(parts: &[&[u8]]) -> Result<Vec<u8>, StorageError>;

Source line: 496.

On this page