Function duniter::service::revert_backend
source ยท pub fn revert_backend(
client: Arc<Client>,
backend: Arc<TFullBackend<Block>>,
blocks: BlockNumber,
) -> Result<()>
Expand description
Reverts the node state down to at most the last finalized block.
In particular this reverts:
- Low level Babe and Grandpa consensus data.