Trait client_traits::BlockChainReset[][src]

pub trait BlockChainReset {
    fn reset(&self, num: u32) -> Result<(), String>;
fn pruning_history(&self) -> u64; }

resets the blockchain

Required methods

fn reset(&self, num: u32) -> Result<(), String>[src]

reset to best_block - n

fn pruning_history(&self) -> u64[src]

Number of eras kept in a journal before they are pruned

Loading content...

Implementors

Loading content...