rpctest

package
v0.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2017 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *cfg.Config

GetConfig returns a config for the test cases as a singleton

func GetGRPCClient

func GetGRPCClient() core_grpc.BroadcastAPIClient

func GetJSONClient added in v0.9.0

func GetJSONClient() *client.JSONRPCClient

GetJSONClient gets a http/json client pointing to the test tendermint rpc

func GetURIClient added in v0.9.0

func GetURIClient() *client.URIClient

GetURIClient gets a uri client pointing to the test tendermint rpc

func GetWSClient added in v0.9.0

func GetWSClient() *client.WSClient

func NewTendermint

func NewTendermint(app abci.Application) *nm.Node

NewTendermint creates a new tendermint server and sleeps forever

func StartTendermint

func StartTendermint(app abci.Application) *nm.Node

StartTendermint starts a test tendermint server in a go routine and returns when it is initialized

Types

This section is empty.

Jump to

Keyboard shortcuts

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