BoundedAuthorityProtocol.V1.EncodedAnchoredExport (Bounded Authority Protocol v1.0.0)

Copy Markdown View Source

Exact archive chunks, complete digest, and byte count from deterministic framing.

Fields

  • chunks - the archive bytes as an ordered nonempty chunk list; their concatenation is the archive.
  • digest - the raw 32-byte SHA-256 of the complete archive bytes; store it in your own records.
  • byte_count - the total archive length in bytes, at most archive_bytes.

Summary

Types

t()

A framed anchored export.

Types

t()

@type t() :: %BoundedAuthorityProtocol.V1.EncodedAnchoredExport{
  byte_count: pos_integer(),
  chunks: [binary()],
  digest: binary()
}

A framed anchored export.