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>2019-03-12 12:19:09 +0800
commitd62dfb921dd1017ca5e14a6f66f4de093ed388f9 (patch)
treeab76861eca1a13349d14798f2a7bf6a4f830c506
parent4a02390bfefc00e3c1b3e70a59f8e2c19f5f1dd8 (diff)
downloaddexon-d62dfb921dd1017ca5e14a6f66f4de093ed388f9.tar
dexon-d62dfb921dd1017ca5e14a6f66f4de093ed388f9.tar.gz
dexon-d62dfb921dd1017ca5e14a6f66f4de093ed388f9.tar.bz2
dexon-d62dfb921dd1017ca5e14a6f66f4de093ed388f9.tar.lz
dexon-d62dfb921dd1017ca5e14a6f66f4de093ed388f9.tar.xz
dexon-d62dfb921dd1017ca5e14a6f66f4de093ed388f9.tar.zst
dexon-d62dfb921dd1017ca5e14a6f66f4de093ed388f9.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 0a87be25b..b7f8896fa 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,
}