pub fn build(self) -> TxQueue {
        // Block numbers are indexed starting from 1, so we have to increment.
        let verify_operations_next_block = self.verify_operations_count + 1;

        TxQueue {
            max_pending_txs: self.max_pending_txs,
            sent_pending_txs: self.sent_pending_txs,

            commit_operations: CounterQueue::new(self.commit_operations_count),
            verify_operations: SparseQueue::new(verify_operations_next_block),
            withdraw_operations: CounterQueue::new(self.withdraw_operations_count),
        }
    }
/// Finishes the queue building process.
Finishes the queue building process.
Finishes the queue building process .
pub fn build(self) -> TxQueue {
        // Block numbers are indexed starting from 1, so we have to increment.
        let verify_operations_next_block = self.verify_operations_count + 1;
        TxQueue {
            max_pending_txs: self.max_pending_txs,
            sent_pending_txs: self.sent_pending_txs,
            commit_operations: CounterQueue::new(self.commit_operations_count),
            verify_operations: SparseQueue::new(verify_operations_next_block),
            withdraw_operations: CounterQueue::new(self.withdraw_operations_count),
        }
    }
pub fn build ( self ) -> TxQueue { // Block numbers are indexed starting from 1, so we have to increment. let verify_operations_next_block = self . verify_operations_count + 1 ; TxQueue { max_pending_txs : self . max_pending_txs , sent_pending_txs : self . sent_pending_txs , commit_operations : CounterQueue :: new ( self . commit_operations_count ) , verify_operations : SparseQueue :: new ( verify_operations_next_block ) , withdraw_operations : CounterQueue :: new ( self . withdraw_operations_count ) , } }
Finishes the queue building process.
Finishes the queue building process .
self