Pausing

Pausing

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, the subnet will increase its penalties on each epoch it is not unpaused until it hits the maximum allowable subnet penalties and is removed.

Extrinsic

pub fn pause_subnet(
    origin: OriginFor<T>, 
    subnet_id: u32
)

Unpausing

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.

Extrinsic

pub fn unpause_subnet(
    origin: OriginFor<T>, 
    subnet_id: u32
)

Last updated