rpctest

package
v0.36.0-dev Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig added in v0.35.0

func CreateConfig(testName string) *config.Config

func GetGRPCClient

func GetGRPCClient(conf *config.Config) coregrpc.BroadcastAPIClient

func SuppressStdout added in v0.31.6

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

type Options added in v0.31.6

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

Options helps with specifying some parameters for our RPC testing for greater control.

type ServiceCloser added in v0.35.0

type ServiceCloser func(context.Context) error

func StartTendermint

func StartTendermint(ctx context.Context,
	conf *config.Config,
	app abci.Application,
	opts ...func(*Options)) (service.Service, ServiceCloser, error)

Jump to

Keyboard shortcuts

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