Documentation ¶
Index ¶
- func GetEVMEffectiveTransmitterID(jb *job.Job, chain legacyevm.Chain, lggr logger.SugaredLogger) (string, error)
- func NewDB(sqlxDB *sqlx.DB, oracleSpecID int32, pluginID int32, lggr logger.Logger, ...) *db
- type Delegate
- func (d *Delegate) AfterJobCreated(spec job.Job)
- func (d *Delegate) BeforeJobCreated(spec job.Job)
- func (d *Delegate) BeforeJobDeleted(spec job.Job)
- func (d *Delegate) JobType() job.Type
- func (d *Delegate) OnDeleteJob(jb job.Job, q pg.Queryer) error
- func (d *Delegate) ServicesForSpec(jb job.Job) ([]job.ServiceCtx, error)
- type DelegateConfig
- type ErrJobSpecNoRelayer
- type ErrRelayNotEnabled
- type RelayGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEVMEffectiveTransmitterID ¶ added in v2.4.0
Types ¶
type Delegate ¶
type Delegate struct { RelayGetter // contains filtered or unexported fields }
func NewDelegate ¶
func NewDelegate( db *sqlx.DB, jobORM job.ORM, bridgeORM bridges.ORM, mercuryORM evmmercury.ORM, pipelineRunner pipeline.Runner, peerWrapper *ocrcommon.SingletonPeerWrapper, monitoringEndpointGen telemetry.MonitoringEndpointGenerator, legacyChains legacyevm.LegacyChainContainer, lggr logger.Logger, cfg DelegateConfig, ks keystore.OCR2, dkgSignKs keystore.DKGSign, dkgEncryptKs keystore.DKGEncrypt, ethKs keystore.Eth, relayers RelayGetter, mailMon *mailbox.Monitor, ) *Delegate
func (*Delegate) AfterJobCreated ¶
func (*Delegate) BeforeJobCreated ¶
func (*Delegate) BeforeJobDeleted ¶
func (*Delegate) ServicesForSpec ¶
ServicesForSpec returns the OCR2 services that need to run for this job
type DelegateConfig ¶ added in v2.2.0
type DelegateConfig interface { plugins.RegistrarConfig OCR2() ocr2Config JobPipeline() jobPipelineConfig Database() pg.QConfig Insecure() insecureConfig Mercury() coreconfig.Mercury Threshold() coreconfig.Threshold }
func NewDelegateConfig ¶ added in v2.2.0
func NewDelegateConfig(ocr2Cfg ocr2Config, m coreconfig.Mercury, t coreconfig.Threshold, i insecureConfig, jp jobPipelineConfig, qconf pg.QConfig, pluginProcessCfg plugins.RegistrarConfig) DelegateConfig
type ErrJobSpecNoRelayer ¶ added in v2.5.0
func (ErrJobSpecNoRelayer) Error ¶ added in v2.8.0
func (e ErrJobSpecNoRelayer) Error() string
func (ErrJobSpecNoRelayer) Unwrap ¶ added in v2.8.0
func (e ErrJobSpecNoRelayer) Unwrap() error
type ErrRelayNotEnabled ¶ added in v2.8.0
func (ErrRelayNotEnabled) Error ¶ added in v2.8.0
func (e ErrRelayNotEnabled) Error() string
func (ErrRelayNotEnabled) Unwrap ¶ added in v2.8.0
func (e ErrRelayNotEnabled) Unwrap() error
Directories ¶
Path | Synopsis |
---|---|
promwrapper
promwrapper wraps another OCR2 reporting plugin and provides standardized prometheus metrics for each of the OCR2 phases (Query, Observation, Report, ShouldAcceptFinalizedReport, ShouldTransmitAcceptedReport, and Close).
|
promwrapper wraps another OCR2 reporting plugin and provides standardized prometheus metrics for each of the OCR2 phases (Query, Observation, Report, ShouldAcceptFinalizedReport, ShouldTransmitAcceptedReport, and Close). |
Click to show internal directories.
Click to hide internal directories.