referrerpolicy=no-referrer-when-downgrade

Module pallet_collator_selection::pallet::dispatchables

source ·
Expand description

Auto-generated docs-only module listing all defined dispatchables for this pallet.

§Warning: Doc-Only

Members of this module cannot be used directly and are only provided for documentation purposes. To see the real version of each dispatchable, look for them in Pallet or Call.

Functions§

  • Add a new account who to the list of Invulnerables collators. who must have registered session keys. If who is a candidate, they will be removed.
  • Deregister origin as a collator candidate. Note that the collator can only leave on session change. The CandidacyBond will be unreserved immediately.
  • Register this account as a collator candidate. The account must (a) already have registered session keys and (b) be able to reserve the CandidacyBond.
  • Remove an account who from the list of Invulnerables collators. Invulnerables must be sorted.
  • Set the candidacy bond amount.
  • Set the ideal number of non-invulnerable collators. If lowering this number, then the number of running collators could be higher than this figure. Aside from that edge case, there should be no other way to have more candidates than the desired number.
  • Set the list of invulnerable (fixed) collators. These collators must do some preparation, namely to have registered session keys.
  • The caller origin replaces a candidate target in the collator candidate list by reserving deposit. The amount deposit reserved by the caller must be greater than the existing bond of the target it is trying to replace.
  • Update the candidacy bond of collator candidate origin to a new amount new_deposit.