Trait noble_mmr_primitives::OnNewRoot[][src]

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

New MMR root notification hook.

Required methods

fn on_new_root(root: &Hash)[src]

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

Loading content...

Implementations on Foreign Types

impl<Hash> OnNewRoot<Hash> for ()[src]

No-op implementation of OnNewRoot.

Loading content...

Implementors

Loading content...