Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v1.7.6
func New( ctx *snow.ConsensusContext, msgCreator message.OutboundMsgBuilder, externalSender ExternalSender, router router.Router, timeouts timeout.Manager, engineType p2p.EngineType, subnet subnets.Subnet, reg prometheus.Registerer, ) (common.Sender, error)
Types ¶
type ExternalSender ¶
type ExternalSender interface {
	Send(
		msg message.OutboundMessage,
		config common.SendConfig,
		subnetID ids.ID,
		allower subnets.Allower,
	) set.Set[ids.NodeID]
}
    ExternalSender sends consensus messages to other validators Right now this is implemented in the networking package
      
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       Package sendermock is a generated GoMock package. 
         | 
      Package sendermock is a generated GoMock package. | 
 Click to show internal directories. 
   Click to hide internal directories.