pub trait BatchBuilder {
// Required methods
fn accept_tx(&mut self, tx: Vec<u8>) -> Result<()>;
fn get_next_blob(&mut self) -> Result<Vec<Vec<u8>>>;
}
Expand description
BlockBuilder trait is responsible for managing mempool and building batches.