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) EthTxReaperInterval() time.Duration
- func (_m *Config) EthTxReaperThreshold() time.Duration
- func (_m *Config) EthTxResendAfterThreshold() time.Duration
- func (_m *Config) EvmFinalityDepth() uint
- func (_m *Config) EvmGasBumpPercent() uint16
- func (_m *Config) EvmGasBumpThreshold() uint64
- func (_m *Config) EvmGasBumpTxDepth() uint16
- func (_m *Config) EvmGasBumpWei() *big.Int
- func (_m *Config) EvmGasLimitDefault() uint64
- func (_m *Config) EvmGasLimitMultiplier() float32
- func (_m *Config) EvmGasPriceDefault() *big.Int
- func (_m *Config) EvmMaxGasPriceWei() *big.Int
- func (_m *Config) EvmMaxInFlightTransactions() uint32
- func (_m *Config) EvmMaxQueuedTransactions() uint64
- func (_m *Config) EvmMinGasPriceWei() *big.Int
- func (_m *Config) EvmNonceAutoSync() bool
- func (_m *Config) EvmRPCDefaultBatchSize() uint32
- func (_m *Config) GasEstimatorMode() string
- func (_m *Config) TriggerFallbackDBPollInterval() time.Duration
- type ReaperConfig
- type TxManager
- func (_m *TxManager) Close() error
- func (_m *TxManager) CreateEthTransaction(db *gorm.DB, newTx bulletprooftxmanager.NewTx) (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) RegisterResumeCallback(fn func(uuid.UUID, interface{}) 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) 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) EvmFinalityDepth ¶ added in v1.0.0
EvmFinalityDepth provides a mock function with given fields:
func (*Config) EvmGasBumpPercent ¶ added in v1.0.0
EvmGasBumpPercent provides a mock function with given fields:
func (*Config) EvmGasBumpThreshold ¶ added in v1.0.0
EvmGasBumpThreshold provides a mock function with given fields:
func (*Config) EvmGasBumpTxDepth ¶ added in v1.0.0
EvmGasBumpTxDepth provides a mock function with given fields:
func (*Config) EvmGasBumpWei ¶ added in v1.0.0
EvmGasBumpWei provides a mock function with given fields:
func (*Config) EvmGasLimitDefault ¶ added in v1.0.0
EvmGasLimitDefault provides a mock function with given fields:
func (*Config) EvmGasLimitMultiplier ¶ added in v1.0.0
EvmGasLimitMultiplier provides a mock function with given fields:
func (*Config) EvmGasPriceDefault ¶ added in v1.0.0
EvmGasPriceDefault provides a mock function with given fields:
func (*Config) EvmMaxGasPriceWei ¶ added in v1.0.0
EvmMaxGasPriceWei provides a mock function with given fields:
func (*Config) EvmMaxInFlightTransactions ¶ added in v1.0.0
EvmMaxInFlightTransactions provides a mock function with given fields:
func (*Config) EvmMaxQueuedTransactions ¶ added in v1.0.0
EvmMaxQueuedTransactions provides a mock function with given fields:
func (*Config) EvmMinGasPriceWei ¶ added in v1.0.0
EvmMinGasPriceWei provides a mock function with given fields:
func (*Config) EvmNonceAutoSync ¶ added in v1.0.0
EvmNonceAutoSync provides a mock function with given fields:
func (*Config) EvmRPCDefaultBatchSize ¶ added in v1.0.0
EvmRPCDefaultBatchSize 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) 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:
func (*ReaperConfig) EvmFinalityDepth ¶ added in v1.0.0
func (_m *ReaperConfig) EvmFinalityDepth() uint
EvmFinalityDepth 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) CreateEthTransaction ¶ added in v0.10.8
func (_m *TxManager) CreateEthTransaction(db *gorm.DB, newTx bulletprooftxmanager.NewTx) (bulletprooftxmanager.EthTx, error)
CreateEthTransaction provides a mock function with given fields: db, newTx
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
func (*TxManager) RegisterResumeCallback ¶ added in v1.0.0
RegisterResumeCallback provides a mock function with given fields: fn
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: