forked from TrueCloudLab/neoneo-go
1afd630169
In order to simplify maintainance of overall current senders` fees in the mempool we are to keep them in a separate map.
12 lines
283 B
Go
12 lines
283 B
Go
package mempool
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/util"
|
|
)
|
|
|
|
// Feer is an interface that abstract the implementation of the fee calculation.
|
|
type Feer interface {
|
|
IsLowPriority(util.Fixed8) bool
|
|
FeePerByte() util.Fixed8
|
|
GetUtilityTokenBalance(util.Uint160) util.Fixed8
|
|
}
|