Expand description
Shared routed mesh store core.
This module provides a concrete store wrapper that works with any local storage backend plus any signaling transport and peer-link factory. Both production and simulation (mocks) use this same code.
Structs§
- Data
Pump Stats - Aggregate stats from draining currently available peer-link messages.
- Mesh
Routing Config - Routing policy for request ordering + dispatch fanout.
- Mesh
Store Core - Routed mesh store core that works with any storage backend and transport implementation.
- Pubsub
Event - Pubsub data delivered to a local subscription.
- Pubsub
Publish Stats - Send-side accounting from a pubsub publish or forwarded pubsub message.
- Request
Dispatch Config - Request dispatch strategy for peer queries.
- Response
Behavior Config - Response behavior profile for simulation/game-theory actors.
- Verified
Block Delivery - Evidence that this peer won an outstanding, hash-verified block request.
- Verified
Block Delivery Batch - One atomic drain of verified delivery evidence and any overflow since the prior drain.
Enums§
- Hedged
Wave Action - Outcome returned after waiting on a hedged dispatch wave.
- Pubsub
Delivery Mode - Production pubsub delivery strategy.
Functions§
- build_
hedged_ wave_ plan - Build wave sizes for staged hedged dispatch.
- normalize_
dispatch_ config - Normalize fanout config against current peer availability.
- run_
hedged_ waves - Run a staged hedged dispatch over peer index ranges.
- sync_
selector_ peers - Keep selector membership aligned with currently connected peer IDs.
Type Aliases§
- SimMesh
Store - Type alias for simulation store.