[CI Skip] 0.82.0-beta.40
This commit is contained in:
@@ -196,7 +196,7 @@ ___
|
||||
### session
|
||||
|
||||
▸ **setKeys**(keys: `Keys`, proof: `Bytes`)
|
||||
- **summary**: Sets the session key(s) of the function caller to `key`. 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. # <weight> - O(1). - One extra DB entry. # </weight>
|
||||
- **summary**: Sets the session key(s) of the function caller to `key`. 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. # <weight> - O(log n) in number of accounts. - One extra DB entry. # </weight>
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -242,25 +242,19 @@ ___
|
||||
|
||||
### session
|
||||
|
||||
▸ **active**(`u32`): `Vec<OpaqueKey>`
|
||||
- **summary**: The keys that are currently active.
|
||||
|
||||
▸ **changed**(): `bool`
|
||||
- **summary**: True if anything has changed in this session.
|
||||
|
||||
▸ **currentIndex**(): `SessionIndex`
|
||||
- **summary**: Current index of the session.
|
||||
|
||||
▸ **nextKeyFor**(`AccountId`): `Option<Keys>`
|
||||
- **summary**: The next key to be used for a given validator. At the end of the session, they will be moved into the `QueuedKeys` and so changes here will not take effect for at least one whole session.
|
||||
|
||||
▸ **queuedChanged**(): `bool`
|
||||
- **summary**: Queued keys changed.
|
||||
|
||||
▸ **queuedKeys**(): `Vec<(AccountId,Keys)>`
|
||||
▸ **queuedKeys**(): `Vec<(ValidatorId,Keys)>`
|
||||
- **summary**: The queued keys for the next session. When the next session begins, these keys will be used to determine the validator's session keys.
|
||||
|
||||
▸ **validators**(): `Vec<AccountId>`
|
||||
▸ **validators**(): `Vec<ValidatorId>`
|
||||
- **summary**: The current set of validators.
|
||||
|
||||
___
|
||||
@@ -271,6 +265,9 @@ ___
|
||||
▸ **bonded**(`AccountId`): `Option<AccountId>`
|
||||
- **summary**: Map from all locked "stash" accounts to the controller account.
|
||||
|
||||
▸ **bondedEras**(): `Vec<(EraIndex,SessionIndex)>`
|
||||
- **summary**: A mapping from still-bonded eras to the first session index of that era.
|
||||
|
||||
▸ **currentElected**(): `Vec<AccountId>`
|
||||
- **summary**: The currently elected validator set keyed by stash account ID.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user