state

package
v0.4.1-dirty Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Components

func Components(coreCfg core.Config, keyCfg key.Config) fx.Option

Components provides all components necessary to construct the state service.

func CoreAccessor

func CoreAccessor(
	coreIP,
	coreRPC,
	coreGRPC string,
) func(fx.Lifecycle, *apptypes.KeyringSigner, *sync.Syncer) (state.Accessor, error)

CoreAccessor constructs a new instance of state.Accessor over a celestia-core connection.

func Service

func Service(
	ctx context.Context,
	lc fx.Lifecycle,
	accessor state.Accessor,
	fservice fraud.Service,
) *state.Service

Service constructs a new state.Service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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