mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-30 09:33:36 +00:00
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
|
|
}
|