Calls
purgeKeys
Removes any session key(s) of the function caller. This doesn’t take effect until the next session. The dispatch origin of this function must be Signed and the account must be either be convertible to a validator ID using the chain’s typical addressing system (this usually means being a controller account) or directly convertible into a validator ID (which usually means being a stash account). NamespacesetKeys
Sets the session key(s) of the function caller tokeys
. Allows an account to set its session key prior to becoming a validator. This doesn’t take effect until the next session.
The dispatch origin of this function must be signed.
Namespace
Storage
currentIndex
Current index of the session. NamespacedisabledValidators
Indices of disabled validators. The vec is always kept sorted so that we can find whether a given validator is disabled using binary search. It gets cleared whenon_session_ending
returns a new set of identities.
Namespace
keyOwner
The owner of a key. The key is theKeyTypeId
+ the encoded key.
Namespace