adapters

package
v0.0.0-...-589da53 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 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 GRPCAdapter

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

func NewGRPCAdapter

func NewGRPCAdapter(host string) (*GRPCAdapter, error)

func (*GRPCAdapter) CheckTransaction

func (*GRPCAdapter) Host

func (c *GRPCAdapter) Host() string

func (*GRPCAdapter) LastBlock

func (c *GRPCAdapter) LastBlock(ctx context.Context) (nodetypes.LastBlock, error)

func (*GRPCAdapter) SpamStatistics

func (c *GRPCAdapter) SpamStatistics(ctx context.Context, party string) (nodetypes.SpamStatistics, error)

func (*GRPCAdapter) Statistics

func (c *GRPCAdapter) Statistics(ctx context.Context) (nodetypes.Statistics, error)

func (*GRPCAdapter) Stop

func (c *GRPCAdapter) Stop() error

func (*GRPCAdapter) SubmitTransaction

Jump to

Keyboard shortcuts

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