Expand description
Functions for validating message values (ie. just the value without key and timestamp).
Structs§
- SsbMessage
Value - Data type representing the
valueof a message object (KVT). More information concerning the data model can be found in theMetadatadocumentation.
Functions§
- message_
value_ common_ checks - Validation checks which are common across all contexts. The
check_previousargument is used to control checks for the optionalprevious_valueandprevious_keyparameters. - par_
validate_ message_ value - Batch validate a collection of message values. Messages are not required to be in order or to be authored by a single identity.
- par_
validate_ message_ value_ hash_ chain_ of_ feed - Batch validate a collection of message values, all by the same author, ordered by ascending sequence number, with no missing messages.
- par_
validate_ ooo_ message_ value_ hash_ chain_ of_ feed - Batch validate an out-of-order collection of message values from a single author.
- validate_
message_ value - Validate a single message value (in isolation).
- validate_
message_ value_ hash_ chain - Validate a message value in relation to the previous message value.
- validate_
ooo_ message_ value_ hash_ chain - Validate an out-of-order message value.