Documentation
¶
Index ¶
- type AppError
- type Sender
- func (s *Sender) SendAccepted(_ context.Context, _ ids.NodeID, _ uint32, _ []ids.ID)
- func (s *Sender) SendAcceptedFrontier(_ context.Context, _ ids.NodeID, _ uint32, _ []ids.ID)
- func (s *Sender) SendAcceptedStateSummary(_ context.Context, _ ids.NodeID, _ uint32, _ []ids.ID)
- func (s *Sender) SendAncestors(_ context.Context, _ ids.NodeID, _ uint32, _ [][]byte)
- func (s *Sender) SendAppError(_ context.Context, nodeID ids.NodeID, requestID uint32, code int32, msg string) error
- func (s *Sender) SendAppGossip(_ context.Context, _ appsender.SendConfig, msgBytes []byte) error
- func (s *Sender) SendAppGossipSpecific(_ context.Context, _ set.Set[ids.NodeID], msgBytes []byte) error
- func (s *Sender) SendAppRequest(_ context.Context, _ set.Set[ids.NodeID], _ uint32, msgBytes []byte) error
- func (s *Sender) SendAppRequestFailed(_ context.Context, _ ids.NodeID, _ uint32) error
- func (s *Sender) SendAppResponse(_ context.Context, _ ids.NodeID, _ uint32, msgBytes []byte) error
- func (s *Sender) SendChits(_ context.Context, _ ids.NodeID, _ uint32, _ ids.ID, _ ids.ID, _ ids.ID)
- func (s *Sender) SendCrossChainAppRequest(_ context.Context, _ ids.ID, _ uint32, msgBytes []byte) error
- func (s *Sender) SendCrossChainAppResponse(_ context.Context, _ ids.ID, _ uint32, msgBytes []byte) error
- func (s *Sender) SendGet(_ context.Context, _ ids.NodeID, _ uint32, _ ids.ID)
- func (s *Sender) SendGetAccepted(_ context.Context, _ set.Set[ids.NodeID], _ uint32, _ []ids.ID)
- func (s *Sender) SendGetAcceptedFrontier(_ context.Context, _ set.Set[ids.NodeID], _ uint32)
- func (s *Sender) SendGetAcceptedStateSummary(_ context.Context, _ set.Set[ids.NodeID], _ uint32, _ []uint64)
- func (s *Sender) SendGetAncestors(_ context.Context, _ ids.NodeID, _ uint32, _ ids.ID)
- func (s *Sender) SendGetStateSummaryFrontier(_ context.Context, _ set.Set[ids.NodeID], _ uint32)
- func (s *Sender) SendGossip(_ context.Context, _ []byte)
- func (s *Sender) SendPullQuery(_ context.Context, _ set.Set[ids.NodeID], _ uint32, _ ids.ID, _ uint64)
- func (s *Sender) SendPushQuery(_ context.Context, _ set.Set[ids.NodeID], _ uint32, _ []byte, _ uint64)
- func (s *Sender) SendPut(_ context.Context, _ ids.NodeID, _ uint32, _ []byte)
- func (s *Sender) SendStateSummaryFrontier(_ context.Context, _ ids.NodeID, _ uint32, _ []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
SentAppRequest chan []byte
SentAppResponse chan []byte
SentAppGossip chan []byte
SentAppError chan *AppError
SentCrossChainRequest chan []byte
SentCrossChainResponse chan []byte
}
Sender is a test sender implementation
func (*Sender) SendAccepted ¶
func (*Sender) SendAcceptedFrontier ¶
func (*Sender) SendAcceptedStateSummary ¶
func (*Sender) SendAncestors ¶
func (*Sender) SendAppError ¶
func (*Sender) SendAppGossip ¶
func (*Sender) SendAppGossipSpecific ¶
func (*Sender) SendAppRequest ¶
func (*Sender) SendAppRequestFailed ¶
NetworkAppSender methods
func (*Sender) SendAppResponse ¶
func (*Sender) SendCrossChainAppRequest ¶
func (*Sender) SendCrossChainAppResponse ¶
func (*Sender) SendGetAccepted ¶
func (*Sender) SendGetAcceptedFrontier ¶
func (*Sender) SendGetAcceptedStateSummary ¶
func (*Sender) SendGetAncestors ¶
func (*Sender) SendGetStateSummaryFrontier ¶
func (*Sender) SendPullQuery ¶
func (*Sender) SendPushQuery ¶
Click to show internal directories.
Click to hide internal directories.