blockengine_client

package
v0.0.0-...-5aa976a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RelayerBlockEngineClient

type RelayerBlockEngineClient struct {
	GrpcConn  *grpc.ClientConn
	GrpcErrCh chan error
	RpcConn   *rpc.Client
	ErrCh     chan error

	BlockEngineRelayerClient proto.BlockEngineRelayerClient

	Auth *pkg.AuthenticationService
}

func NewRelayerBlockEngineClient

func NewRelayerBlockEngineClient(grpcDialURL string, rpcClient *rpc.Client, privateKey solana.PrivateKey, tlsConfig *tls.Config, opts ...grpc.DialOption) (*RelayerBlockEngineClient, error)

func (*RelayerBlockEngineClient) BlockEngineRelayerClientStartExpiringPacketStream

func (c *RelayerBlockEngineClient) BlockEngineRelayerClientStartExpiringPacketStream(opts ...grpc.CallOption) (proto.BlockEngineRelayer_StartExpiringPacketStreamClient, error)

func (*RelayerBlockEngineClient) BlockEngineRelayerClientSubscribeAccountsOfInterest

func (c *RelayerBlockEngineClient) BlockEngineRelayerClientSubscribeAccountsOfInterest(opts ...grpc.CallOption) (proto.BlockEngineRelayer_SubscribeAccountsOfInterestClient, error)

func (*RelayerBlockEngineClient) BlockEngineRelayerClientSubscribeProgramsOfInterest

func (c *RelayerBlockEngineClient) BlockEngineRelayerClientSubscribeProgramsOfInterest(opts ...grpc.CallOption) (proto.BlockEngineRelayer_SubscribeProgramsOfInterestClient, error)

type ValidatorBlockEngineClient

type ValidatorBlockEngineClient struct {
	GrpcConn  *grpc.ClientConn
	GrpcErrCh chan error
	RpcConn   *rpc.Client
	ErrCh     chan error

	BlockEngineValidatorClient proto.BlockEngineValidatorClient

	Auth *pkg.AuthenticationService
}

func NewValidatorBlockEngineClient

func NewValidatorBlockEngineClient(grpcDialURL string, rpcClient *rpc.Client, privateKey solana.PrivateKey, tlsConfig *tls.Config, opts ...grpc.DialOption) (*ValidatorBlockEngineClient, error)

func (*ValidatorBlockEngineClient) BlockEngineValidatorClientGetBlockBuilderFeeInfo

func (c *ValidatorBlockEngineClient) BlockEngineValidatorClientGetBlockBuilderFeeInfo(opts ...grpc.CallOption) (*proto.BlockBuilderFeeInfoResponse, error)

func (*ValidatorBlockEngineClient) BlockEngineValidatorClientSubscribeBundles

func (c *ValidatorBlockEngineClient) BlockEngineValidatorClientSubscribeBundles() (proto.BlockEngineValidator_SubscribeBundlesClient, error)

func (*ValidatorBlockEngineClient) BlockEngineValidatorClientSubscribePackets

func (c *ValidatorBlockEngineClient) BlockEngineValidatorClientSubscribePackets() (proto.BlockEngineValidator_SubscribePacketsClient, error)

func (*ValidatorBlockEngineClient) HandleBundleSubscription

func (*ValidatorBlockEngineClient) HandlePacketSubscription

Jump to

Keyboard shortcuts

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