[][src]Trait substrate_service::ServiceBuilderRevert

pub trait ServiceBuilderRevert {
    type Block: BlockT;
    fn revert_chain(&self, blocks: NumberFor<Self::Block>) -> Result<(), Error>;
}

Implemented on ServiceBuilder. Allows reverting the chain once you have given all the required components to the builder.

Associated Types

type Block: BlockT

Type of block of the builder.

Loading content...

Required methods

fn revert_chain(&self, blocks: NumberFor<Self::Block>) -> Result<(), Error>

Performs a revert of blocks bocks.

Loading content...

Implementors

impl<TBl, TRtApi, TCfg, TGen, TBackend, TExec, TFchr, TSc, TImpQu, TFprb, TFpp, TNetP, TExPool, TRpc, TRpcB> ServiceBuilderRevert for ServiceBuilder<TBl, TRtApi, TCfg, TGen, Client<TBackend, TExec, TBl, TRtApi>, TFchr, TSc, TImpQu, TFprb, TFpp, TNetP, TExPool, TRpc, TRpcB, TBackend> where
    TBl: BlockT<Hash = <Blake2Hasher as Hasher>::Out>,
    TBackend: 'static + Backend<TBl, Blake2Hasher> + Send,
    TExec: 'static + CallExecutor<TBl, Blake2Hasher> + Send + Sync + Clone
[src]

type Block = TBl

Loading content...