api

package
v0.2011.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

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"`

	// ExecutorRole is the node's role in the executor committee.
	ExecutorRole scheduler.Role `json:"executor_role"`
	// StorageRole is the node's role in the storage committee.
	StorageRole scheduler.Role `json:"storage_role"`

	// 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL