async fn recv_mined_block(
mined_block_receiver: &mut Option<Receiver<(Hash, Height)>>,
) -> Option<(Hash, Height)>Expand description
Receives the next mined block from mined_block_receiver.
Never resolves if there is no receiver, so it can be used in a select! with other futures.