helpers

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndStartEventBus

func CreateAndStartEventBus() (*tmTypes.EventBus, error)

func CreateAndStartProxyAppConns

func CreateAndStartProxyAppConns(config *tmCfg.Config) (proxy.AppConns, error)

func CreateEvidenceReactor

func CreateEvidenceReactor(config *tmCfg.Config, stateStore sm.Store, blockStore *store.BlockStore) (*evidence.Reactor, *evidence.Pool, error)

func CreateMempoolAndMempoolReactor

func CreateMempoolAndMempoolReactor(config *tmCfg.Config, proxyApp proxy.AppConns,
	state sm.State) (*mempl.Reactor, *mempl.CListMempool)

func DefaultDBProvider

func DefaultDBProvider(ctx *DBContext) (dbm.DB, error)

func DoHandshake

func DoHandshake(
	stateStore sm.Store,
	state sm.State,
	blockStore sm.BlockStore,
	genDoc *tmTypes.GenesisDoc,
	eventBus tmTypes.BlockEventPublisher,
	proxyApp proxy.AppConns,
) error

Types

type DBContext

type DBContext struct {
	ID     string
	Config *tmCfg.Config
}

Jump to

Keyboard shortcuts

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