Versions in this module Expand all Collapse all v1 v1.1.1 Dec 18, 2024 Changes in this version + func New(ctx *snow.ConsensusContext, msgCreator message.OutboundMsgBuilder, ...) (common.Sender, error) + func Trace(sender common.Sender, tracer trace.Tracer) common.Sender + type ExternalSender interface + Gossip func(msg message.OutboundMessage, subnetID ids.ID, numValidatorsToSend int, ...) set.Set[ids.NodeID] + Send func(msg message.OutboundMessage, nodeIDs set.Set[ids.NodeID], subnetID ids.ID, ...) set.Set[ids.NodeID] + type ExternalSenderTest struct + CantGossip bool + CantSend bool + GossipF func(msg message.OutboundMessage, subnetID ids.ID, ...) set.Set[ids.NodeID] + SendF func(msg message.OutboundMessage, nodeIDs set.Set[ids.NodeID], subnetID ids.ID, ...) set.Set[ids.NodeID] + TB testing.TB + func (s *ExternalSenderTest) Default(cant bool) + func (s *ExternalSenderTest) Gossip(msg message.OutboundMessage, subnetID ids.ID, numValidatorsToSend int, ...) set.Set[ids.NodeID] + func (s *ExternalSenderTest) Send(msg message.OutboundMessage, nodeIDs set.Set[ids.NodeID], subnetID ids.ID, ...) set.Set[ids.NodeID] + type MockExternalSender struct + func NewMockExternalSender(ctrl *gomock.Controller) *MockExternalSender + func (m *MockExternalSender) EXPECT() *MockExternalSenderMockRecorder + func (m *MockExternalSender) Gossip(arg0 message.OutboundMessage, arg1 ids.ID, arg2, arg3, arg4 int, ...) set.Set[ids.NodeID] + func (m *MockExternalSender) Send(arg0 message.OutboundMessage, arg1 set.Set[ids.NodeID], arg2 ids.ID, ...) set.Set[ids.NodeID] + type MockExternalSenderMockRecorder struct + func (mr *MockExternalSenderMockRecorder) Gossip(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call + func (mr *MockExternalSenderMockRecorder) Send(arg0, arg1, arg2, arg3 interface{}) *gomock.Call