sigil-storage · memory
Source declarations, signatures and documentation for memory.
Source: sigil/node/sigil-storage/src/memory.rs. SHA-256: 6415e79fe7f502f4e100dade795769f45d6a3856ea1faacefd0d7cbe31af3a25.
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.
memory::MemoryBlockStore
In-memory block store backed by height and hash indexes.
#[derive(Debug, Default)]
pub struct MemoryBlockStore {
}Source line: 24.
memory::MemoryBlockStore::new
Create an empty block store.
pub fn new() -> Self;Source line: 33.
memory::MemoryStateStore
In-memory key-value state store with partition isolation.
Each partition maps byte-keys to byte-values using a BTreeMap so that
scan_prefix can exploit ordering.
#[derive(Debug, Default)]
pub struct MemoryStateStore {
}Source line: 131.
memory::MemoryStateStore::new
Create an empty state store.
pub fn new() -> Self;Source line: 137.
memory::MemoryReceiptStore
In-memory receipt store with transaction-hash and block-height indexes.
#[derive(Debug, Default)]
pub struct MemoryReceiptStore {
}Source line: 212.
memory::MemoryReceiptStore::new
Create an empty receipt store.
pub fn new() -> Self;Source line: 221.