common

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDHTAndWaitForPeers

func CreateDHTAndWaitForPeers(
	ctx context.Context,
	logger tmlog.Logger,
	p2pKeyStore *keystore2.FSKeystore,
	p2pNickname string,
	p2pListenAddr string,
	bootstrappers string,
	dataStore ds.Batching,
	registerer prometheus.Registerer,
) (*p2p.BlobstreamDHT, error)

CreateDHTAndWaitForPeers helper function that creates a new Blobstream DHT and waits for some peers to connect to it.

func NewTmAndAppQuerier

func NewTmAndAppQuerier(logger tmlog.Logger, tendermintRPC string, celesGRPC string, grpcInsecure bool) (*rpc.TmQuerier, *rpc.AppQuerier, []func() error, error)

NewTmAndAppQuerier helper function that creates a new TmQuerier and AppQuerier and registers their stop functions in the stopFuncs slice.

func OpenStore

func OpenStore(logger tmlog.Logger, home string, openOptions store.OpenOptions) (*store.Store, []func() error, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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