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

# Functions

NewPool creates a new pool without any commitments and with .
VerifyExecutorCommitment verifies the given executor commitment.

# Constants

FailureNone indicates that no failure has occurred.
FailureStateUnavailable indicates that batch processing failed due to the state being unavailable.
FailureUnknown indicates a generic failure.
LogEventDiscrepancyMajorityFailure is a log event value that dependency resolution with majority failure.

# Variables

ComputeResultsHeaderSignatureContext is the signature context used to sign compute results headers with RAK.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
Error code 12 is reserved for future use.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
nolint: revive.
Error code 14 is reserved for future use.
ExecutorSignatureContext is the signature context used to sign executor worker commitments.
ProposalSignatureContext is the context used for signing propose batch dispatch messages.

# Structs

ComputeResultsHeader is the header of a computed batch output by a runtime.
ExecutorCommitment is a commitment to results of processing a proposed runtime block.
ExecutorCommitmentHeader is the header of an executor commitment.
Pool is a serializable pool of scheduler commitments that can be used to perform discrepancy detection and resolution.
Proposal is a batch proposal.
ProposalHeader is the header of the batch proposal.
SchedulerCommitment is a structure for storing scheduler commitment and its votes.

# Interfaces

NodeLookup is an interface for looking up registry node descriptors.
OpenCommitment is a verified roothash commitment.

# Type aliases

ExecutorCommitmentFailure is the executor commitment failure reason.
MessageValidator is an arbitrary function that validates messages for validity.