Trait sc_client_api::backend::ProvideChtRoots [−][src]
pub trait ProvideChtRoots<Block: BlockT> { fn header_cht_root(
&self,
cht_size: NumberFor<Block>,
block: NumberFor<Block>
) -> Result<Option<Block::Hash>>; fn changes_trie_cht_root(
&self,
cht_size: NumberFor<Block>,
block: NumberFor<Block>
) -> Result<Option<Block::Hash>>; }
Expand description
Provide CHT roots. These are stored on a light client and generated dynamically on a full client.
Required methods
Get headers CHT root for given block. Returns None if the block is not a part of any CHT.