Trait sc_client_api::backend::RemoteBackend[][src]

pub trait RemoteBackend<Block: BlockT>: Backend<Block> {
    fn is_local_state_available(&self, block: &BlockId<Block>) -> bool;
fn remote_blockchain(&self) -> Arc<dyn RemoteBlockchain<Block>>; }
Expand description

Mark for all Backend implementations, that are fetching required state data from remote nodes.

Required methods

Returns true if the state for given block is available locally.

Returns reference to blockchain backend.

Returned backend either resolves blockchain data locally, or prepares request to fetch that data from remote node.

Implementors