Trait sc_client_api::backend::RemoteBackend [−][src]
Mark for all Backend implementations, that are fetching required state data from remote nodes.
Required methods
fn is_local_state_available(&self, block: &BlockId<Block>) -> bool
[src]
Returns true if the state for given block is available locally.
fn remote_blockchain(&self) -> Arc<dyn RemoteBlockchain<Block>>
[src]
Returns reference to blockchain backend.
Returned backend either resolves blockchain data locally, or prepares request to fetch that data from remote node.
Implementors
impl<Block: BlockT> RemoteBackend<Block> for Backend<Block> where
Block::Hash: Ord,
[src]
Block::Hash: Ord,