Trait bp_header_chain::FinalityProof
source · pub trait FinalityProof<Hash, Number>: Clone + Send + Sync + Debug {
// Required methods
fn target_header_hash(&self) -> Hash;
fn target_header_number(&self) -> Number;
}
Expand description
Abstract finality proof that is justifying block finality.
Required Methods§
sourcefn target_header_hash(&self) -> Hash
fn target_header_hash(&self) -> Hash
Return hash of header that this proof is generated for.
sourcefn target_header_number(&self) -> Number
fn target_header_number(&self) -> Number
Return number of header that this proof is generated for.
Object Safety§
This trait is not object safe.