Skip to main content

Crate hashtree_nostr

Crate hashtree_nostr 

Source
Expand description

Hashtree-native Nostr event indexes.

Re-exports§

pub use crawl::CrawlConfig;
pub use crawl::CrawlError;
pub use crawl::CrawlReport;
pub use crawl::EventSelectionPolicy;
pub use crawl::KindPriorityPolicy;
pub use crawl::NostrBridge;
pub use crawl::RelayFetchMode;
pub use tree_event_snapshots::compare_tree_event_snapshots;
pub use tree_event_snapshots::is_newer_tree_event_snapshot;
pub use tree_event_snapshots::read_tree_event_snapshot;
pub use tree_event_snapshots::resolve_snapshot_root_cid;
pub use tree_event_snapshots::snapshot_matches_root_cid;
pub use tree_event_snapshots::store_tree_event_snapshot;
pub use tree_event_snapshots::TreeEventSnapshotInfo;

Modules§

crawl
tree_event_snapshots

Structs§

ListEventsOptions
NostrEventManifest
NostrEventStore
NostrEventStoreOptions
ParsedHashtreeRootEvent
ProfileGuard
ProfileStat
StoredNostrEvent
VerifiedEvent
A Nostr SDK event whose id and Schnorr signature have been checked locally.
VerifiedStoredNostrEvent
A stored Nostr event whose serialized event has been locally verified.

Enums§

NostrEventStoreError

Constants§

HASHTREE_LABEL
HASHTREE_ROOT_KIND
NOSTR_EVENT_ENVELOPE_VERSION
TAG_ENCRYPTED_KEY
TAG_HASH
TAG_KEY
TAG_KEY_ID
TAG_SELF_ENCRYPTED_KEY
TAG_SELF_ENCRYPTED_LINK_KEY

Functions§

build_private_hashtree_root_event
decode_signed_event_json
decode_stored_event_msgpack
encode_signed_event_json
encode_stored_event_msgpack
is_parameterized_replaceable_kind
is_replaceable_kind
parse_hashtree_root_event
parse_verified_hashtree_root_event
read_signed_event_snapshot
reset_profile
resolve_self_encrypted_root_cid
set_profile_enabled
store_signed_event_snapshot
stored_event_from_nostr_sdk_event
take_profile