transmitter

package
v0.1.15-0...-5f9f748 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 14 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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