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 SendTransactionAndRequest(p *peer.Peer, txData []byte, reqTxHash hornet.Hash)
- func SendTransactionRequest(p *peer.Peer, requestedHash hornet.Hash)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendHeartbeat ¶
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.
func SendTransactionAndRequest ¶
SendTransactionAndRequest sends a transaction and request message to the given peer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.