Skip to main content

state_id_for_body

Function state_id_for_body 

Source
pub fn state_id_for_body(body: &[u8]) -> XorName
Expand description

Derive the authenticated-state identifier from a signed body.

Derive-key for the same reason as the address, and one more: this is the identifier a pointer’s storage is paid against, so a chunk that could occupy it would be a second record bought with one payment.