[−][src]Trait sp_blockchain::HeaderMetadata
Handles header metadata: hash, number, parent hash, etc.
Associated Types
Loading content...Required methods
pub fn header_metadata(
&self,
hash: Block::Hash
) -> Result<CachedHeaderMetadata<Block>, Self::Error>
[src]
&self,
hash: Block::Hash
) -> Result<CachedHeaderMetadata<Block>, Self::Error>
pub fn insert_header_metadata(
&self,
hash: Block::Hash,
header_metadata: CachedHeaderMetadata<Block>
)
[src]
&self,
hash: Block::Hash,
header_metadata: CachedHeaderMetadata<Block>
)