[−][src]Trait tendermint_light_client::components::io::Io
Interface for fetching light blocks from a full node, typically via the RPC client.
Required methods
pub fn fetch_light_block(&self, height: AtHeight) -> Result<LightBlock, IoError>
[src]
Fetch a light block at the given height from a peer
Implementors
impl Io for ProdIo
[src]
pub fn fetch_light_block(&self, height: AtHeight) -> Result<LightBlock, IoError>
[src]
impl<F: Send + Sync> Io for F where
F: Fn(AtHeight) -> Result<LightBlock, IoError>,
[src]
F: Fn(AtHeight) -> Result<LightBlock, IoError>,