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