pub fn register_fast_unstake<T: Config>()
Expand description

Register oneself for fast-unstake.

§Dispatch Origin

The dispatch origin of this call must be signed by whoever is permitted to call unbond funds by the staking system. See Config::Staking.

§Details

The stash associated with the origin must have no ongoing unlocking chunks. If successful, this will fully unbond and chill the stash. Then, it will enqueue the stash to be checked in further blocks.

If by the time this is called, the stash is actually eligible for fast-unstake, then they are guaranteed to remain eligible, because the call will chill them as well.

If the check works, the entire staking data is removed, i.e. the stash is fully unstaked.

If the check fails, the stash remains chilled and waiting for being unbonded as in with the normal staking system, but they lose part of their unbonding chunks due to consuming the chain’s resources.

§Events

Some events from the staking and currency system might be emitted.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::register_fast_unstake.