55094f1470
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. |
||
---|---|---|
.. | ||
bootstrapper.go | ||
gossiper_test.go | ||
gossiper.go | ||
log.go | ||
syncer_test.go | ||
syncer.go | ||
utils.go |