lnd.xprv/discovery
Valentine Wallace 15168c391e
discovery+routing: validate msg flags and max htlc in ChannelUpdates
In this commit, we alter the ValidateChannelUpdateAnn function in
ann_validation to validate a remote ChannelUpdate's message flags
and max HTLC field. If the message flag is set but the max HTLC
field is not set or vice versa, the ChannelUpdate fails validation.

Co-authored-by: Johan T. Halseth <johanth@gmail.com>
2019-01-22 08:42:27 +01:00
..
bootstrapper.go discovery: update autopilot.Node usage to match recent API changes 2018-08-29 15:45:39 -07:00
chan_series.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00
gossiper_test.go discovery+routing: validate msg flags and max htlc in ChannelUpdates 2019-01-22 08:42:27 +01:00
gossiper.go discovery+routing: validate msg flags and max htlc in ChannelUpdates 2019-01-22 08:42:27 +01: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/syncer: move CGTimeSerires to chan_series 2018-11-30 15:33:34 -08:00
utils.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00