diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-26 10:00:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:54 +0800 |
commit | 622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7 (patch) | |
tree | 995b1db1cb20fc0fecb240338d089f0c49d1d986 /core/tx_pool_test.go | |
parent | c11db35c2d3f5ca5f4b5749294e154f10ef6b1c1 (diff) | |
download | dexon-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar dexon-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.gz dexon-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.bz2 dexon-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.lz dexon-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.xz dexon-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.tar.zst dexon-622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7.zip |
core: various changes on tps tuning (#46)
Diffstat (limited to 'core/tx_pool_test.go')
-rw-r--r-- | core/tx_pool_test.go | 2 |
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) |