Expand description
Host functions for the relay chain runtime.
Modules§
- allocator
- Wasm only interface that provides functions for calling into the allocator.
- crypto
- Interfaces for working with crypto related types from within the runtime.
- default_
child_ storage - Interface for accessing the child storage for default child trie, from within the runtime.
- hashing
- Interface that provides functions for hashing with different algorithms.
- logging
- Interface that provides functions for logging from within the runtime.
- misc
- Interface that provides miscellaneous functions for communicating between the runtime and the node.
- offchain
- Interface that provides functions to access the offchain functionality.
- offchain_
index - Interface that provides functions to access the Offchain DB.
- panic_
handler - WASM-only interface which allows for aborting the execution in case of an unrecoverable error.
- storage
- Interface for accessing the storage from within the runtime.
- transaction_
index - Interface that provides transaction indexing API.
- trie
- Interface that provides trie related functionality.
- wasm_
tracing - Interface to provide tracing facilities for wasm. Modelled after tokios
tracing-crate interfaces. Seesp-tracingfor more information.
Structs§
- Multi
Removal Results - Results concerning an operation to remove many keys.
- UseDalek
Ext - Extension to signal to [
crypt::ed25519_verify] to use the dalek crate.
Enums§
- Ecdsa
Verify Error - Error verifying ECDSA signature
- Kill
Storage Result - The outcome of calling
storage_kill. Returned value is the number of storage items removed from the backend from making thestorage_killcall.
Functions§
- init_
tracing - Initialize tracing of sp_tracing not necessary – noop. To enable build
when not both
substrate_runtimeandwith-tracing-feature. - unreachable
- Crashes the execution of the program.
Type Aliases§
- Substrate
Host Functions - The host functions Substrate provides for the Wasm runtime environment.
- Test
Externalities - Type alias for Externalities implementation used in tests.