referrerpolicy=no-referrer-when-downgrade

Crate sp_statement_store

Source
Expand description

A crate which contains statement-store primitives.

Re-exports§

pub use store_api::StatementSource;

Modules§

ed25519
Statement-store specific ed25519 crypto primitives.
runtime_api
Runtime support for the statement store.

Structs§

Statement
Statement structure.

Enums§

Error
Statement store error.
Field
Statement attributes. Each statement is a list of 0 or more fields. Fields may only appear once and in the order declared here.
NetworkPriority
Network propagation priority.
Proof
Statement proof.
SignatureVerificationResult
Result returned by Statement::verify_signature
SubmitResult
Statement submission outcome

Constants§

MAX_TOPICS
Total number of topic fields allowed.

Traits§

StatementStore
Statement store API.

Functions§

hash_encoded
Returns blake2-256 hash for the encoded statement.

Type Aliases§

AccountId
Account id
BlockHash
Block hash.
Channel
Statement channel.
DecryptionKey
Decryption key identifier.
Hash
Statement hash.
Result
Result type for Error
Topic
Statement topic.