Trait sov_rollup_interface::da::BlockHeaderTrait
source · pub trait BlockHeaderTrait: PartialEq + Debug + Clone + Serialize + DeserializeOwned {
type Hash: Clone;
// Required methods
fn prev_hash(&self) -> Self::Hash;
fn hash(&self) -> Self::Hash;
}
Expand description
A block header, typically used in the context of an underlying DA blockchain.