lotus/chain/types/mpool.go

19 lines
299 B
Go
Raw Normal View History

2020-08-07 14:33:55 +00:00
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
}