1
2
3
4
5
6
7
8
9
10
11
use crate::model::{BlockHeight, FuelBlock};
use tokio::sync::oneshot;

pub enum BlockProducerMpsc {
    Produce {
        // add needed information for block to be produced
        height: BlockHeight,
        response: oneshot::Sender<Box<FuelBlock>>,
    },
    Stop,
}