pub fn count_outstanding_proofs(&self, after_block: BlockNumber) -> QueryResult<u32> {
        use crate::schema::executed_transactions::dsl::*;
        let count: i64 = executed_transactions
            .filter(block_number.gt(i64::from(after_block)))
            .select(count_star())
            .first(self.0.conn())?;
        Ok(count as u32)
    }
/// Returns the amount of blocks that don't have proofs yet.
Returns the amount of blocks that don't have proofs yet.
Returns the amount of blocks that don ' t have proofs yet .
pub fn count_outstanding_proofs(&self, after_block: BlockNumber) -> QueryResult<u32> {
        use crate::schema::executed_transactions::dsl::*;
        let count: i64 = executed_transactions
            .filter(block_number.gt(i64::from(after_block)))
            .select(count_star())
            .first(self.0.conn())?;
        Ok(count as u32)
    }
pub fn count_outstanding_proofs ( & self , after_block : BlockNumber ) -> QueryResult < u32 > { use crate :: schema :: executed_transactions :: dsl :: * ; let count : i64 = executed_transactions . filter ( block_number . gt ( i64 :: from ( after_block ) ) ) . select ( count_star ( ) ) . first ( self . 0 . conn ( ) ) ? ; Ok ( count as u32 ) }
Returns the amount of blocks that don't have proofs yet.
Returns the amount of blocks that don ' t have proofs yet .
&self
after_block
BlockNumber