Module message_value

Module message_value 

Source
Expand description

Functions for validating message values (ie. just the value without key and timestamp).

Structs§

SsbMessageValue
Data type representing the value of a message object (KVT). More information concerning the data model can be found in the Metadata documentation.

Functions§

message_value_common_checks
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.
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.