Documentation
¶
Index ¶
- func GetConfig(forceCreate ...bool) *cfg.Config
- func GetGRPCClient() core_grpc.BroadcastAPIClient
- func Newtendermint(app abci.Application, opts *Options) *nm.Node
- func RecreateConfig(o *Options)
- func Starttendermint(app abci.Application, opts ...func(*Options)) *nm.Node
- func Stoptendermint(node *nm.Node)
- func SuppressStdout(o *Options)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGRPCClient ¶
func GetGRPCClient() core_grpc.BroadcastAPIClient
func Newtendermint ¶
func Newtendermint(app abci.Application, opts *Options) *nm.Node
Newtendermint creates a new tendermint server and sleeps forever
func RecreateConfig ¶
func RecreateConfig(o *Options)
RecreateConfig instructs the RPC test to recreate the configuration each time, instead of treating it as a global singleton.
func Starttendermint ¶
func Starttendermint(app abci.Application, opts ...func(*Options)) *nm.Node
Starttendermint starts a test tendermint server in a go routine and returns when it is initialized
func Stoptendermint ¶
Stoptendermint stops a test tendermint server, waits until it's stopped and cleans up test/config files.
func SuppressStdout ¶
func SuppressStdout(o *Options)
SuppressStdout is an option that tries to make sure the RPC test tendermint node doesn't log anything to stdout.
Types ¶
Click to show internal directories.
Click to hide internal directories.