Crate oasis_core_runtime

Source
Expand description

Oasis Core runtime SDK.

§Examples

To create a minimal runtime that doesn’t expose any APIs to the outside world, you need to call the start_runtime function:

oasis_core_runtime::start_runtime(Some(Box::new(reg)), config);

This will start the required services needed to communicate with the worker host.

Re-exports§

pub use self::enclave_rpc::demux::Demux as RpcDemux;
pub use self::enclave_rpc::dispatcher::Dispatcher as RpcDispatcher;
pub use self::init::start_runtime;
pub use self::protocol::Protocol;
pub use self::transaction::dispatcher::Dispatcher as TxnDispatcher;
pub use cbor;

Modules§

app
Runtime apps.
cache
In-memory cache of trees.
common
Common types.
config
Runtime configuration.
consensus
Consensus service interfaces.
dispatcher
Runtime call dispatcher.
enclave_rpc
Secure inter-enclave RPC.
future
Helper functions to use with the asynchronous Tokio runtime.
host
Host interface.
identity
Runtime attestation key handling.
init
Runtime initialization.
policy
Consensus SGX and quote policy handling.
protocol
Runtime side of the worker-host protocol.
storage
Runtime storage interfaces and implementations.
transaction
Runtime transaction processing.
types
Types used by the worker-host protocol.

Macros§

classify_noderef
impl_bytes
Define a byte array-like type.
key_format
Define a KeyFormat from KeyFormatAtom and a prefix.
noderef_as
noderef_as_mut
version_from_cargo

Structs§

BUILD_INFO
BuildInfo
Runtime build information.

Enums§

TeeType
TEE type this build is for.