Skip to main content

edition_hash

Function edition_hash 

Source
pub fn edition_hash(
    entity_id: &[u8; 32],
    version: u64,
    prev_hash: Option<&[u8; 32]>,
    content: &[u8],
) -> [u8; 32]
Expand description

SHA-256 of edition_signing_bytes — the edition’s identity in the chain. The next edition’s prev_hash cites this value.