Expand description
Functions for validating messages in the form of KVT (key, value, timestamp).
Structs§
- SsbMessage
- Data type representing a
key-valuemessage object, where thekeyis a hash of thevalue.
Functions§
- par_
validate_ message_ hash_ chain_ of_ feed - Batch validate a collection of messages, all by the same author, ordered by ascending sequence number, with no missing messages.
- par_
validate_ multi_ author_ message_ hash_ chain_ of_ feed - Batch validate a collection of out-of-order messages by multiple authors. No previous message checks are performed, meaning that missing messages are allowed, the collection is not expected to be ordered by ascending sequence number and the author is not expected to match between current and previous message.
- par_
validate_ ooo_ message_ hash_ chain_ of_ feed - Batch validate a collection of out-of-order messages by a single author. Checks of previous message hash and ascending sequence number are not performed, meaning that missing messages are allowed and the collection is not expected to be ordered by ascending sequence number.
- validate_
message_ hash_ chain - Validate a message in relation to the previous message.
- validate_
multi_ author_ message_ hash_ chain - Validate an out-of-order message without checking the author.
- validate_
ooo_ message_ hash_ chain - Validate an out-of-order message.