Expand description

Offchain workers types

Re-exports

pub use crate::crypto::KeyTypeId;

Modules

In-memory implementation of offchain workers database.

Utilities for offchain calls testing.

Structs

A set of capabilities

Duration type

Opaque type for offchain http requests.

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.