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

15 lines
277 B
Go
Raw Permalink 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
}