[][src]Trait substrate_client::backend::PrunableStateChangesTrieStorage

pub trait PrunableStateChangesTrieStorage<Block: BlockT, H: Hasher>: StateChangesTrieStorage<H, NumberFor<Block>> {
    fn oldest_changes_trie_block(
        &self,
        config: &ChangesTrieConfiguration,
        best_finalized: NumberFor<Block>
    ) -> NumberFor<Block>; }

Changes trie storage that supports pruning.

Required methods

fn oldest_changes_trie_block(
    &self,
    config: &ChangesTrieConfiguration,
    best_finalized: NumberFor<Block>
) -> NumberFor<Block>

Get number block of oldest, non-pruned changes trie.

Loading content...

Implementors

impl<Block: BlockT, H: Hasher> PrunableStateChangesTrieStorage<Block, H> for ChangesTrieStorage<Block, H>[src]

Loading content...