v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceClient

type DataSourceClient struct {
	// contains filtered or unexported fields
}

func NewDataSourceClient

func NewDataSourceClient(cc grpc.ClientConnInterface) *DataSourceClient

func (*DataSourceClient) Observe

func (d *DataSourceClient) Observe(ctx context.Context, timestamp ocr2plus_types.ReportTimestamp, fetchMaxFinalizedTimestamp bool) (v1.Observation, error)

type DataSourceServer

type DataSourceServer struct {
	mercury_v1_pb.UnimplementedDataSourceServer
	// contains filtered or unexported fields
}

func NewDataSourceServer

func NewDataSourceServer(impl v1.DataSource) *DataSourceServer

func (*DataSourceServer) Observe

type ReportCodecClient

type ReportCodecClient struct {
	// contains filtered or unexported fields
}

func NewReportCodecClient

func NewReportCodecClient(cc grpc.ClientConnInterface) *ReportCodecClient

func (*ReportCodecClient) BuildReport

func (*ReportCodecClient) CurrentBlockNumFromReport

func (r *ReportCodecClient) CurrentBlockNumFromReport(report ocr2plus_types.Report) (int64, error)

func (*ReportCodecClient) MaxReportLength

func (r *ReportCodecClient) MaxReportLength(n int) (int, error)

type ReportCodecServer

type ReportCodecServer struct {
	mercury_v1_pb.UnimplementedReportCodecServer
	// contains filtered or unexported fields
}

func NewReportCodecServer

func NewReportCodecServer(impl mercury_v1_types.ReportCodec) *ReportCodecServer

func (*ReportCodecServer) BuildReport

func (*ReportCodecServer) MaxReportLength

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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