Expand description
Core P2P node: QUIC transport, blob storage, and ring-gated transfers.
The central type is Node, which owns an iroh Endpoint, an
iroh-blobs FsStore, and a RingGate. Call Node::start to bring
a node online, then use Node::import_file / Node::import_directory
to add blobs and Node::download to fetch them from remote peers via a
ShareTicket.
Re-exports§
pub use grants::GrantStore;pub use grants::Privilege;pub use peers::PeerStore;
Modules§
- grants
- Privilege-based grant store: which peers may invoke which catalog operations.
- peers
- Local peer address book:
EndpointId→ optional nickname.
Structs§
- Blob
List Entry - Metadata about a locally stored blob, returned by
Node::list_blobs. - Catalog
Entry - A single entry returned by a
BLOB_LISTcommand. - Node
- A ringdrop P2P node.
- Share
Ticket - An out-of-band transfer ticket that encodes everything a receiver needs.
Enums§
- Progress
Event - Progress event emitted by
Node::download_with_progress.