Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMedianServices ¶
func NewMedianServices(ctx context.Context, jb job.Job, isNewlyCreatedJob bool, relayer loop.Relayer, pipelineRunner pipeline.Runner, lggr logger.Logger, argsNoPlugin libocr.OCR2OracleArgs, cfg MedianConfig, chEnhancedTelem chan ocrcommon.EnhancedTelemetryData, errorLog loop.ErrorLog, ) (srvs []job.ServiceCtx, err error)
Types ¶
type MedianConfig ¶
type MedianConfig interface { JobPipelineMaxSuccessfulRuns() uint64 JobPipelineResultWriteQueueDepth() uint64 plugins.RegistrarConfig }
func NewMedianConfig ¶ added in v2.2.0
func NewMedianConfig(jobPipelineMaxSuccessfulRuns uint64, jobPipelineResultWriteQueueDepth uint64, pluginProcessCfg plugins.RegistrarConfig) MedianConfig
type Plugin ¶ added in v2.2.0
func (*Plugin) NewMedianFactory ¶ added in v2.2.0
func (p *Plugin) NewMedianFactory(ctx context.Context, provider types.MedianProvider, dataSource, juelsPerFeeCoin median.DataSource, errorLog loop.ErrorLog) (loop.ReportingPluginFactory, error)
Click to show internal directories.
Click to hide internal directories.