Struct common_types::tree_route::TreeRoute[][src]

pub struct TreeRoute {
    pub blocks: Vec<H256>,
    pub ancestor: H256,
    pub index: usize,
    pub is_from_route_finalized: bool,
}

Represents a tree route between from block and to block:

Fields

A vector of hashes of all blocks, ordered from from to to.

Best common ancestor of these blocks.

An index where best common ancestor would be.

Whether it has finalized blocks from from (inclusive) to ancestor (exclusive).

Trait Implementations

impl Debug for TreeRoute
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for TreeRoute

impl Sync for TreeRoute