Versions in this module Expand all Collapse all v1 v1.8.4 Feb 22, 2022 v1.8.3 Feb 22, 2022 Changes in this version + type ExternalSender interface + Gossip func(msg message.OutboundMessage, subnetID ids.ID, validatorOnly bool, ...) ids.ShortSet + Send func(msg message.OutboundMessage, nodeIDs ids.ShortSet, subnetID ids.ID, ...) ids.ShortSet + type ExternalSenderTest struct + CantGossip bool + CantSend bool + GossipF func(msg message.OutboundMessage, subnetID ids.ID, validatorOnly bool, ...) ids.ShortSet + SendF func(msg message.OutboundMessage, nodeIDs ids.ShortSet, subnetID ids.ID, ...) ids.ShortSet + TB testing.TB + func (s *ExternalSenderTest) Default(cant bool) + func (s *ExternalSenderTest) Gossip(msg message.OutboundMessage, subnetID ids.ID, validatorOnly bool, ...) ids.ShortSet + func (s *ExternalSenderTest) Send(msg message.OutboundMessage, nodeIDs ids.ShortSet, subnetID ids.ID, ...) ids.ShortSet + type Sender struct + func (s *Sender) Context() *snow.ConsensusContext + func (s *Sender) Initialize(ctx *snow.ConsensusContext, msgCreator message.Creator, sender ExternalSender, ...) error + func (s *Sender) SendAccepted(nodeID ids.ShortID, requestID uint32, containerIDs []ids.ID) + func (s *Sender) SendAcceptedFrontier(nodeID ids.ShortID, requestID uint32, containerIDs []ids.ID) + func (s *Sender) SendAncestors(nodeID ids.ShortID, requestID uint32, containers [][]byte) + func (s *Sender) SendAppGossip(appGossipBytes []byte) error + func (s *Sender) SendAppGossipSpecific(nodeIDs ids.ShortSet, appGossipBytes []byte) error + func (s *Sender) SendAppRequest(nodeIDs ids.ShortSet, requestID uint32, appRequestBytes []byte) error + func (s *Sender) SendAppResponse(nodeID ids.ShortID, requestID uint32, appResponseBytes []byte) error + func (s *Sender) SendChits(nodeID ids.ShortID, requestID uint32, votes []ids.ID) + func (s *Sender) SendGet(nodeID ids.ShortID, requestID uint32, containerID ids.ID) + func (s *Sender) SendGetAccepted(nodeIDs ids.ShortSet, requestID uint32, containerIDs []ids.ID) + func (s *Sender) SendGetAcceptedFrontier(nodeIDs ids.ShortSet, requestID uint32) + func (s *Sender) SendGetAncestors(nodeID ids.ShortID, requestID uint32, containerID ids.ID) + func (s *Sender) SendGossip(containerID ids.ID, container []byte) + func (s *Sender) SendPullQuery(nodeIDs ids.ShortSet, requestID uint32, containerID ids.ID) + func (s *Sender) SendPushQuery(nodeIDs ids.ShortSet, requestID uint32, containerID ids.ID, container []byte) + func (s *Sender) SendPut(nodeID ids.ShortID, requestID uint32, containerID ids.ID, container []byte)