19 lines
299 B
Go
19 lines
299 B
Go
package types
|
|
|
|
import (
|
|
"github.com/filecoin-project/go-address"
|
|
)
|
|
|
|
type MpoolConfig struct {
|
|
PriorityAddrs []address.Address
|
|
SizeLimitHigh int
|
|
SizeLimitLow int
|
|
ReplaceByFeeRatio float64
|
|
}
|
|
|
|
func (mc *MpoolConfig) Clone() *MpoolConfig {
|
|
r := new(MpoolConfig)
|
|
*r = *mc
|
|
return r
|
|
}
|