Crate p2panda_blobs

Source
Expand description

Blobs service offering storage, retrieval and synchronisation of content-addressed data.

p2panda-blobs relies on the iroh-blobs crate and offers an API to import blobs into a store and use the resulting BLAKE3 hashes to address them for downloads. In-memory and filesystem-based store options are provided.

The blobs service integrates with p2panda-net to provide a means of synchronising files between devices using BLAKE3 verified streaming. Memory usage is generally low, even when transferring very large files.

Structs§

Blobs
Blobs service offering storage, retrieval and synchronisation of content-addressed data.
BlobsProtocol
Blobs connection handler.
Config
Configuration parameters for the blobs service.

Enums§

DownloadBlobEvent
Status of a blob download attempt.
ImportBlobEvent
Status of a blob import attempt.

Constants§

BLOBS_ALPN
Application-Layer Protocol Negotiation (ALPN) identifier for blobs.

Type Aliases§

FilesystemStore
Filesystem storage database backed by redb for small blobs and files for large blobs.
MemoryStore
In-memory storage database with support for partial blobs.