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