heimdallgrpc

package
v0.0.0-...-11d2657 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeimdallGRPCClient

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

func NewHeimdallGRPCClient

func NewHeimdallGRPCClient(address string) *HeimdallGRPCClient

func (*HeimdallGRPCClient) Close

func (h *HeimdallGRPCClient) Close()

func (*HeimdallGRPCClient) FetchCheckpoint

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

func (*HeimdallGRPCClient) FetchCheckpointCount

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

func (*HeimdallGRPCClient) FetchLastNoAckMilestone

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

func (*HeimdallGRPCClient) FetchMilestone

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

func (*HeimdallGRPCClient) FetchMilestoneCount

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

func (*HeimdallGRPCClient) FetchMilestoneID

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

func (*HeimdallGRPCClient) FetchNoAckMilestone

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

func (*HeimdallGRPCClient) Span

func (h *HeimdallGRPCClient) Span(ctx context.Context, spanID uint64) (*span.HeimdallSpan, error)

func (*HeimdallGRPCClient) StateSyncEvents

func (h *HeimdallGRPCClient) 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