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.
  • Off-chain Storage Lock
  • Utilities for offchain calls testing.

Structs§

  • Execution context extra capabilities.
  • Duration type
  • Opaque type for offchain http requests.
  • An identifier for a type of cryptographic key.
  • An *Externalities implementation with limited capabilities.
  • The offchain database extension that will be registered at the Substrate externalities.
  • The offchain worker 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§

Constants§

  • Persistent storage prefix used by the Offchain Worker API when creating a DB key.

Traits§