Documentation
¶
Index ¶
- type Config
- func (_m *Config) BlockHistoryEstimatorBatchSize() uint32
- func (_m *Config) BlockHistoryEstimatorBlockDelay() uint16
- func (_m *Config) BlockHistoryEstimatorBlockHistorySize() uint16
- func (_m *Config) BlockHistoryEstimatorTransactionPercentile() uint16
- func (_m *Config) ChainID() *big.Int
- func (_m *Config) EthFinalityDepth() uint
- func (_m *Config) EthGasBumpPercent() uint16
- func (_m *Config) EthGasBumpThreshold() uint64
- func (_m *Config) EthGasBumpTxDepth() uint16
- func (_m *Config) EthGasBumpWei() *big.Int
- func (_m *Config) EthGasLimitDefault() uint64
- func (_m *Config) EthGasLimitMultiplier() float32
- func (_m *Config) EthGasPriceDefault() *big.Int
- func (_m *Config) EthMaxGasPriceWei() *big.Int
- func (_m *Config) EthMaxInFlightTransactions() uint32
- func (_m *Config) EthMaxQueuedTransactions() uint64
- func (_m *Config) EthMinGasPriceWei() *big.Int
- func (_m *Config) EthNonceAutoSync() bool
- func (_m *Config) EthRPCDefaultBatchSize() uint32
- func (_m *Config) EthTxReaperInterval() time.Duration
- func (_m *Config) EthTxReaperThreshold() time.Duration
- func (_m *Config) EthTxResendAfterThreshold() time.Duration
- func (_m *Config) GasEstimatorMode() string
- func (_m *Config) TriggerFallbackDBPollInterval() time.Duration
- type ReaperConfig
- type TxManager
- func (_m *TxManager) Close() error
- func (_m *TxManager) Connect(head *models.Head) error
- func (_m *TxManager) CreateEthTransaction(db *gorm.DB, fromAddress common.Address, toAddress common.Address, ...) (bulletprooftxmanager.EthTx, error)
- func (_m *TxManager) GetGasEstimator() gas.Estimator
- func (_m *TxManager) Healthy() error
- func (_m *TxManager) OnNewLongestChain(ctx context.Context, head models.Head)
- func (_m *TxManager) Ready() error
- func (_m *TxManager) Start() error
- func (_m *TxManager) Trigger(addr common.Address)
- type TxStrategy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is an autogenerated mock type for the Config type
func (*Config) BlockHistoryEstimatorBatchSize ¶
BlockHistoryEstimatorBatchSize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockDelay ¶
BlockHistoryEstimatorBlockDelay provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockHistorySize ¶
BlockHistoryEstimatorBlockHistorySize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorTransactionPercentile ¶
BlockHistoryEstimatorTransactionPercentile provides a mock function with given fields:
func (*Config) EthFinalityDepth ¶
EthFinalityDepth provides a mock function with given fields:
func (*Config) EthGasBumpPercent ¶
EthGasBumpPercent provides a mock function with given fields:
func (*Config) EthGasBumpThreshold ¶
EthGasBumpThreshold provides a mock function with given fields:
func (*Config) EthGasBumpTxDepth ¶
EthGasBumpTxDepth provides a mock function with given fields:
func (*Config) EthGasBumpWei ¶
EthGasBumpWei provides a mock function with given fields:
func (*Config) EthGasLimitDefault ¶
EthGasLimitDefault provides a mock function with given fields:
func (*Config) EthGasLimitMultiplier ¶
EthGasLimitMultiplier provides a mock function with given fields:
func (*Config) EthGasPriceDefault ¶
EthGasPriceDefault provides a mock function with given fields:
func (*Config) EthMaxGasPriceWei ¶
EthMaxGasPriceWei provides a mock function with given fields:
func (*Config) EthMaxInFlightTransactions ¶
EthMaxInFlightTransactions provides a mock function with given fields:
func (*Config) EthMaxQueuedTransactions ¶
EthMaxQueuedTransactions provides a mock function with given fields:
func (*Config) EthMinGasPriceWei ¶
EthMinGasPriceWei provides a mock function with given fields:
func (*Config) EthNonceAutoSync ¶
EthNonceAutoSync provides a mock function with given fields:
func (*Config) EthRPCDefaultBatchSize ¶
EthRPCDefaultBatchSize provides a mock function with given fields:
func (*Config) EthTxReaperInterval ¶
EthTxReaperInterval provides a mock function with given fields:
func (*Config) EthTxReaperThreshold ¶
EthTxReaperThreshold provides a mock function with given fields:
func (*Config) EthTxResendAfterThreshold ¶
EthTxResendAfterThreshold provides a mock function with given fields:
func (*Config) GasEstimatorMode ¶
GasEstimatorMode provides a mock function with given fields:
func (*Config) TriggerFallbackDBPollInterval ¶
TriggerFallbackDBPollInterval provides a mock function with given fields:
type ReaperConfig ¶
ReaperConfig is an autogenerated mock type for the ReaperConfig type
func (*ReaperConfig) EthFinalityDepth ¶
func (_m *ReaperConfig) EthFinalityDepth() uint
EthFinalityDepth provides a mock function with given fields:
func (*ReaperConfig) EthTxReaperInterval ¶
func (_m *ReaperConfig) EthTxReaperInterval() time.Duration
EthTxReaperInterval provides a mock function with given fields:
func (*ReaperConfig) EthTxReaperThreshold ¶
func (_m *ReaperConfig) EthTxReaperThreshold() time.Duration
EthTxReaperThreshold provides a mock function with given fields:
type TxManager ¶
TxManager is an autogenerated mock type for the TxManager type
func (*TxManager) CreateEthTransaction ¶
func (_m *TxManager) CreateEthTransaction(db *gorm.DB, fromAddress common.Address, toAddress common.Address, payload []byte, gasLimit uint64, meta interface{}, strategy bulletprooftxmanager.TxStrategy) (bulletprooftxmanager.EthTx, error)
CreateEthTransaction provides a mock function with given fields: db, fromAddress, toAddress, payload, gasLimit, meta, strategy
func (*TxManager) GetGasEstimator ¶
GetGasEstimator provides a mock function with given fields:
func (*TxManager) OnNewLongestChain ¶
OnNewLongestChain provides a mock function with given fields: ctx, head
type TxStrategy ¶
TxStrategy is an autogenerated mock type for the TxStrategy type
func (*TxStrategy) PruneQueue ¶
func (_m *TxStrategy) PruneQueue(tx *gorm.DB) (int64, error)
PruneQueue provides a mock function with given fields: tx
func (*TxStrategy) Subject ¶
func (_m *TxStrategy) Subject() uuid.NullUUID
Subject provides a mock function with given fields: