pub trait P2pDb: Send + Sync {
// Required methods
fn get_sealed_headers(
&self,
block_height_range: Range<u32>,
) -> StorageResult<Option<Vec<SealedBlockHeader>>>;
fn get_transactions(
&self,
block_height_range: Range<u32>,
) -> StorageResult<Option<Vec<Transactions>>>;
fn get_genesis(&self) -> StorageResult<Genesis>;
}