Function ssb_validate::message_value::message_value_common_checks [−][src]
pub fn message_value_common_checks(
message_value: &SsbMessageValue,
previous_value: Option<&SsbMessageValue>,
message_bytes: &[u8],
previous_key: Option<&Multihash>,
check_previous: bool
) -> Result<()>
Validation checks which are common across all contexts. The check_previous
argument is used
to control checks for the optional previous_value
and previous_key
parameters.