node_client

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcClient added in v0.10.2

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

func NewGrpcClient added in v0.10.2

func NewGrpcClient(t *testing.T, port string) *GrpcClient

func (*GrpcClient) GetAssetBalance added in v0.10.2

func (c *GrpcClient) GetAssetBalance(t *testing.T, address proto.WavesAddress, id []byte) *waves.Amount

func (*GrpcClient) GetHeight added in v0.10.2

func (c *GrpcClient) GetHeight(t *testing.T) *client.BlocksHeight

func (*GrpcClient) GetWavesBalance added in v0.10.2

func (c *GrpcClient) GetWavesBalance(t *testing.T, address proto.WavesAddress) *g.BalanceResponse_WavesBalances

type HttpClient added in v0.10.2

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

func NewHttpClient added in v0.10.2

func NewHttpClient(t *testing.T, port string) *HttpClient

func (*HttpClient) GetHeight added in v0.10.2

func (c *HttpClient) GetHeight(t *testing.T) *client.BlocksHeight

func (*HttpClient) PrintMsg added in v0.10.2

func (c *HttpClient) PrintMsg(t *testing.T, msg string)

func (*HttpClient) StateHash added in v0.10.2

func (c *HttpClient) StateHash(t *testing.T, height uint64) *proto.StateHash

func (*HttpClient) TransactionBroadcast added in v0.10.2

func (c *HttpClient) TransactionBroadcast(transaction proto.Transaction) (*client.Response, error)

func (*HttpClient) TransactionInfo added in v0.10.2

func (c *HttpClient) TransactionInfo(t *testing.T, ID crypto.Digest) proto.Transaction

func (*HttpClient) TransactionInfoRaw added in v0.10.2

func (c *HttpClient) TransactionInfoRaw(id crypto.Digest) (proto.Transaction, *client.Response, error)

type NodeClients added in v0.10.2

type NodeClients struct {
	HttpClient *HttpClient
	GrpcClient *GrpcClient
}

func NewNodeClient added in v0.10.2

func NewNodeClient(t *testing.T, httpPort string, grpcPort string) *NodeClients

type NodesClients added in v0.10.2

type NodesClients struct {
	GoClients    *NodeClients
	ScalaClients *NodeClients
}

func NewNodesClients added in v0.10.2

func NewNodesClients(t *testing.T, ports *d.Ports) *NodesClients

func (*NodesClients) SendEndMessage added in v0.10.2

func (c *NodesClients) SendEndMessage(t *testing.T)

func (*NodesClients) SendStartMessage added in v0.10.2

func (c *NodesClients) SendStartMessage(t *testing.T)

func (*NodesClients) StateHashCmp added in v0.10.2

func (c *NodesClients) StateHashCmp(t *testing.T, height uint64)

func (*NodesClients) WaitForNewHeight added in v0.10.2

func (c *NodesClients) WaitForNewHeight(t *testing.T) uint64

func (*NodesClients) WaitForTransaction added in v0.10.2

func (c *NodesClients) WaitForTransaction(id crypto.Digest, timeout time.Duration) (error, error)

Jump to

Keyboard shortcuts

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