cmd, core, eth: configurable txpool parameters

This commit is contained in:
Péter Szilágyi
2017-05-26 13:40:47 +03:00
parent dd5ed01f3b
commit 08959bbc70
10 changed files with 241 additions and 105 deletions

View File

@ -38,7 +38,7 @@ func TestStrictTxListAdd(t *testing.T) {
// Insert the transactions in a random order
list := newTxList(true)
for _, v := range rand.Perm(len(txs)) {
list.Add(txs[v])
list.Add(txs[v], DefaultTxPoolConfig.PriceBump)
}
// Verify internal state
if len(list.txs.items) != len(txs) {