aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-23 14:44:23 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commite66378fba05e590fac8fafd4ac8026aedd2869b7 (patch)
treedc5183a3c563813fa228685a1b9701516b26f089
parent2d6f583571100815ad546fe14e2a18548dee7a80 (diff)
downloaddexon-e66378fba05e590fac8fafd4ac8026aedd2869b7.tar.gz
dexon-e66378fba05e590fac8fafd4ac8026aedd2869b7.tar.zst
dexon-e66378fba05e590fac8fafd4ac8026aedd2869b7.zip
core: increase tx pool size
-rw-r--r--core/tx_pool.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go
index 703d75e75..001aee6f9 100644
--- a/core/tx_pool.go
+++ b/core/tx_pool.go
@@ -152,10 +152,10 @@ var DefaultTxPoolConfig = TxPoolConfig{
PriceLimit: 1,
PriceBump: 10,
- AccountSlots: 16,
- GlobalSlots: 4096,
- AccountQueue: 64,
- GlobalQueue: 1024,
+ AccountSlots: 192,
+ GlobalSlots: 40960,
+ AccountQueue: 1024,
+ GlobalQueue: 20240,
Lifetime: 3 * time.Hour,
}