diff --git a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/transactions/PendingTransactions.java b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/transactions/PendingTransactions.java index 6f585465c2..8e8d15d434 100644 --- a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/transactions/PendingTransactions.java +++ b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/transactions/PendingTransactions.java @@ -49,6 +49,7 @@ import java.util.concurrent.atomic.AtomicLong; *
This class is safe for use across multiple threads. */ public class PendingTransactions { + public static final int MAX_PENDING_TRANSACTIONS = 4096; public static final int DEFAULT_TX_RETENTION_HOURS = 13; @@ -184,8 +185,8 @@ public class PendingTransactions { */ public void selectTransactions(final TransactionSelector selector) { synchronized (pendingTransactions) { - final Map
accountTransactions = new HashMap<>(); final List