async fn retrieve_headers(
node: &DarkfiNodePtr,
peers: &[ChannelPtr],
last_known: (u32, HeaderHash),
tip_height: u32,
) -> Result<()>Expand description
Auxiliary function to retrieve headers backwards until our last known one and verify them.