referrerpolicy=no-referrer-when-downgrade

Function sc_consensus_grandpa::revert

source ·
pub fn revert<Block, Client>(
    client: Arc<Client>,
    blocks: NumberFor<Block>,
) -> Result<()>
where Block: BlockT, Client: AuxStore + HeaderMetadata<Block, Error = Error> + HeaderBackend<Block>,
Expand description

Reverts protocol aux data to at most the last finalized block. In particular, standard and forced authority set changes announced after the revert point are removed.