File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
execution_chain/core/tx_pool Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5555 blobTab : BlobLookupTab
5656
5757const
58- MAX_POOL_SIZE = 5000
59- MAX_TXS_PER_ACCOUNT = 100
60- TX_ITEM_LIFETIME = initDuration (minutes = 60 )
58+ MAX_POOL_SIZE = 8000
59+ MAX_TXS_PER_ACCOUNT = 500
60+ TX_ITEM_LIFETIME = initDuration (minutes = 10 )
6161 TX_MAX_SIZE * = 128 * 1024
6262 # BLOB_TX_MAX_SIZE is the maximum size a single transaction can have, outside
6363 # the included blobs. Since blob transactions are pulled instead of pushed,
6464 # and only a small metadata is kept in ram, there is no critical limit that
6565 # should be enforced. Still, capping it to some sane limit can never hurt.
66- BLOB_TX_MAX_SIZE * = 1024 * 1024
66+ BLOB_TX_MAX_SIZE * = 1024 * 1024 * 2
6767
6868# ------------------------------------------------------------------------------
6969# Private functions
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ suite "TxPool test suite":
369369 gasLimit: 75000
370370 )
371371
372- const MAX_TXS_GENERATED = 100
372+ const MAX_TXS_GENERATED = 500
373373 for i in 0 .. MAX_TXS_GENERATED - 2 :
374374 let ptx = mx.makeTx (tc, acc, i.AccountNonce )
375375 xp.checkAddTx (ptx)
You can’t perform that action at this time.
0 commit comments