src

package
v1.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteJobsCommand

func NewDeleteJobsCommand() *deleteJobs

func NewDeployJobSpecsCommand

func NewDeployJobSpecsCommand() *deployJobSpecs

func NewGenerateJobSpecsCommand

func NewGenerateJobSpecsCommand() *generateJobSpecs

func NewGenerateOCR2ConfigCommand

func NewGenerateOCR2ConfigCommand() *generateOCR2Config

Types

type BootSpec added in v1.13.0

type BootSpec struct {
	ContractID string
}

type JobSpec

type JobSpec struct {
	Id                           string
	Name                         string
	BootstrapSpec                BootSpec
	OffChainReporting2OracleSpec OCRSpec
}

type NodeKeys added in v1.13.0

type NodeKeys struct {
	EthAddress            string
	P2PPeerID             string // p2p_<key>
	OCR2BundleID          string // used only in job spec
	OCR2OnchainPublicKey  string // ocr2on_evm_<key>
	OCR2OffchainPublicKey string // ocr2off_evm_<key>
	OCR2ConfigPublicKey   string // ocr2cfg_evm_<key>
}

type OCRSpec

type OCRSpec struct {
	ContractID string
}

type OracleConfigSource added in v1.13.0

type OracleConfigSource struct {
	MaxQueryLengthBytes       uint32
	MaxObservationLengthBytes uint32
	MaxReportLengthBytes      uint32
	MaxRequestBatchSize       uint32
	DefaultAggregationMethod  int32
	UniqueReports             bool

	DeltaProgressMillis  uint32
	DeltaResendMillis    uint32
	DeltaRoundMillis     uint32
	DeltaGraceMillis     uint32
	DeltaStageMillis     uint32
	MaxRoundsPerEpoch    uint8
	TransmissionSchedule []int

	MaxDurationQueryMillis       uint32
	MaxDurationObservationMillis uint32
	MaxDurationReportMillis      uint32
	MaxDurationAcceptMillis      uint32
	MaxDurationTransmitMillis    uint32

	MaxFaultyOracles int
}

type TopLevelConfigSource added in v1.13.0

type TopLevelConfigSource struct {
	OracleConfig OracleConfigSource
}

NOTE: Field names need to match what's in the JSON input file (see sample_config.json)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL