async fn retrieve_peer_fork(
validator: &ValidatorPtr,
last_common_info: (&u32, &PoWModule, &BlockDifficulty),
channel: &(&ChannelPtr, &u64),
proposal: &Proposal,
header_hashes: &[HeaderHash],
) -> Result<Fork>Expand description
Auxiliary function to generate provided peer headers hashes fork and its ranking, based on provided last common information.