5f157affdd
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
23 lines
398 B
Go
23 lines
398 B
Go
package types
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/filecoin-project/go-address"
|
|
)
|
|
|
|
type MpoolConfig struct {
|
|
PriorityAddrs []address.Address
|
|
SizeLimitHigh int
|
|
SizeLimitLow int
|
|
ReplaceByFeeRatio float64
|
|
PruneCooldown time.Duration
|
|
GasLimitOverestimation float64
|
|
}
|
|
|
|
func (mc *MpoolConfig) Clone() *MpoolConfig {
|
|
r := new(MpoolConfig)
|
|
*r = *mc
|
|
return r
|
|
}
|