Skip to main content

MemoryTreeServer

Type Alias MemoryTreeServer 

Source
pub type MemoryTreeServer = SyncableServer<MemoryShardStore<MerkleHashVote, u32>>;
Expand description

In-memory vote commitment tree for tests and the POC helper server.

This is a type alias for SyncableServer backed by MemoryShardStore. It supports crate::sync_api::TreeSyncApi via per-block leaf tracking inside SyncableServer. Tests that do not need sync can use GenericTreeServer<MemoryShardStore<MerkleHashVote, u32>> directly.

Aliased Typeยง

pub struct MemoryTreeServer { /* private fields */ }