Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HexBytes ¶
type HexBytes []byte
func (HexBytes) MarshalBSONValue ¶
func (HexBytes) MarshalJSON ¶
type JobContractConfig ¶
type JobContractConfig struct { ObjectID primitive.ObjectID `json:"-" bson:"_id,omitempty"` JobID ID `json:"jobId" bson:"jobId"` ConfigDigest ID `json:"configDigest" bson:"configDigest"` ConfigCount uint64 `json:"configCount" bson:"configCount"` Signers []HexBytes `json:"signers" bson:"signers"` Transmitters []Account `json:"transmitters" bson:"transmitters"` F uint8 `json:"f" bson:"f"` OnchainConfig HexBytes `json:"onchainConfig" bson:"onchainConfig"` OffchainConfigVersion uint64 `json:"offchainConfigVersion" bson:"offchainConfigVersion"` OffchainConfig []byte `json:"offchainConfig" bson:"offchainConfig"` }
type JobPeerAnnouncement ¶
type JobPendingTransmission ¶
type JobPendingTransmission struct { ObjectID primitive.ObjectID `json:"-" bson:"_id,omitempty"` JobID ID `json:"jobId" bson:"jobId"` ConfigDigest ID `json:"configDigest" bson:"configDigest"` ReportTimestamp ReportTimestamp `json:"reportTimestamp" bson:"reportTimestamp"` Transmission PendingTransmission `json:"tx" bson:"tx"` CreatedAt time.Time `json:"createdAt" bson:"createdAt"` }
type JobPersistentState ¶
type JobPersistentState struct { ObjectID primitive.ObjectID `json:"-" bson:"_id,omitempty"` JobID ID `json:"jobId" bson:"jobId"` ConfigDigest ID `json:"configDigest" bson:"configDigest"` Epoch uint32 `json:"epoch" bson:"epoch"` HighestSentEpoch uint32 `json:"highestSentEpoch" bson:"highestSentEpoch"` HighestReceivedEpoch []uint32 `json:"highestReceivedEpoch" bson:"highestReceivedEpoch"` }
type JobSpec ¶
type JobSpec struct { IsBootstrapPeer bool `json:"isBootstrapPeer" bson:"isBootstrapPeer"` FeedID ID `json:"feedId" bson:"feedId"` KeyID ID `json:"keyId" bson:"keyId"` P2PBootstrapPeers []string `json:"p2pBootstrapPeers" bson:"p2pBootstrapPeers"` ContractConfigConfirmations int `json:"contractConfigConfirmations" bson:"contractConfigConfirmations"` ContractConfigTrackerSubscribeInterval string `json:"contractConfigTrackerSubscribeInterval" bson:"contractConfigTrackerSubscribeInterval"` ObservationTimeout string `json:"observationTimeout" bson:"observationTimeout"` BlockchainTimeout string `json:"blockchainTimeout" bson:"blockchainTimeout"` }
type PendingTransmission ¶
type PendingTransmission struct { Time time.Time `json:"time" bson:"time"` ExtraHash HexBytes `json:"extraHash" bson:"extraHash"` Report HexBytes `json:"report" bson:"report"` AttributedSignatures []AttributedOnchainSignature `json:"signatures" bson:"signatures"` }
type ReportTimestamp ¶
Click to show internal directories.
Click to hide internal directories.