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

# Functions

NewClient creates a new gRPC scheduler client.
RegisterService registers a new scheduler service with the given gRPC server.
VotingPowerFromStake computes the voting power from given stake based on the given distribution.

# Constants

KindComputeExecutor is an executor committee.
No description provided by the author
KindInvalid is an invalid committee.
No description provided by the author
MaxCommitteeKind is a dummy value used for iterating all committee kinds.
ModuleName is a unique module name for the scheduler module.
RoleBackupWorker indicates the node is a backup worker.
No description provided by the author
RoleInvalid is an invalid role (should never appear on the wire).
No description provided by the author
RoleWorker indicates the node is a worker.
No description provided by the author
VotingPowerDistributionLinear is the distribution where power is linearly proportional to the stake.
VotingPowerDistributionSqrt is the distribution where power is proportional to the square root of the stake.

# Variables

BaseUnitsPerVotingPower is the ratio of base units staked to validator power.

# Structs

Client is a gRPC scheduler client.
Committee is a per-runtime (instance) committee.
CommitteeNode is a node participating in a committee.
ConsensusParameterChanges are allowed scheduler consensus parameter changes.
ConsensusParameters are the scheduler consensus parameters.
ElectedEvent is the elected committee kind event.
ForceElectCommitteeRole is the committee kind/role that a force-elected node is elected as.
Genesis is the committee scheduler genesis state.
GetCommitteesRequest is a GetCommittees request.
Validator is a consensus validator.

# Interfaces

Backend is a scheduler implementation.

# Type aliases

CommitteeKind is the functionality a committee exists to provide.
Role is the role a given node plays in a committee.
VotingPowerDistribution is the voting power distribution type.