Module types

Source
Expand description

Types used by the worker-host protocol.

Structs§

CheckTxMetadata
CheckTx transaction metadata.
CheckTxResult
Result of a CheckTx operation.
ComputedBatch
Computed batch.
Error
A serializable error.
FeatureScheduleControl
A feature specifying that the runtime supports controlling the scheduling of batches. This means that the scheduler should only take priority into account and ignore weights, leaving it up to the runtime to decide which transactions to include.
Features
Set of supported runtime features.
HostFetchConsensusEventsRequest
Request to host to fetch the consensus events for the given height.
HostFetchConsensusEventsResponse
Response from host fetching the consensus events for the given height.
Message
Runtime protocol message.
RegisterNotifyRuntimeEvent
Registration for runtime event notifications.
RuntimeInfoRequest
Runtime information request.
RuntimeInfoResponse
Runtime information response.
RuntimeNotifyEvent
An event notification.
StorageSyncRequestWithEndpoint

Enums§

Body
Runtime host protocol message body.
EventKind
Consensus event kind.
ExecutionMode
Batch execution mode.
HostStorageEndpoint
Host storage endpoint.
MessageType
StorageSyncRequest
Storage sync request.
StorageSyncResponse
Storage sync response.