Pausing
Pausing
Extrinsic
pub fn pause_subnet(
origin: OriginFor<T>,
subnet_id: u32
)Unpausing
Extrinsic
pub fn unpause_subnet(
origin: OriginFor<T>,
subnet_id: u32
)Last updated
The subnet owner can pause an active subnet for up to 4 days.
This will pause all subnet functionality on-chain, including electing validators and emissions distribution.
If the subnet is not unpaused, it will decrease the subnet reputation it has on each epoch that it is not unpaused until it hits the minimum allowable subnet reputation and is removed.
pub fn pause_subnet(
origin: OriginFor<T>,
subnet_id: u32
)When unpaused, it will unpause the subnet to begin consensus on the following epoch, and push each registered subnet node in the queue back for the length of epochs the subnet was paused for.
All Idle classification nodes are not pushed back.
pub fn unpause_subnet(
origin: OriginFor<T>,
subnet_id: u32
)Last updated