Crate sp_io

source · []
Expand description

I/O host interface for substrate runtime. Substrate runtime standard library as compiled when linked with Rust’s standard library.

Modules

Wasm only interface that provides functions for calling into the allocator.

Interfaces for working with crypto related types from within the runtime.

Interface for accessing the child storage for default child trie, from within the runtime.

Interface that provides functions for hashing with different algorithms.

Interface that provides functions for logging from within the runtime.

Interface that provides miscellaneous functions for communicating between the runtime and the node.

Interface that provides functions to access the offchain functionality.

Interface that provides functions to access the Offchain DB.

Wasm host functions for managing tasks.

Wasm-only interface that provides functions for interacting with the sandbox.

Interface for accessing the storage from within the runtime.

Interface that provides transaction indexing API.

Interface that provides trie related functionality.

Interface to provide tracing facilities for wasm. Modelled after tokios tracing-crate interfaces. See sp-tracing for more information.

Structs

Crossing is a helper wrapping any Encode-Decodeable type for transferring over the wasm barrier.

Batch verification extension to register/retrieve from the externalities.

Enums

Error verifying ECDSA signature

The outcome of calling storage_kill. Returned value is the number of storage items removed from the trie from making the storage_kill call.

Functions

Initialize tracing of sp_tracing not necessary – noop. To enable build without std and with the with-tracing-feature.

Type Definitions

The host functions Substrate provides for the Wasm runtime environment.

Type alias for Externalities implementation used in tests.