pub type FullBackend = TFullBackend<Block>;
Expand description

Full backend.

Aliased Type§

struct FullBackend {
    pub(crate) storage: Arc<StorageDb<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
    pub(crate) offchain_storage: LocalStorage,
    pub(crate) blockchain: BlockchainDb<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
    pub(crate) canonicalization_delay: u64,
    pub(crate) import_lock: Arc<RwLock<RawRwLock, ()>>,
    pub(crate) is_archive: bool,
    pub(crate) blocks_pruning: BlocksPruning,
    pub(crate) io_stats: FrozenForDuration<(IoStats, UsageInfo)>,
    pub(crate) state_usage: Arc<StateUsageStats>,
    pub(crate) genesis_state: RwLock<RawRwLock, Option<Arc<DbGenesisStorage<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>,
    pub(crate) shared_trie_cache: Option<SharedTrieCache<BlakeTwo256>>,
}

Fields§

§storage: Arc<StorageDb<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>§offchain_storage: LocalStorage§blockchain: BlockchainDb<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>§canonicalization_delay: u64§import_lock: Arc<RwLock<RawRwLock, ()>>§is_archive: bool§blocks_pruning: BlocksPruning§io_stats: FrozenForDuration<(IoStats, UsageInfo)>§state_usage: Arc<StateUsageStats>§genesis_state: RwLock<RawRwLock, Option<Arc<DbGenesisStorage<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>>>§shared_trie_cache: Option<SharedTrieCache<BlakeTwo256>>