state

package
v0.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Components

func Components(coreEndpoint string, cfg key.Config) fx.Option

Components provides all components necessary to construct the state service.

func CoreAccessor

func CoreAccessor(
	endpoint string,
) func(fx.Lifecycle, *apptypes.KeyringSigner) (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, fsub fraud.Subscriber) *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