Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReceiveAddresses ¶
func ReceiveAddresses(context ReceiveAddressesContext, incomingRoute *routerpkg.Route, outgoingRoute *routerpkg.Route, peer *peerpkg.Peer) error
ReceiveAddresses asks a peer for more addresses if needed.
func SendAddresses ¶
Types ¶
type ReceiveAddressesContext ¶
type ReceiveAddressesContext interface {
AddressManager() *addressmanager.AddressManager
}
ReceiveAddressesContext is the interface for the context needed for the ReceiveAddresses flow.
type SendAddressesContext ¶
type SendAddressesContext interface {
AddressManager() *addressmanager.AddressManager
}
SendAddressesContext is the interface for the context needed for the SendAddresses flow.
Click to show internal directories.
Click to hide internal directories.