mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 13:58:05 +00:00
15 lines
428 B
Go
15 lines
428 B
Go
|
package core
|
||
|
|
||
|
import (
|
||
|
"github.com/CityOfZion/neo-go/pkg/core/transaction"
|
||
|
"github.com/CityOfZion/neo-go/pkg/util"
|
||
|
)
|
||
|
|
||
|
// Feer is an interface that abstract the implementation of the fee calculation.
|
||
|
type Feer interface {
|
||
|
NetworkFee(t *transaction.Transaction) util.Fixed8
|
||
|
IsLowPriority(t *transaction.Transaction) bool
|
||
|
FeePerByte(t *transaction.Transaction) util.Fixed8
|
||
|
SystemFee(t *transaction.Transaction) util.Fixed8
|
||
|
}
|