Expand description
Native mesh connectivity for hashtree data exchange.
The default negotiated path is Nostr signaling plus WebRTC data channels, but this module also layers in nearby/offline transports such as Bluetooth, multicast, and Wi-Fi Aware around the same mesh state and routing logic.
Re-exports§
pub use types::encode_request;
Modules§
- types
- Mesh signaling and transport types compatible with hashtree-ts.
Structs§
- Bluetooth
Config - Configuration for the optional Bluetooth peer transport.
- Bluetooth
Mesh - Native Bluetooth backend. Nearby BLE links become transport-native mesh peers.
- Bluetooth
Peer - Cashu
Mint Metadata Store - Cashu
Routing Config - Data
Request - Data request message body
- Multicast
Config - Multicast
Nostr Bus - Peer
- WebRTC peer connection with data channel protocol
- PeerId
- Unique identifier for a peer in the network
- Peer
Root Event - Pending
Bluetooth Link - Pending
Request - Pending request tracking (keyed by hash hex)
- Pool
Config - Settings for a peer pool
- Pool
Settings - Pool settings for both pools
- Request
Dispatch Config - Request dispatch strategy for peer queries.
- WebRTC
Config - WebRTC
Manager - Native mesh manager handles peer discovery and transport fan-out.
- WebRTC
State - Shared state for the native mesh router.
- Wifi
Aware Config - Wifi
Aware Nostr Bus
Enums§
- Bluetooth
Backend State - Bluetooth
Frame - Connection
State - Connection state for a peer.
- Data
Message - Parsed data message
- Mesh
Peer - Peer
Direction - Direction of peer connection.
- Peer
Pool - Peer pool classification
- Peer
Signal Path - Signaling/discovery path through which a peer was seen.
- Peer
Transport - Active data transport used for a peer session.
- Selection
Strategy - Peer selection strategy
- Signaling
Message - Signaling message types exchanged over mesh signaling transports.
- Wifi
Aware Event
Constants§
- MAX_HTL
- HTL (Hops To Live) constants - Freenet-style probabilistic decrement
Traits§
- Bluetooth
Link - Content
Store - Trait for content storage that can be used by WebRTC peers
- Local
Nostr Bus - Mobile
Bluetooth Bridge - Mobile
Wifi Aware Bridge
Functions§
Type Aliases§
- Peer
Classifier - Callback type for classifying peers into pools
- Peer
Entry - Shared
Local Nostr Bus