lnd.xprv/discovery
Wilmer Paulino a1b1b06b9e
discovery/gossiper: remove optimistic channel announcement request
In this commit, we aim to resolve an issue with nodes requesting for
channel announcements when receiving a channel update for a channel
they're not aware of. This can happen if a node is not caught up with
the chain or if they receive updates for zombie channels. This would
lead to a spam issue, as if a node is not caught up with the chain,
every new update they receive is premature, causing them to manually
request the backing channel announcement. Ideally, we should be able to
detect this as a potential DoS vector and ban the node responsible, but
for now we'll simply remove this functionality.
2018-08-27 15:54:21 -07:00
..
ann_validation.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
bootstrapper.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
gossiper_test.go htlcswitch+funding+discovery: update mock peers to add new QuitSignal method 2018-08-25 17:30:15 -07:00
gossiper.go discovery/gossiper: remove optimistic channel announcement request 2018-08-27 15:54:21 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
syncer_test.go discovery/syncer: store chunk size within gossiperSyncerCfg 2018-07-30 13:49:36 -07:00
syncer.go discovery/syncer: store chunk size within gossiperSyncerCfg 2018-07-30 13:49:36 -07:00
utils.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00