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