Skip to main content

to_store_hash

Function to_store_hash 

Source
pub const fn to_store_hash(h: Hash) -> Hash
Expand description

Convert a config-vocabulary decdn_config_types::Hash into the blob-store Hash. Both are 32-byte BLAKE3 digests; this is a pure byte-for-byte reinterpretation (issue #578). Used at the node’s admin boundary where parse_hash_arg yields the config-vocabulary hash that must then index the store.