Skip to main content

Crate hashtree_cli

Crate hashtree_cli 

Source

Re-exports§

pub use webrtc_stub as webrtc;
pub use p2p_common_stub as p2p_common;
pub use config::Config;
pub use eviction::spawn_background_eviction_task;
pub use eviction::BACKGROUND_EVICTION_INTERVAL;
pub use fetch::FetchConfig;
pub use fetch::FetchProgress;
pub use fetch::FetchProgressSnapshot;
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;
pub use webrtc::ConnectionState;
pub use webrtc::WebRTCState;

Modules§

blossom_push
bootstrap
cashu_helper
config
daemon
diagnostics
eviction
fetch
Remote content fetching with WebRTC and Blossom fallback
ignore_rules
nostr_mirror
nostr_relay
p2p_common_stub
pwa
server
socialgraph
storage
sync
Background sync service for auto-pulling trees from Nostr
webrtc_stub
Stub module for when P2P feature is disabled Provides minimal types to allow code to compile without webrtc dependencies

Structs§

NostrKeys
Nostr keys
NostrResolverConfig
Configuration for NostrRootResolver
NostrRootResolver
NostrRootResolver - Maps npub/treename keys to merkle root hashes
ResolverEntry
Entry in a resolver list

Enums§

ResolverError
Errors that can occur during resolution

Traits§

NostrToBech32
RootResolver
RootResolver - Maps human-readable keys to content identifiers (Cid)