fn difficulty_time_and_history_tree(
    relevant_chain: Vec<Arc<Block>>,
    tip_height: Height,
    tip_hash: Hash,
    network: &Network,
    history_tree: Arc<HistoryTree>,
) -> GetBlockTemplateChainInfo
Expand description

Returns the GetBlockTemplateChainInfo for the supplied relevant_chain, tip, network, and history_tree.

The relevant_chain has recent blocks in reverse height order from the tip.

See get_block_template_chain_info() for details.