Documentation ¶
Index ¶
- func SendHeartbeat(p *peer.Peer, solidMsIndex milestone.Index, pruningMsIndex milestone.Index, ...)
- func SendLatestMilestoneRequest(p *peer.Peer)
- func SendMilestoneRequest(p *peer.Peer, index milestone.Index)
- func SendTransaction(p *peer.Peer, txData []byte)
- func SendTransactionRequest(p *peer.Peer, requestedHash hornet.Hash)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendHeartbeat ¶
func SendHeartbeat(p *peer.Peer, solidMsIndex milestone.Index, pruningMsIndex milestone.Index, latestMsIndex milestone.Index, connectedNeighbors uint8, syncedNeighbors uint8)
SendHeartbeat sends a heartbeat message to the given peer.
func SendLatestMilestoneRequest ¶
SendLatestMilestoneRequest sends a milestone request which requests the latest known milestone from the given peer.
func SendMilestoneRequest ¶
SendMilestoneRequest sends a milestone request to the given peer.
func SendTransaction ¶
SendTransaction sends a transaction message to the given peer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.