Documentation ¶
Index ¶
- type TxGasHandler
- type TxGasHandlerMock
- func (ghm *TxGasHandlerMock) GasPriceForMove(tx data.TransactionWithFeeHandler) uint64
- func (ghm *TxGasHandlerMock) GasPriceForProcessing(tx data.TransactionWithFeeHandler) uint64
- func (ghm *TxGasHandlerMock) IsInterfaceNil() bool
- func (ghm *TxGasHandlerMock) MinGasLimit() uint64
- func (ghm *TxGasHandlerMock) MinGasPrice() uint64
- func (ghm *TxGasHandlerMock) MinGasPriceForProcessing() uint64
- func (ghm *TxGasHandlerMock) SplitTxGasInCategories(tx data.TransactionWithFeeHandler) (uint64, uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxGasHandler ¶
type TxGasHandler interface { SplitTxGasInCategories(tx data.TransactionWithFeeHandler) (uint64, uint64) GasPriceForProcessing(tx data.TransactionWithFeeHandler) uint64 GasPriceForMove(tx data.TransactionWithFeeHandler) uint64 MinGasPrice() uint64 MinGasLimit() uint64 MinGasPriceForProcessing() uint64 IsInterfaceNil() bool }
TxGasHandler -
type TxGasHandlerMock ¶
type TxGasHandlerMock struct { MinimumGasMove uint64 MinimumGasPrice uint64 GasProcessingDivisor uint64 }
TxGasHandlerMock -
func (*TxGasHandlerMock) GasPriceForMove ¶
func (ghm *TxGasHandlerMock) GasPriceForMove(tx data.TransactionWithFeeHandler) uint64
GasPriceForMove -
func (*TxGasHandlerMock) GasPriceForProcessing ¶
func (ghm *TxGasHandlerMock) GasPriceForProcessing(tx data.TransactionWithFeeHandler) uint64
GasPriceForProcessing -
func (*TxGasHandlerMock) IsInterfaceNil ¶
func (ghm *TxGasHandlerMock) IsInterfaceNil() bool
IsInterfaceNil -
func (*TxGasHandlerMock) MinGasLimit ¶
func (ghm *TxGasHandlerMock) MinGasLimit() uint64
MinGasLimit -
func (*TxGasHandlerMock) MinGasPrice ¶
func (ghm *TxGasHandlerMock) MinGasPrice() uint64
MinGasPrice -
func (*TxGasHandlerMock) MinGasPriceForProcessing ¶
func (ghm *TxGasHandlerMock) MinGasPriceForProcessing() uint64
MinGasPriceForProcessing -
func (*TxGasHandlerMock) SplitTxGasInCategories ¶
func (ghm *TxGasHandlerMock) SplitTxGasInCategories(tx data.TransactionWithFeeHandler) (uint64, uint64)
SplitTxGasInCategories -
Click to show internal directories.
Click to hide internal directories.