Crate tet_io

Source
Expand description

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

Modules§

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.
runtime_tasks
Wasm host functions for managing tasks.
sandbox
Wasm-only interface that provides functions for interacting with the sandbox.
storage
Interface for accessing the storage from within the runtime.
trie
Interface that provides trie related functionality.
wasm_tracing
Interface to provide tracing facilities for wasm. Modelled after tokios tracing-crate interfaces. See tetcore-tracing for more information.

Structs§

Crossing
Crossing is a helper wrapping any Encode-Decodeable type for transferring over the wasm barrier.
VerificationExt
Batch verification extension to register/retrieve from the externalities.

Enums§

EcdsaVerifyError
Error verifying ECDSA signature

Functions§

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

Type Aliases§

TestExternalities
Type alias for Externalities implementation used in tests.
TetcoreHostFunctions
The host functions Tetcore provides for the Wasm runtime environment.