Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Mercury server error codes
DuplicateReport = 2
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransmitNotifier ¶
type TransmitNotifier interface {
OnTransmit(listen func(digest types.ConfigDigest, seqNr uint64))
}
type Transmitter ¶
type Transmitter interface {
llotypes.Transmitter
services.Service
}
func NewTransmitter ¶
func NewTransmitter(opts TransmitterOpts) (Transmitter, error)
The transmitter will handle starting and stopping the subtransmitters
type TransmitterOpts ¶
type TransmitterOpts struct {
Lggr logger.Logger
DonID uint32
VerboseLogging bool
FromAccount string
MercuryTransmitterOpts *mercurytransmitter.Opts
Subtransmitters []config.TransmitterConfig
RetirementReportCache TransmitterRetirementReportCacheWriter
CapabilitiesRegistry coretypes.CapabilitiesRegistry
}
type TransmitterRetirementReportCacheWriter ¶
type TransmitterRetirementReportCacheWriter interface {
StoreAttestedRetirementReport(ctx context.Context, cd ocrtypes.ConfigDigest, seqNr uint64, retirementReport []byte, sigs []types.AttributedOnchainSignature) error
}
Click to show internal directories.
Click to hide internal directories.