From 10f1c3665fa594146a3f6b0aedee557dc3e254e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 13 Nov 2024 09:48:34 +0200 Subject: [PATCH] Typos. --- txcache/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txcache/README.md b/txcache/README.md index 24ccdb35..83937543 100644 --- a/txcache/README.md +++ b/txcache/README.md @@ -170,13 +170,13 @@ Thus, the mempool selects transactions using an efficient and value-driven algor - **Select the most valuable transaction:** - Pop the transaction with the highest PPU from the heap. - Append this transaction to the list of `selectedTransactions`. - - **Update the Sender's Bunch:** + - **Update the sender's bunch:** - If the sender of the selected transaction has more transactions in their bunch: - Take the next transaction (next higher nonce) from the bunch. - Push this transaction onto the heap to compete in subsequent iterations. - This process ensures that at each step, the most valuable transaction across all senders is selected while maintaining proper nonce order for each sender. - - **Early Termination:** + - **Early termination:** - The selection loop can terminate early if either of the following conditions is satisfied before all transactions are processed: - The accumulated gas of selected transactions meets or exceeds `gasRequested`. - The number of selected transactions reaches `maxNum`.