Versions in this module Expand all Collapse all v1 v1.1.1 May 12, 2024 Changes in this version + type Relayer struct + Auth *pkg.AuthenticationService + Client proto.BlockEngineRelayerClient + ErrChan <-chan error + GrpcConn *grpc.ClientConn + func NewRelayer(ctx context.Context, grpcDialURL string, privateKey solana.PrivateKey, ...) (*Relayer, error) + func (c *Relayer) OnStartExpiringPacketStream(ctx context.Context) (<-chan *proto.StartExpiringPacketStreamResponse, <-chan error, error) + func (c *Relayer) OnSubscribeAccountsOfInterest(ctx context.Context) (<-chan *proto.AccountsOfInterestUpdate, <-chan error, error) + func (c *Relayer) OnSubscribeProgramsOfInterest(ctx context.Context) (<-chan *proto.ProgramsOfInterestUpdate, <-chan error, error) + func (c *Relayer) StartExpiringPacketStream(opts ...grpc.CallOption) (proto.BlockEngineRelayer_StartExpiringPacketStreamClient, error) + func (c *Relayer) SubscribeAccountsOfInterest(opts ...grpc.CallOption) (proto.BlockEngineRelayer_SubscribeAccountsOfInterestClient, error) + func (c *Relayer) SubscribeProgramsOfInterest(opts ...grpc.CallOption) (proto.BlockEngineRelayer_SubscribeProgramsOfInterestClient, error) + type Validator struct + Auth *pkg.AuthenticationService + Client proto.BlockEngineValidatorClient + ErrChan <-chan error + GrpcConn *grpc.ClientConn + func NewValidator(ctx context.Context, grpcDialURL string, privateKey solana.PrivateKey, ...) (*Validator, error) + func (c *Validator) GetBlockBuilderFeeInfo(opts ...grpc.CallOption) (*proto.BlockBuilderFeeInfoResponse, error) + func (c *Validator) OnBundleSubscription(ctx context.Context) (<-chan []*proto.BundleUuid, <-chan error, error) + func (c *Validator) OnPacketSubscription(ctx context.Context) (<-chan *proto.SubscribePacketsResponse, <-chan error, error) + func (c *Validator) SubscribeBundles() (proto.BlockEngineValidator_SubscribeBundlesClient, error) + func (c *Validator) SubscribePackets() (proto.BlockEngineValidator_SubscribePacketsClient, error)