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