lnd.xprv/discovery
Olaoluwa Osuntokun b3ac3492a0
discovery: if unable to find gossipSyncer for peer, create one
In this commit we fix an existing bug caused by a scheduling race
condition. We'll now ensure that if we get a gossip message from a peer
before we create an instance for it, then we create one on the spot so
we can service the message. Before this commit, we would drop the first
message, and therefore never sync up with the peer at all, causing them
to miss channel announcements.
2018-05-31 17:54:45 -07:00
..
ann_validation.go discovery: update graph API usage to match recent API changes 2018-02-06 20:14:32 -08:00
bootstrapper.go discovery: ensure target host for DNS fallback is fully qualified 2018-03-18 16:05:10 -07:00
gossiper_test.go multi: fix typos in comments 2018-04-17 19:03:27 -07:00
gossiper.go discovery: if unable to find gossipSyncer for peer, create one 2018-05-31 17:54:45 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
syncer_test.go discovery: add new SyncState method to gossipSyncer 2018-05-31 16:31:00 -07:00
syncer.go discovery: attempt to request the full chan ann for stray chan updates 2018-05-31 16:31:01 -07:00
utils.go discovery+lnd: create new chanSeries impl of the ChannelGraphTimeSeries interface 2018-05-31 16:30:55 -07:00