Documentation
¶
Index ¶
- type Leader
- type LeaderMonitor
- type RPCService
- func (s *RPCService) ClusterNodes(ctx context.Context, out interface{}) error
- func (s *RPCService) EpochInfo(ctx context.Context, out interface{}) error
- func (s *RPCService) LeaderSchedule(ctx context.Context, epoch *uint64, out interface{}) error
- func (s *RPCService) Load(rpcEndpoint, wsEndpoint string) error
- func (s *RPCService) Slot(ctx context.Context) (uint64, error)
- type SlotMessage
- type TPUService
- type TransactionSender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeaderMonitor ¶
type LeaderMonitor struct {
// contains filtered or unexported fields
}
func (*LeaderMonitor) Current ¶
func (s *LeaderMonitor) Current(slotDiff uint64) (*Leader, uint64, error)
func (*LeaderMonitor) RelativeSlot ¶
func (s *LeaderMonitor) RelativeSlot(slot uint64) uint64
func (*LeaderMonitor) Start ¶
func (s *LeaderMonitor) Start() error
type RPCService ¶
type RPCService struct {
// contains filtered or unexported fields
}
func (*RPCService) ClusterNodes ¶
func (s *RPCService) ClusterNodes(ctx context.Context, out interface{}) error
func (*RPCService) EpochInfo ¶
func (s *RPCService) EpochInfo(ctx context.Context, out interface{}) error
func (*RPCService) LeaderSchedule ¶
func (s *RPCService) LeaderSchedule(ctx context.Context, epoch *uint64, out interface{}) error
func (*RPCService) Load ¶
func (s *RPCService) Load(rpcEndpoint, wsEndpoint string) error
type SlotMessage ¶
type TPUService ¶
type TPUService struct {
// contains filtered or unexported fields
}
func (*TPUService) PreConnect ¶
func (s *TPUService) PreConnect(ctx context.Context, l *Leader) error
func (*TPUService) Start ¶
func (s *TPUService) Start() error
type TransactionSender ¶
type TransactionSender struct {
// contains filtered or unexported fields
}
func NewTransactionSender ¶
func NewTransactionSender(rpcEndpoint string, websocketEndpoint string) (*TransactionSender, error)
Click to show internal directories.
Click to hide internal directories.