Function sp_blockchain::tree_route
source · pub fn tree_route<Block: BlockT, T: HeaderMetadata<Block> + ?Sized>(
backend: &T,
from: Block::Hash,
to: Block::Hash,
) -> Result<TreeRoute<Block>, T::Error>
Expand description
Compute a tree-route between two blocks. See tree-route docs for more details.