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 ¶ added in v0.10.8
Config is an autogenerated mock type for the Config type
func (*Config) BlockHistoryEstimatorBatchSize ¶ added in v0.10.10
BlockHistoryEstimatorBatchSize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockDelay ¶ added in v0.10.10
BlockHistoryEstimatorBlockDelay provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockHistorySize ¶ added in v0.10.10
BlockHistoryEstimatorBlockHistorySize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorTransactionPercentile ¶ added in v0.10.10
BlockHistoryEstimatorTransactionPercentile provides a mock function with given fields:
func (*Config) EthFinalityDepth ¶ added in v0.10.8
EthFinalityDepth provides a mock function with given fields:
func (*Config) EthGasBumpPercent ¶ added in v0.10.8
EthGasBumpPercent provides a mock function with given fields:
func (*Config) EthGasBumpThreshold ¶ added in v0.10.8
EthGasBumpThreshold provides a mock function with given fields:
func (*Config) EthGasBumpTxDepth ¶ added in v0.10.8
EthGasBumpTxDepth provides a mock function with given fields:
func (*Config) EthGasBumpWei ¶ added in v0.10.8
EthGasBumpWei provides a mock function with given fields:
func (*Config) EthGasLimitDefault ¶ added in v0.10.8
EthGasLimitDefault provides a mock function with given fields:
func (*Config) EthGasLimitMultiplier ¶ added in v0.10.8
EthGasLimitMultiplier provides a mock function with given fields:
func (*Config) EthGasPriceDefault ¶ added in v0.10.8
EthGasPriceDefault provides a mock function with given fields:
func (*Config) EthMaxGasPriceWei ¶ added in v0.10.8
EthMaxGasPriceWei provides a mock function with given fields:
func (*Config) EthMaxInFlightTransactions ¶ added in v0.10.8
EthMaxInFlightTransactions provides a mock function with given fields:
func (*Config) EthMaxQueuedTransactions ¶ added in v0.10.8
EthMaxQueuedTransactions provides a mock function with given fields:
func (*Config) EthMinGasPriceWei ¶ added in v0.10.10
EthMinGasPriceWei provides a mock function with given fields:
func (*Config) EthNonceAutoSync ¶ added in v0.10.8
EthNonceAutoSync provides a mock function with given fields:
func (*Config) EthRPCDefaultBatchSize ¶ added in v0.10.8
EthRPCDefaultBatchSize provides a mock function with given fields:
func (*Config) EthTxReaperInterval ¶ added in v0.10.8
EthTxReaperInterval provides a mock function with given fields:
func (*Config) EthTxReaperThreshold ¶ added in v0.10.8
EthTxReaperThreshold provides a mock function with given fields:
func (*Config) EthTxResendAfterThreshold ¶ added in v0.10.8
EthTxResendAfterThreshold provides a mock function with given fields:
func (*Config) GasEstimatorMode ¶ added in v0.10.10
GasEstimatorMode provides a mock function with given fields:
func (*Config) TriggerFallbackDBPollInterval ¶ added in v0.10.8
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 ¶ added in v0.10.8
TxManager is an autogenerated mock type for the TxManager type
func (*TxManager) Connect ¶ added in v0.10.8
Connect provides a mock function with given fields: head
func (*TxManager) CreateEthTransaction ¶ added in v0.10.8
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 ¶ added in v0.10.10
GetGasEstimator provides a mock function with given fields:
func (*TxManager) OnNewLongestChain ¶ added in v0.10.8
OnNewLongestChain provides a mock function with given fields: ctx, head
type TxStrategy ¶ added in v0.10.9
TxStrategy is an autogenerated mock type for the TxStrategy type
func (*TxStrategy) PruneQueue ¶ added in v0.10.9
func (_m *TxStrategy) PruneQueue(tx *gorm.DB) (int64, error)
PruneQueue provides a mock function with given fields: tx
func (*TxStrategy) Subject ¶ added in v0.10.9
func (_m *TxStrategy) Subject() uuid.NullUUID
Subject provides a mock function with given fields: