mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +00:00
28908aa3cf
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
15 lines
309 B
Go
15 lines
309 B
Go
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
|
|
}
|