async fn listen_to_network(
    node: &Darkfid,
    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.