Module sp_runtime::offchain
source · [−]Expand description
A collection of higher lever helpers for offchain calls.
Modules
A high-level helpers for making HTTP requests from Offchain Workers.
A set of storage helpers for offchain workers.
In-memory implementation of offchain workers database.
Off-chain Storage Lock
Utilities for offchain calls testing.
Structs
A set of capabilities
Duration type
Opaque type for offchain http requests.
An identifier for a type of cryptographic key.
An OffchainExternalities
implementation with limited capabilities.
The offchain extension that will be registered at the Substrate externalities.
Simple blob to hold a Multiaddr
without committing to its format.
A blob to hold information about the local node’s network state without committing to its format.
Opaque timestamp type
An externalities extension to submit transactions to the pool.
Enums
Execution context extra capabilities.
An error enum returned by some http methods.
Status of the HTTP request
Change to be applied to the offchain worker db in regards to a key.
A type of supported crypto.
Constants
Local storage prefix used by the Offchain Worker API to
Traits
An extended externalities for offchain workers.
Offchain workers local storage.
Abstraction over transaction pool.