Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostStatus ¶ added in v0.2200.0
type HostStatus struct {
// Versions are the locally supported versions.
Versions []version.Version `json:"versions"`
}
HostStatus is the runtime host status.
type LivenessStatus ¶ added in v0.2200.0
type LivenessStatus struct {
// TotalRounds is the total number of rounds in the last epoch, excluding any rounds generated
// by the roothash service itself.
TotalRounds uint64 `json:"total_rounds"`
// LiveRounds is the number of rounds in which the node positively contributed.
LiveRounds uint64 `json:"live_rounds"`
}
LivenessStatus is the liveness status for the current epoch.
type Status ¶
type Status struct {
// ActiveVersion is the currently active version.
ActiveVersion *version.Version `json:"active_version"`
// LatestRound is the latest runtime round as seen by the committee node.
LatestRound uint64 `json:"latest_round"`
// LatestHeight is the consensus layer height containing the runtime block for the latest round.
LatestHeight int64 `json:"latest_height"`
// ExecutorRoles are the node's roles in the executor committee.
ExecutorRoles []scheduler.Role `json:"executor_roles"`
// IsTransactionScheduler indicates whether the node is a transaction scheduler in this round.
IsTransactionScheduler bool `json:"is_txn_scheduler"`
// Liveness is the node's liveness status for the current epoch.
Liveness *LivenessStatus `json:"liveness,omitempty"`
// Peers is the list of peers in the runtime P2P network.
Peers []string `json:"peers"`
// Host is the runtime host status.
Host HostStatus `json:"host"`
}
Status is the common runtime worker status.
Click to show internal directories.
Click to hide internal directories.