Documentation
¶
Index ¶
- type Parameter
- func WithBlockMEVsSetter(setter execdb.BlockMEVsSetter) Parameter
- func WithBlocksProvider(provider execdb.BlocksProvider) Parameter
- func WithInterval(interval time.Duration) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithProcessConcurrency(concurrency int64) Parameter
- func WithScheduler(scheduler scheduler.Service) Parameter
- func WithStartHeight(startHeight int64) Parameter
- func WithTransactionStateDiffsProvider(provider execdb.TransactionStateDiffsProvider) Parameter
- func WithTransactionsProvider(provider execdb.TransactionsProvider) Parameter
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithBlockMEVsSetter ¶
func WithBlockMEVsSetter(setter execdb.BlockMEVsSetter) Parameter
WithBlockMEVsSetter sets the block MEV setter for this module.
func WithBlocksProvider ¶
func WithBlocksProvider(provider execdb.BlocksProvider) Parameter
WithBlocksProvider sets the blocks provider for this module.
func WithInterval ¶
WithInterval sets the interval between updates.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for the module.
func WithProcessConcurrency ¶
WithProcessConcurrency sets the concurrency for the service.
func WithScheduler ¶
WithScheduler sets the scheduler for the module.
func WithStartHeight ¶
WithStartHeight sets the start height for this module.
func WithTransactionStateDiffsProvider ¶
func WithTransactionStateDiffsProvider(provider execdb.TransactionStateDiffsProvider) Parameter
WithTransactionStateDiffsProvider sets the transaction sate diffs provider for this module.
func WithTransactionsProvider ¶
func WithTransactionsProvider(provider execdb.TransactionsProvider) Parameter
WithTransactionsProvider sets the transactions provider for this module.