lnd.xprv/discovery
Wilmer Paulino 791ba3eb50
discovery: rate limit incoming channel updates
This change was largely motivated by an increase in high disk usage as a
result of channel update spam. With an in memory graph, this would've
gone mostly undetected except for the increased bandwidth usage, which
this doesn't aim to solve yet. To minimize the effects to disks, we
begin to rate limit channel updates in two ways. Keep alive updates,
those which only increase their timestamps to signal liveliness, are now
limited to one per lnd's rebroadcast interval (current default of 24H).
Non keep alive updates are now limited to one per block per direction.
2020-11-25 15:38:08 -08:00
..
bootstrapper.go multi: use timeout field in dialer 2020-09-16 11:50:04 +08:00
chan_series.go discovery/chan_series: use netann.ChannelUpdateFromEdge helper 2020-03-17 16:24:25 -07:00
gossiper_test.go discovery: rate limit incoming channel updates 2020-11-25 15:38:08 -08:00
gossiper.go discovery: rate limit incoming channel updates 2020-11-25 15:38:08 -08:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go multi: add reset closure to kvdb.Update 2020-11-05 17:57:12 +01:00
message_store.go multi: add reset closure to kvdb.View 2020-11-05 17:57:12 +01:00
mock_test.go multi: remove returned error from WipeChannel 2020-04-02 17:39:29 -07:00
reliable_sender_test.go multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
reliable_sender.go discovery,fundingmanager: avoid serialization in NotifyWhenOnline 2019-06-04 16:36:21 -03:00
sync_manager_test.go discovery: interpret block range from ReplyChannelRange messages 2020-01-06 14:03:13 -08:00
sync_manager.go multi: remove dead code 2019-09-10 17:21:59 +02:00
syncer_test.go discovery: prevent endBlock overflow in replyChanRangeQuery 2020-06-18 16:48:09 -04:00
syncer.go discovery: prevent endBlock overflow in replyChanRangeQuery 2020-06-18 16:48:09 -04:00