Expand description
Data type definitions for chunk storage.
This module provides the core data types for content-addressed chunk storage on the Autonomi network. Chunks are immutable, content-addressed blobs where the address is the BLAKE3 hash of the content.
Structs§
- Chunk
Stats - Statistics about chunk operations.
- Data
Chunk - A chunk of data with its content-addressed identifier.
Functions§
- compute_
address - Compute the content address (BLAKE3 hash) for the given data.
- peer_
id_ to_ xor_ name - Convert a hex-encoded peer ID string to an
XorName. - xor_
distance - Compute the XOR distance between two 32-byte addresses.
Type Aliases§
- XorName
- A content-addressed identifier (32 bytes).