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

Unregister existing core for staking, making it ineligible for rewards from current era onwards and starts the unbonding period for the stakers.

The origin has to be the core origin.

Deposit is returned to the core account.

  • core_id: Id of the core to be unregistered.

§Warning: Doc-Only

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