async fn listen_to_network(
node: &DarkfiNodePtr,
extended_fork: &Fork,
subscription: &Subscription<JsonNotification>,
sender: &Sender<()>,
) -> Result<()>
Expand description
Async task to listen for incoming proposals and check if the best fork has changed.