pub fn count_total_transactions(&self) -> QueryResult<u32> {
        let count_tx: i64 = executed_transactions::table
            .filter(executed_transactions::success.eq(true))
            .select(count_star())
            .first(self.0.conn())?;
        let prior_ops: i64 = executed_priority_operations::table
            .select(count_star())
            .first(self.0.conn())?;
        Ok((count_tx + prior_ops) as u32)
    }
/// Returns the amount of executed transactions (both usual and priority).
Returns the amount of executed transactions (both usual and priority).
Returns the amount of executed transactions ( both usual and priority ) .
pub fn count_total_transactions(&self) -> QueryResult<u32> {
        let count_tx: i64 = executed_transactions::table
            .filter(executed_transactions::success.eq(true))
            .select(count_star())
            .first(self.0.conn())?;
        let prior_ops: i64 = executed_priority_operations::table
            .select(count_star())
            .first(self.0.conn())?;
        Ok((count_tx + prior_ops) as u32)
    }
pub fn count_total_transactions ( & self ) -> QueryResult < u32 > { let count_tx : i64 = executed_transactions :: table . filter ( executed_transactions :: success . eq ( true ) ) . select ( count_star ( ) ) . first ( self . 0 . conn ( ) ) ? ; let prior_ops : i64 = executed_priority_operations :: table . select ( count_star ( ) ) . first ( self . 0 . conn ( ) ) ? ; Ok ( ( count_tx + prior_ops ) as u32 ) }
Returns the amount of executed transactions (both usual and priority).
Returns the amount of executed transactions ( both usual and priority ) .
&self