package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Packages

Package composite implements support for runtimes composed of multiple components, like having both on-chain and off-chain logic.
Package loadbalance implements a runtime provisioner that internally load-balances requests among multiple runtime instances.
Package mock implements a mock runtime host useful for tests.
Package multi implements support for a runtime host aggregator that handles multiplexing multiple instances of other runtime hosts, to enable seamless transitions between versions.
Package protocol implements the Runtime Host Protocol.
No description provided by the author
Package sandbox implements the runtime provisioner for runtimes in sandboxed processes.
Package sgx implements the runtime provisioner for runtimes in Intel SGX enclaves.
Package tdx implements the TDX runtime provisioner.
Package tests contains common tests for runtime host implementations.

# Functions

NewRichRuntime creates a new higher-level wrapper for a given runtime.
NewRuntimeLogWrapper creates a new RuntimeLogWrapper.

# Variables

ErrCheckTxFailed is the error returned when a transaction is rejected by the runtime.
ErrInternal is the error returned when an unspecified internal error occurs.
ErrInvalidArgument is the error returned when any of the passed method arguments is invalid.

# Structs

Config contains common configuration for the provisioned runtime component.
ConfigUpdatedEvent is a runtime configuration updated event.
Event is a runtime host event.
FailedToStartEvent is a failed to start runtime event.
RuntimeLogWrapper is a Writer that interprets data written to it as JSON-formatted runtime logs, and re-logs the messages as oasis-node logs.
StartedEvent is a runtime started event.
StoppedEvent is a runtime stopped event.
UpdatedEvent is a runtime metadata updated event.

# Interfaces

CompositeRuntime is a runtime that provides multiple components which are themselves runtimes.
Provisioner is the runtime provisioner interface.
RichRuntime provides higher-level functions for talking with a runtime.
Runtime is a provisioned runtime interface.
RuntimeEventEmitter is the interface for emitting events for a provisioned runtime.
RuntimeHandler is the message handler for the host side of the runtime host protocol.