Trait sp_consensus::block_validation::Chain [−][src]
A type which provides access to chain information.
Required methods
fn block_status(
&self,
id: &BlockId<B>
) -> Result<BlockStatus, Box<dyn Error + Send>>
[src]
&self,
id: &BlockId<B>
) -> Result<BlockStatus, Box<dyn Error + Send>>
Retrieve the status of the block denoted by the given BlockId
.
Implementations on Foreign Types
impl<T: Chain<B>, B: Block> Chain<B> for Arc<T>
[src]
fn block_status(
&self,
id: &BlockId<B>
) -> Result<BlockStatus, Box<dyn Error + Send>>
[src]
&self,
id: &BlockId<B>
) -> Result<BlockStatus, Box<dyn Error + Send>>