lnd.xprv/discovery
Wilmer Paulino 55094f1470
discovery/gossiper: send node anns when constructing full chan proof
In this commit, we allow the gossiper to also broadcast the
corresponding node announcements, if we know of them, of a channel when
constructing its full proof. We do this to ensure peers (other than our
remote peer) receive all the relevant announcements for a channel.

The tests changes were made to ensure the new behavior introduced works
as intended. Previously, the node announcements for each test channel
announcement were not processed, so they never existed from the
gossiper's point of view.

This also addresses an existing flake in the integration test
`testNodeAnnouncement`. This problem arose due to the node announcement
being sent before the connection between Dave (node announcement sender)
and Alice (node announcement receiver) was initiated and the full
channel proof was constructed.
2018-11-11 17:48:07 -08:00
..
bootstrapper.go discovery: update autopilot.Node usage to match recent API changes 2018-08-29 15:45:39 -07:00
gossiper_test.go discovery/gossiper: send node anns when constructing full chan proof 2018-11-11 17:48:07 -08:00
gossiper.go discovery/gossiper: send node anns when constructing full chan proof 2018-11-11 17:48:07 -08:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
syncer_test.go Merge pull request #1856 from maurycy/typos 2018-09-27 20:38:10 -07:00
syncer.go discovery: pass peer quit signal to ProcessQueryMsg 2018-11-01 17:35:55 -07:00
utils.go discovery: update utils to properly include opaque data in gossip msgs 2018-09-04 20:52:44 -07:00