hashtree-network
Shared mesh networking primitives for hashtree: routing, signaling, negotiated peer links, routed store logic, and simulation support.
The core is transport-generic:
SignalingTransportabstracts discovery and negotiation message deliveryPeerLink/PeerLinkFactoryabstract the direct byte path between peersMeshRoutercoordinates peer discovery plus negotiated link setupMeshStoreCoreruns routed retrieval over any localStore
Production transport crates compose this core with their own peerfinding and
byte links. The same router/store core powers simulation and can support FIPS,
local mocks, nearby transports, or any other PeerLinkFactory.
Architecture
- Discovery and negotiation flow through a
SignalingTransport - Direct peer links are created by a
PeerLinkFactory MeshStoreCoreroutes hash-addressed requests over the connected peers
Usage
Simulation builds on this crate directly. Native production networking should
compose the shared core from a transport crate such as hashtree-fips-transport.