mempool: drop TxWithFee type
All the fees are in transaction, this makes no sense.
This commit is contained in:
parent
a986e2a064
commit
63f4f34659
8 changed files with 24 additions and 34 deletions
|
@ -14,7 +14,7 @@ import (
|
|||
// Blockchainer is an interface that abstract the implementation
|
||||
// of the blockchain.
|
||||
type Blockchainer interface {
|
||||
ApplyPolicyToTxSet([]mempool.TxWithFee) []mempool.TxWithFee
|
||||
ApplyPolicyToTxSet([]*transaction.Transaction) []*transaction.Transaction
|
||||
GetConfig() config.ProtocolConfiguration
|
||||
AddHeaders(...*block.Header) error
|
||||
AddBlock(*block.Block) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue