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 service offering storage, retrieval and synchronisation of content-addressed data.
  • Blobs connection handler.
  • Configuration parameters for the blobs service.

Enums§

Constants§

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

Type Aliases§

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