pub trait OnNewRoot<Hash> {
    fn on_new_root(root: &Hash);
}
Expand description

New MMR root notification hook.

Required Methods§

Function called by the pallet in case new MMR root has been computed.

Implementations on Foreign Types§

No-op implementation of OnNewRoot.

Implementors§

impl<T> OnNewRoot<H256> for DepositBeefyDigest<T>where
    T: Config<Hash = MmrRootHash> + Config,