irisgrpc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IrisGRPCClient

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

func NewIrisGRPCClient

func NewIrisGRPCClient(address string) *IrisGRPCClient

func (*IrisGRPCClient) Close

func (h *IrisGRPCClient) Close()

func (*IrisGRPCClient) FetchCheckpoint

func (h *IrisGRPCClient) FetchCheckpoint(ctx context.Context, number int64) (*checkpoint.Checkpoint, error)

func (*IrisGRPCClient) FetchCheckpointCount

func (h *IrisGRPCClient) FetchCheckpointCount(ctx context.Context) (int64, error)

func (*IrisGRPCClient) FetchLastNoAckMilestone

func (h *IrisGRPCClient) FetchLastNoAckMilestone(ctx context.Context) (string, error)

func (*IrisGRPCClient) FetchMilestone

func (h *IrisGRPCClient) FetchMilestone(ctx context.Context) (*milestone.Milestone, error)

func (*IrisGRPCClient) FetchMilestoneCount

func (h *IrisGRPCClient) FetchMilestoneCount(ctx context.Context) (int64, error)

func (*IrisGRPCClient) FetchMilestoneID

func (h *IrisGRPCClient) FetchMilestoneID(ctx context.Context, milestoneID string) error

func (*IrisGRPCClient) FetchNoAckMilestone

func (h *IrisGRPCClient) FetchNoAckMilestone(ctx context.Context, milestoneID string) error

func (*IrisGRPCClient) Span

func (h *IrisGRPCClient) Span(ctx context.Context, spanID uint64) (*span.IrisSpan, error)

func (*IrisGRPCClient) StateSyncEvents

func (h *IrisGRPCClient) StateSyncEvents(ctx context.Context, fromID uint64, to int64) ([]*clerk.EventRecordWithTime, error)

Jump to

Keyboard shortcuts

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