Module net_protocol

Source
Available on crate feature net_protocol only.
Expand description

Adaptation of iroh-blobs as an iroh protocol.

Structs§

BatchId
Newtype for a batch id
BlobDownloadRequest
A request to the node to download and share the data specified by the hash.
Blobs
Builder
Builder for the Blobs protocol handler

Enums§

DownloadMode
Set the mode for whether to directly start the download or add it to the download queue.

Type Aliases§

ProtectCb
A callback that blobs can ask about a set of hashes that should not be garbage collected.