From 1d9db578ff568d56247057c4ec280c6ada32468e Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Tue, 14 Feb 2017 12:14:02 +0100 Subject: [PATCH] ready transactions order documentation --- ethcore/light/src/transaction_queue.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ethcore/light/src/transaction_queue.rs b/ethcore/light/src/transaction_queue.rs index 088e72409..50d6a918e 100644 --- a/ethcore/light/src/transaction_queue.rs +++ b/ethcore/light/src/transaction_queue.rs @@ -223,6 +223,8 @@ impl TransactionQueue { /// Get all transactions ready to be propagated. /// `best_block_number` and `best_block_timestamp` are used to filter out conditionally /// propagated transactions. + /// + /// Returned transactions are batched by sender, in order of ascending nonce. pub fn ready_transactions(&self, best_block_number: u64, best_block_timestamp: u64) -> Vec { self.by_account.values() .flat_map(|acct_txs| {