async fn synced_peers(
node: &DarkfiNodePtr,
last_tip: &HeaderHash,
checkpoint: Option<(u32, HeaderHash)>,
) -> HashMap<(u32, [u8; 32]), Vec<ChannelPtr>>
Expand description
Auxiliary function to block until node is connected to at least one synced peer, and retrieve the synced peers tips.