Skip to main content

content_key

Function content_key 

Source
pub fn content_key(mcid: Mcid) -> [u8; 32]
Expand description

The DHT storage key for every content_announcement naming mcid: SHA-256(mcid). Matches macula_record:content_key/1. Consumers use this with find_records (there may be more than one announcer) before holding any record.