Documentation
¶
Index ¶
- type SenderStub
- func (s *SenderStub) SendChits(ctx context.Context, nodeID ids.NodeID, requestID uint32, ...) error
- func (s *SenderStub) SendGet(ctx context.Context, nodeID ids.NodeID, requestID uint32, containerID ids.ID) error
- func (s *SenderStub) SendGetAncestors(ctx context.Context, nodeID ids.NodeID, requestID uint32, containerID ids.ID) error
- func (s *SenderStub) SendGossip(ctx context.Context, container []byte) error
- func (s *SenderStub) SendPullQuery(ctx context.Context, nodeIDs []ids.NodeID, requestID uint32, ...) error
- func (s *SenderStub) SendPushQuery(ctx context.Context, nodeIDs []ids.NodeID, requestID uint32, container []byte) error
- func (s *SenderStub) SendPut(ctx context.Context, nodeID ids.NodeID, requestID uint32, container []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SenderStub ¶
type SenderStub struct{}
SenderStub is a stub implementation of the consensus.Sender interface for testing
func (*SenderStub) SendGetAncestors ¶
func (*SenderStub) SendGossip ¶
func (s *SenderStub) SendGossip(ctx context.Context, container []byte) error
func (*SenderStub) SendPullQuery ¶
func (*SenderStub) SendPushQuery ¶
Click to show internal directories.
Click to hide internal directories.