Module pallet_collator_selection::pallet::dispatchables
source · Expand description
Functions§
- Deregister
origin
as a collator candidate. Note that the collator can only leave on session change. TheCandidacyBond
will start un-bonding process. - Register this account as a collator candidate. The account must (a) already have registered session keys and (b) be able to reserve the
CandidacyBond
. - Set the candidacy bond amount.
- Set the ideal number of collators (not including the invulnerables). 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 collators than the desired number.
- Set the list of invulnerable (fixed) collators.
- Set slash destination. Use
Some
to deposit slashed balance into destination orNone
to burn it. - Withdraw
CandidacyBond
after un-bonding period has finished. This call will fail called during un-bonding or if there’s noCandidacyBound
reserved.