Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { // 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"` // LastCommitteeUpdateHeight is the consensus layer height of the last committee update. LastCommitteeUpdateHeight int64 `json:"last_committee_update_height"` // ExecutorRoles are the node's roles in the executor committee. ExecutorRoles []scheduler.Role `json:"executor_roles"` // StorageRole are the node's roles in the storage committee. StorageRoles []scheduler.Role `json:"storage_roles"` // IsTransactionScheduler indicates whether the node is a transaction scheduler in this round. IsTransactionScheduler bool `json:"is_txn_scheduler"` // Peers is the list of peers in the runtime P2P network. Peers []string `json:"peers"` }
Status is the common runtime worker status.
Click to show internal directories.
Click to hide internal directories.