node_client

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 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 Client

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

func GoNodeClient

func GoNodeClient(t *testing.T) *Client

func ScalaNodeClient

func ScalaNodeClient(t *testing.T) *Client

func (*Client) GetHeight

func (c *Client) GetHeight(t *testing.T, ctx context.Context) *client.BlocksHeight

func (*Client) PrintMsg

func (c *Client) PrintMsg(t *testing.T, ctx context.Context, msg string)

func (*Client) StateHash

func (c *Client) StateHash(t *testing.T, ctx context.Context, height uint64) *proto.StateHash

func (*Client) TransactionInfo

func (c *Client) TransactionInfo(t *testing.T, ctx context.Context, ID crypto.Digest) proto.Transaction

func (*Client) TransactionInfoRaw

func (c *Client) TransactionInfoRaw(ctx context.Context, ID crypto.Digest) (proto.Transaction, *client.Response, error)

Jump to

Keyboard shortcuts

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