Expand description
Offchain workers types
Re-exports§
- pub use crate::crypto::KeyTypeId;
Modules§
- storage
- In-memory implementation of offchain workers database.
- testing
- Utilities for offchain calls testing.
Structs§
- Capabilities
- Execution context extra capabilities.
- Duration
- Duration type
- HttpRequest Id 
- Opaque type for offchain http requests.
- LimitedExternalities 
- An *Externalitiesimplementation with limited capabilities.
- OffchainDbExt 
- The offchain database extension that will be registered at the Substrate externalities.
- OffchainWorker Ext 
- The offchain worker extension that will be registered at the Substrate externalities.
- OpaqueMultiaddr 
- Simple blob to hold a Multiaddrwithout committing to its format.
- OpaqueNetwork State 
- A blob to hold information about the local node’s network state without committing to its format.
- Timestamp
- Opaque timestamp type
- TransactionPool Ext 
- An externalities extension to submit transactions to the pool.
Enums§
- HttpError 
- An error enum returned by some http methods.
- HttpRequest Status 
- Status of the HTTP request
- OffchainOverlayed Change 
- Change to be applied to the offchain worker db in regards to a key.
- StorageKind 
- A type of supported crypto.
Constants§
- STORAGE_PREFIX 
- Persistent storage prefix used by the Offchain Worker API when creating a DB key.
Traits§
- DbExternalities
- A externalities extension for accessing the Offchain DB.
- Externalities
- An extended externalities for offchain workers.
- OffchainStorage 
- Offchain DB persistent (non-fork-aware) storage.
- TransactionPool 
- Abstraction over transaction pool.