async fn retrieve_peer_header_hashes(
validator: &ValidatorPtr,
channel: &(&ChannelPtr, &u64),
proposal: &Proposal,
) -> Result<(u32, HeaderHash, Vec<HeaderHash>)>Expand description
Auxiliary function to retrieve the last common header and height, along with the headers sequence up to provided peer proposal.