Trait bp_runtime::HeaderIdProvider
source · pub trait HeaderIdProvider<Header: HeaderT> {
// Required methods
fn id(&self) -> HeaderId<Header::Hash, Header::Number>;
fn parent_id(&self) -> Option<HeaderId<Header::Hash, Header::Number>>;
}
Expand description
Generic header id provider.