Namespace
Type
For each session index, we keep a mapping of ValidatorId<T>
to the number of blocks authored by the given authority.
Namespace
Type
The block number after which it's ok to send heartbeats in the current session.
At the beginning of each session we set this to a value that should fall roughly in the middle of the session duration. The idea is to first wait for the validators to produce a block in the current session, so that the heartbeat later on will not be necessary.
This value will only be used as a fallback if we fail to get a proper session progress estimate from NextSessionRotation
, as those estimates should be more accurate then the value we calculate for HeartbeatAfter
.
Namespace
Type
The current set of keys that may issue a heartbeat.
Namespace
Type
For each session index, we keep a mapping of SessionIndex
and AuthIndex
to WrapperOpaque<BoundedOpaqueNetworkState>
.
Namespace
Type
At the end of the session, no offence was committed.
Namespace
Type
A new heartbeat was received from AuthorityId
.
Namespace
Type
At the end of the session, at least one validator was found to be offline.
Namespace
Type
Duplicated heartbeat.
Namespace
Non existent public key.
Namespace
A configuration for base priority of unsigned transactions.
This is exposed so that it can be tuned for particular runtime, when multiple pallets send unsigned transactions.
Namespace
Type