RuntimeStatus is the per-runtime status overview.

interface ControlRuntimeStatus {
    committee: WorkerCommonStatus;
    descriptor: RegistryRuntime;
    executor?: WorkerComputeStatus;
    genesis_hash: Uint8Array;
    genesis_round: longnum;
    last_retained_hash: Uint8Array;
    last_retained_round: longnum;
    latest_hash: Uint8Array;
    latest_round: longnum;
    latest_state_root: StorageRoot;
    latest_time: longnum;
    provisioner?: string;
    storage?: WorkerStorageStatus;
}

Properties

Committee contains the runtime worker status in case this node is a (candidate) member of a runtime committee.

descriptor: RegistryRuntime

Descriptor is the runtime registration descriptor.

Executor contains the executor worker status in case this node is an executor node.

genesis_hash: Uint8Array

GenesisHash is the hash of the genesis runtime block.

genesis_round: longnum

GenesisRound is the round of the genesis runtime block.

last_retained_hash: Uint8Array

LastRetainedHash is the hash of the oldest retained block.

last_retained_round: longnum

LastRetainedRound is the round of the oldest retained block.

latest_hash: Uint8Array

LatestHash is the hash of the latest runtime block.

latest_round: longnum

LatestRound is the round of the latest runtime block.

latest_state_root: StorageRoot

LatestStateRoot is the Merkle root of the runtime state tree.

latest_time: longnum

LatestTime is the timestamp of the latest runtime block.

provisioner?: string

Provisioner is the name of the runtime provisioner.

Storage contains the storage worker status in case this node is a storage node.