aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-23 14:44:23 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:18 +0800
commitc4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee (patch)
treee8642f851dd062f7aa8e0d686e0b97d065b74514 /core
parent41c03e07c6ad09b30c336c929442087618fefd66 (diff)
downloadgo-tangerine-c4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee.tar
go-tangerine-c4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee.tar.gz
go-tangerine-c4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee.tar.bz2
go-tangerine-c4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee.tar.lz
go-tangerine-c4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee.tar.xz
go-tangerine-c4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee.tar.zst
go-tangerine-c4e8d9e1778aacbcc170a39e4b60c1f2ed60b6ee.zip
core: increase tx pool size
Diffstat (limited to 'core')
-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,
}