aboutsummaryrefslogtreecommitdiffstats
path: root/core/tx_pool_test.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 10:00:31 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:18 +0800
commitafc6a417210dc43a5a38ece5302de6801785316f (patch)
treebdf34181a628038f935e161433fe1b612a5b3bae /core/tx_pool_test.go
parent82d138debeac23029d3640ee7bc31c4ed093ff28 (diff)
downloadgo-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.gz
go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.zst
go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.zip
core: various changes on tps tuning (#46)
Diffstat (limited to 'core/tx_pool_test.go')
-rw-r--r--core/tx_pool_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go
index 4c1d78f7f..dc664eedd 100644
--- a/core/tx_pool_test.go
+++ b/core/tx_pool_test.go
@@ -1437,7 +1437,9 @@ func TestTransactionPoolStableUnderpricing(t *testing.T) {
blockchain := &testBlockChain{statedb, 1000000, new(event.Feed), new(event.Feed)}
config := testTxPoolConfig
+ config.AccountSlots = 16
config.GlobalSlots = 128
+ config.AccountQueue = 1024
config.GlobalQueue = 0
pool := NewTxPool(config, params.TestChainConfig, blockchain, false)