helpers

package
v0.4.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendHeartbeat

func SendHeartbeat(p *peer.Peer, solidMsIndex milestone.Index, pruningMsIndex milestone.Index)

SendHeartbeat sends a heartbeat message to the given peer.

func SendLatestMilestoneRequest

func SendLatestMilestoneRequest(p *peer.Peer)

SendLatestMilestoneRequest sends a milestone request which requests the latest known milestone from the given peer.

func SendMilestoneRequest

func SendMilestoneRequest(p *peer.Peer, index milestone.Index)

SendMilestoneRequest sends a milestone request to the given peer.

func SendTransaction

func SendTransaction(p *peer.Peer, txData []byte)

SendTransaction sends a transaction message to the given peer.

func SendTransactionAndRequest

func SendTransactionAndRequest(p *peer.Peer, txData []byte, reqTxHash hornet.Hash)

SendTransactionAndRequest sends a transaction and request message to the given peer.

func SendTransactionRequest

func SendTransactionRequest(p *peer.Peer, requestedHash hornet.Hash)

SendTransactionRequest sends a transaction request message to the given peer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL