proxy

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0, UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCreator

type ClientCreator interface {
	// NewABCIClient returns a client for mutating connections (consensus, mempool).
	NewABCIClient() (abcicli.Client, error)
	// NewReadOnlyABCIClient returns a client for the query connection.
	// It uses an independent mutex so query calls never block consensus.
	NewReadOnlyABCIClient() (abcicli.Client, error)
}

ClientCreator creates ABCI clients for the three Tendermint connections.

func DefaultClientCreator

func DefaultClientCreator(local abci.Application, proxy string, transport, dbDir string) ClientCreator

Returns the local application, or constructs a new one via proxy. This function is meant to work with config fields.

func NewLocalClientCreator

func NewLocalClientCreator(app abci.Application) ClientCreator

Jump to

Keyboard shortcuts

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