Module sp_runtime::offchain[][src]

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 *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

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

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

Traits

A externalities extension for accessing the Offchain DB.

An extended externalities for offchain workers.

Offchain DB persistent (non-fork-aware) storage.

Abstraction over transaction pool.