pub fn load_txs(&self) -> Result<VecDeque<SignedFranklinTx>, failure::Error> {
        let txs: Vec<MempoolTx> = mempool_txs::table.load(self.0.conn())?;

        let txs = txs
            .into_iter()
            .map(|tx_object| -> Result<SignedFranklinTx, failure::Error> {
                let tx = serde_json::from_value(tx_object.tx)?;
                let sign_data = match tx_object.eth_sign_data {
                    None => None,
                    Some(sign_data_value) => serde_json::from_value(sign_data_value)?,
                };

                Ok(SignedFranklinTx {
                    tx,
                    eth_sign_data: sign_data,
                })
            })
            .collect::<Result<VecDeque<SignedFranklinTx>, _>>()?;
        Ok(txs)
    }
/// Loads all the transactions stored in the mempool schema.
Loads all the transactions stored in the mempool schema.
Loads all the transactions stored in the mempool schema .
pub fn load_txs(&self) -> Result<VecDeque<SignedFranklinTx>, failure::Error> {
        let txs: Vec<MempoolTx> = mempool_txs::table.load(self.0.conn())?;
        let txs = txs
            .into_iter()
            .map(|tx_object| -> Result<SignedFranklinTx, failure::Error> {
                let tx = serde_json::from_value(tx_object.tx)?;
                let sign_data = match tx_object.eth_sign_data {
                    None => None,
                    Some(sign_data_value) => serde_json::from_value(sign_data_value)?,
                };
                Ok(SignedFranklinTx {
                    tx,
                    eth_sign_data: sign_data,
                })
            })
            .collect::<Result<VecDeque<SignedFranklinTx>, _>>()?;
        Ok(txs)
    }
pub fn load_txs ( & self ) -> Result < VecDeque < SignedFranklinTx > , failure :: Error > { let txs : Vec < MempoolTx > = mempool_txs :: table . load ( self . 0 . conn ( ) ) ? ; let txs = txs . into_iter ( ) . map ( | tx_object | -> Result < SignedFranklinTx , failure :: Error > { let tx = serde_json :: from_value ( tx_object . tx ) ? ; let sign_data = match tx_object . eth_sign_data { None => None , Some ( sign_data_value ) => serde_json :: from_value ( sign_data_value ) ? , } ; Ok ( SignedFranklinTx { tx , eth_sign_data : sign_data , } ) } ) . collect :: < Result < VecDeque < SignedFranklinTx > , _ > > ( ) ? ; Ok ( txs ) }
Loads all the transactions stored in the mempool schema.
Loads all the transactions stored in the mempool schema .
&self