Documentation ¶
Index ¶
- func GetConfig(forceCreate ...bool) *cfg.Config
- func MaxReqBatchSize(o *Options)
- func NewCometBFT(app abci.Application, opts *Options) *nm.Node
- func RecreateConfig(o *Options)
- func StartCometBFT(app abci.Application, opts ...func(*Options)) *nm.Node
- func StopCometBFT(node *nm.Node)
- func SuppressStdout(o *Options)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaxReqBatchSize ¶ added in v0.38.8
func MaxReqBatchSize(o *Options)
MaxReqBatchSize is an option to limit the maximum number of requests per batch.
func NewCometBFT ¶ added in v1.0.0
func NewCometBFT(app abci.Application, opts *Options) *nm.Node
NewCometBFT creates a new CometBFT 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 StartCometBFT ¶ added in v1.0.0
func StartCometBFT(app abci.Application, opts ...func(*Options)) *nm.Node
StartCometBFT starts a test CometBFT server in a go routine and returns when it is initialized.
func StopCometBFT ¶ added in v1.0.0
StopCometBFT stops a test CometBFT 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 CometBFT node doesn't log anything to stdout.
Types ¶
Click to show internal directories.
Click to hide internal directories.