From 451cb0a9febae9b594858f8fd95d7cf3763a18de Mon Sep 17 00:00:00 2001 From: Adrian Sutton Date: Thu, 21 Mar 2019 06:03:22 +1000 Subject: [PATCH] Reduce the default transaction pool size from 30,000 to 4096. (#1136) --- .../pegasys/pantheon/ethereum/core/PendingTransactions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/core/PendingTransactions.java b/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/core/PendingTransactions.java index 701360f7ee..4541be7136 100644 --- a/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/core/PendingTransactions.java +++ b/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/core/PendingTransactions.java @@ -40,7 +40,7 @@ *

This class is safe for use across multiple threads. */ public class PendingTransactions { - public static final int MAX_PENDING_TRANSACTIONS = 30_000; + public static final int MAX_PENDING_TRANSACTIONS = 4096; private final Map pendingTransactions = new HashMap<>(); private final SortedSet prioritizedTransactions =