Interface ControlRegistrationStatus

RegistrationStatus is the node registration status.

interface ControlRegistrationStatus {
    descriptor?: Node;
    last_attempt: longnum;
    last_attempt_error_message?: string;
    last_attempt_successful: boolean;
    last_registration: longnum;
    node_status?: RegistryNodeStatus;
}

Properties

descriptor?: Node

Descriptor is the node descriptor that the node successfully registered with. In case the node did not successfully register yet, it will be nil.

last_attempt: longnum

LastAttempt is the time of the last registration attempt. In case the node did not successfully register yet, it will be the zero timestamp.

last_attempt_error_message?: string

LastAttemptErrorMessage contains the error message if the last registration attempt has not been successful.

last_attempt_successful: boolean

LastAttemptSuccessful is true if the last registration attempt has been successful.

last_registration: longnum

LastRegistration is the time of the last successful registration with the consensus registry service. In case the node did not successfully register yet, it will be the zero timestamp.

node_status?: RegistryNodeStatus

NodeStatus is the registry live status of the node.