fn fetch_effective_pruned_height(&self) -> Result<u64, ChainStorageError> {
        match self.fetch(&DbKey::Metadata(MetadataKey::EffectivePrunedHeight))? {
            Some(DbValue::Metadata(MetadataValue::EffectivePrunedHeight(height))) => Ok(height),
            _ => Ok(0),
        }
    }
// Fetches the chain metadata pruning horizon.
Fetches the chain metadata pruning horizon.
Fetches the chain metadata pruning horizon .
fn fetch_effective_pruned_height(&self) -> Result<u64, ChainStorageError> {
        match self.fetch(&DbKey::Metadata(MetadataKey::EffectivePrunedHeight))? {
            Some(DbValue::Metadata(MetadataValue::EffectivePrunedHeight(height))) => Ok(height),
            _ => Ok(0),
        }
    }
fn fetch_effective_pruned_height ( & self ) -> Result < u64 , ChainStorageError > { match self . fetch ( & DbKey :: Metadata ( MetadataKey :: EffectivePrunedHeight ) ) ? { Some ( DbValue :: Metadata ( MetadataValue :: EffectivePrunedHeight ( height ) ) ) => Ok ( height ) , _ => Ok ( 0 ) , } }
Fetches the chain metadata pruning horizon.
Fetches the chain metadata pruning horizon .
&self
&self