Re-exports§
pub use config::Config;pub use eviction::spawn_background_eviction_task;pub use eviction::BACKGROUND_EVICTION_INTERVAL;pub use fetch::FetchConfig;pub use fetch::Fetcher;pub use server::HashtreeServer;pub use storage::CachedRoot;pub use storage::HashtreeStore;pub use storage::StorageByPriority;pub use storage::TreeMeta;pub use storage::PRIORITY_FOLLOWED;pub use storage::PRIORITY_OTHER;pub use storage::PRIORITY_OWN;pub use sync::BackgroundSync;pub use sync::SyncConfig;pub use sync::SyncPriority;pub use sync::SyncStatus;pub use sync::SyncTask;
Modules§
- cashu_
helper - config
- daemon
- eviction
- fetch
- Remote content fetching with WebRTC and Blossom fallback
- ignore_
rules - nostr_
mirror - nostr_
relay - p2p_
common - server
- socialgraph
- storage
- sync
- Background sync service for auto-pulling trees from Nostr
- webrtc
- Native mesh connectivity for hashtree data exchange.
Structs§
- Bluetooth
Config - Configuration for the optional Bluetooth peer transport.
- Nostr
Keys - Nostr keys
- Nostr
Resolver Config - Configuration for NostrRootResolver
- Nostr
Root Resolver - NostrRootResolver - Maps npub/treename keys to merkle root hashes
- PeerId
- Unique identifier for a peer in the network
- Pool
Config - Settings for a peer pool
- Pool
Settings - Pool settings for both pools
- Resolver
Entry - Entry in a resolver list
- WebRTC
Config - WebRTC
Manager - Native mesh manager handles peer discovery and transport fan-out.
- WebRTC
State - Shared state for the native mesh router.
Enums§
- Bluetooth
Backend State - Connection
State - Connection state for a peer.
- Data
Message - Parsed data message
- Peer
Pool - Peer pool classification
- Resolver
Error - Errors that can occur during resolution
Traits§
- Content
Store - Trait for content storage that can be used by WebRTC peers
- Local
Nostr Bus - Nostr
ToBech32 - Root
Resolver - RootResolver - Maps human-readable keys to content identifiers (Cid)
Type Aliases§
- Peer
Classifier - Callback type for classifying peers into pools
- Shared
Local Nostr Bus