neoneo-go/pkg/core/mempool/feer.go

17 lines
339 B
Go
Raw Normal View History

2020-01-15 07:52:59 +00:00
package mempool
import (
"math/big"
"github.com/nspcc-dev/neo-go/pkg/util"
)
// Feer is an interface that abstract the implementation of the fee calculation.
type Feer interface {
FeePerByte() int64
GetUtilityTokenBalance(util.Uint160) *big.Int
BlockHeight() uint32
P2PSigExtensionsEnabled() bool
2020-12-30 08:01:13 +00:00
P2PNotaryModuleEnabled() bool
}