Skip to main content

Module memory_server

Module memory_server 

Source
Expand description

SyncableServer — augments [GenericTreeServer] with per-block leaf tracking and implements TreeSyncApi for in-process sync.

[MemoryTreeServer] is a convenience alias for SyncableServer<MemoryShardStore<…>>. Tests that do not need sync can use GenericTreeServer<MemoryShardStore<MerkleHashVote, u32>> directly.

For the production incremental path use crate::server::TreeServer backed by crate::kv_shard_store::KvShardStore.