Expand description
Storage proof primitives. Contains types and basic code to extract storage proofs for indexed transactions.
Modules§
Structs§
- Inherent
Data Provider  - Provider for inherent data.
 - Transaction
Storage Proof  - Holds a chunk of data retrieved from storage along with a proof that the data was stored at that location in the trie.
 
Enums§
- Error
 - Errors that occur in context of inherents.
 - Inherent
Error  - Errors that can occur while checking the storage proof.
 
Constants§
- CHUNK_
SIZE  - Proof trie value size.
 - DEFAULT_
STORAGE_ PERIOD  - Storage period for data.
 - INHERENT_
IDENTIFIER  - The identifier for the proof inherent.
 
Traits§
- Indexed
Body  - An interface to request indexed data from the client.
 - Transaction
Storage Proof Inherent Data  - Auxiliary trait to extract storage proof.
 
Functions§
- encode_
index  - A utility function to encode transaction index as trie key.
 - random_
chunk  - A utility function to extract a chunk index from the source of randomness.