mirror of
https://github.com/luxfi/evmgpu.git
synced 2026-10-30 16:57:11 +00:00
22 lines
793 B
Go
22 lines
793 B
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package evm
|
|
|
|
import (
|
|
"github.com/luxfi/evmgpu/core/txpool/legacypool"
|
|
"github.com/luxfi/evmgpu/plugin/evm/config"
|
|
)
|
|
|
|
// defaultTxPoolConfig uses [legacypool.DefaultConfig] to make a [config.TxPoolConfig]
|
|
// that can be passed to [config.Config.SetDefaults].
|
|
var defaultTxPoolConfig = config.TxPoolConfig{
|
|
PriceLimit: legacypool.DefaultConfig.PriceLimit,
|
|
PriceBump: legacypool.DefaultConfig.PriceBump,
|
|
AccountSlots: legacypool.DefaultConfig.AccountSlots,
|
|
GlobalSlots: legacypool.DefaultConfig.GlobalSlots,
|
|
AccountQueue: legacypool.DefaultConfig.AccountQueue,
|
|
GlobalQueue: legacypool.DefaultConfig.GlobalQueue,
|
|
Lifetime: legacypool.DefaultConfig.Lifetime,
|
|
}
|