remote

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	*remote.Source
	// contains filtered or unexported fields
}

Source implements rarimocoresource.Source using a remote node

func NewSource

func NewSource(source *remote.Source, rarimocoreClient rarimocoretypes.QueryClient) *Source

NewSource returns a new Source implementation

func (Source) Confirmation

func (s Source) Confirmation(height int64, root string) (rarimocoretypes.Confirmation, error)

Confirmation implements rarimocoresource.Source

func (Source) Operation

func (s Source) Operation(height int64, index string) (rarimocoretypes.Operation, error)

Operation implements rarimocoresource.Source

func (Source) Params

func (s Source) Params(height int64) (rarimocoretypes.Params, error)

Params implements rarimocoresource.Source

func (Source) ViolationReport

func (s Source) ViolationReport(height int64, sessionId, offender, sender string, violationType rarimocoretypes.ViolationType) (rarimocoretypes.ViolationReport, error)

ViolationReport implements rarimocoresource.Source

Jump to

Keyboard shortcuts

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