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