kvprocessor

package
v0.0.0-...-d941823 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVProcessor

type KVProcessor struct {
	// contains filtered or unexported fields
}

KVProcessor is implementation of relay.KVProcessor that processes event query KV type. Obtains the proof for a query we need to process, and sends it to the neutron

func NewKVProcessor

func NewKVProcessor(
	trustedHeaderFetcher relay.TrustedHeaderFetcher,
	querier *tmquerier.Querier,
	logger *zap.Logger,
	submitter relay.Submitter,
	targetChain *relayer.Chain,
	neutronChain *relayer.Chain) *KVProcessor

func (*KVProcessor) ProcessAndSubmit

func (p *KVProcessor) ProcessAndSubmit(ctx context.Context, m *relay.MessageKV) error

ProcessAndSubmit processes relay.MessageKV. The main method which does all the work of the KVProcessor

Jump to

Keyboard shortcuts

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