Type Alias ImOnlineEvent

Source
pub type ImOnlineEvent = ImOnlineEvent;

Aliased Type§

pub enum ImOnlineEvent {
    HeartbeatReceived {
        authority_id: Public,
    },
    AllGood,
    SomeOffline {
        offline: Vec<(AccountId, Exposure<AccountId, u128>)>,
    },
}

Variants§

§

HeartbeatReceived

A new heartbeat was received from AuthorityId.

Fields

§authority_id: Public
§

AllGood

At the end of the session, no offence was committed.

§

SomeOffline

At the end of the session, at least one validator was found to be offline.

Fields