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

16 lines
309 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 abstracts the implementation of the fee calculation.
type Feer interface {
FeePerByte() int64
GetUtilityTokenBalance(util.Uint160) *big.Int
BlockHeight() uint32
P2PSigExtensionsEnabled() bool
}