service

package
v24.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(writeListeners map[storetypes.StoreKey][]storetypes.WriteListener, sqsIngester domain.Ingester, poolTracker domain.BlockPoolUpdateTracker, nodeStatusChecker domain.NodeStatusChecker) baseapp.StreamingService

New creates a new sqsStreamingService. writeListeners is a map of store keys to write listeners. sqsIngester is an ingester that ingests the block data into SQS. poolTracker is a tracker that tracks the pools that were changed in the block. nodeStatusChecker is a checker that checks if the node is syncing.

func NewNodeStatusChecker

func NewNodeStatusChecker(address string) domain.NodeStatusChecker

func NewPoolTracker

func NewPoolTracker() domain.BlockPoolUpdateTracker

NewPoolTracker creates a new poolBlockUpdateTracker.

Types

type GRPCClient added in v24.0.1

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

func NewGRPCCLient added in v24.0.1

func NewGRPCCLient(grpcAddress string, grpxMaxCallSizeBytes int, appCodec codec.Codec) *GRPCClient

func (*GRPCClient) PushData added in v24.0.1

func (g *GRPCClient) PushData(ctx context.Context, height uint64, pools []sqsdomain.PoolI, takerFeesMap sqsdomain.TakerFeeMap) (err error)

PushData implements domain.GracefulSQSGRPClient.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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