Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestCfgKeys = []string{
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852094",
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852095",
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852096",
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852097",
}
View Source
var TestOCR2Config = OCR2Config{ F: 1, OnchainConfig: "", OffchainConfig: &OffchainConfig{ DeltaProgressNanoseconds: 150000000000, DeltaResendNanoseconds: 150000000000, DeltaRoundNanoseconds: 90000000000, DeltaGraceNanoseconds: 5000000000, DeltaStageNanoseconds: 30000000000, RMax: 5, S: []int{1, 1}, ReportingPluginConfig: &ReportingPluginConfig{ AlphaReportInfinite: false, AlphaReportPpb: 0, AlphaAcceptInfinite: false, AlphaAcceptPpb: 0, DeltaCNanoseconds: 1000000000, }, MaxDurationQueryNanoseconds: 2000000000, MaxDurationObservationNanoseconds: 1000000000, MaxDurationReportNanoseconds: 2000000000, MaxDurationShouldAcceptFinalizedReportNanoseconds: 2000000000, MaxDurationShouldTransmitAcceptedReportNanoseconds: 2000000000, }, OffchainConfigVersion: 2, Secret: "awe accuse polygon tonic depart acuity onyx inform bound gilbert expire", }
View Source
var TestOffKeys = []string{
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852090",
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852091",
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852092",
"af400004fa5d02cd5170b5261032e71f2847ead36159cf8dee68affc3c852093",
}
View Source
var TestOnKeys = []string{
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603730",
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603731",
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603732",
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603733",
}
View Source
var TestTxKeys = []string{
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603734",
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603735",
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603736",
"0x04cc1bfa99e282e434aef2815ca17337a923cd2c61cf0c7de5b326d7a8603737",
}
Functions ¶
This section is empty.
Types ¶
type OCR2Config ¶
type OCR2Config struct {
F int `json:"f"`
Signers []string `json:"signers"`
Transmitters []string `json:"transmitters"`
OnchainConfig string `json:"onchainConfig"`
OffchainConfig *OffchainConfig `json:"offchainConfig"`
OffchainConfigVersion int `json:"offchainConfigVersion"`
Secret string `json:"secret"`
}
OCR2Config Default config for OCR2 for starknet
type OffchainConfig ¶
type OffchainConfig struct {
DeltaProgressNanoseconds int64 `json:"deltaProgressNanoseconds"`
DeltaResendNanoseconds int64 `json:"deltaResendNanoseconds"`
DeltaRoundNanoseconds int64 `json:"deltaRoundNanoseconds"`
DeltaGraceNanoseconds int `json:"deltaGraceNanoseconds"`
DeltaStageNanoseconds int64 `json:"deltaStageNanoseconds"`
RMax int `json:"rMax"`
S []int `json:"s"`
OffchainPublicKeys []string `json:"offchainPublicKeys"`
PeerIDs []string `json:"peerIds"`
ReportingPluginConfig *ReportingPluginConfig `json:"reportingPluginConfig"`
MaxDurationQueryNanoseconds int `json:"maxDurationQueryNanoseconds"`
MaxDurationObservationNanoseconds int `json:"maxDurationObservationNanoseconds"`
MaxDurationReportNanoseconds int `json:"maxDurationReportNanoseconds"`
MaxDurationShouldAcceptFinalizedReportNanoseconds int `json:"maxDurationShouldAcceptFinalizedReportNanoseconds"`
MaxDurationShouldTransmitAcceptedReportNanoseconds int `json:"maxDurationShouldTransmitAcceptedReportNanoseconds"`
ConfigPublicKeys []string `json:"configPublicKeys"`
}
type ReportingPluginConfig ¶
Click to show internal directories.
Click to hide internal directories.