lnd.xprv/discovery
Valentine Wallace 8ce7f82da0 discovery+switch: apply zero forwarding policy updates in-memory as well as on disk
In this commit, we fix a bug where if a user updates a forwarding policy to be
zero, the update will be applied to the policy correctly on-disk, but not
in-memory.

We solve this issue by having the gossiper return the list of on-disk updated
policies and passing these policies to the switch, so the switch can assume
that zero-valued fields are intentional and not just uninitialized.
2019-09-09 23:39:44 -07:00
..
bootstrapper.go discovery: remove retries from DNS based SampleNodeAddrs, allow down seeds 2019-06-28 16:10:47 -07:00
chan_series.go multi: move Route to sub-pkg routing/route 2019-04-29 14:52:33 +02:00
gossiper_test.go discovery+switch: apply zero forwarding policy updates in-memory as well as on disk 2019-09-09 23:39:44 -07:00
gossiper.go discovery+switch: apply zero forwarding policy updates in-memory as well as on disk 2019-09-09 23:39:44 -07:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go discovery/message_store: add gossip message store 2019-02-14 18:29:39 -08:00
message_store.go discovery/message_store: add gossip message store 2019-02-14 18:29:39 -08:00
mock_test.go discovery: queue active syncers until initial historical sync signal 2019-04-24 13:20:57 -07:00
reliable_sender_test.go discovery,fundingmanager: avoid serialization in NotifyWhenOnline 2019-06-04 16:36:21 -03:00
reliable_sender.go discovery,fundingmanager: avoid serialization in NotifyWhenOnline 2019-06-04 16:36:21 -03:00
sync_manager_test.go discovery: handle graph synced status after stalled initial historical sync 2019-08-06 17:56:55 -07:00
sync_manager.go discovery: check non-nil syncer upon historical sync tick 2019-08-13 18:23:05 -07:00
syncer_test.go discovery/syncer: add flag to prevent historical gossip filter dump 2019-07-30 17:25:15 -07:00
syncer.go discovery/syncer: add flag to prevent historical gossip filter dump 2019-07-30 17:25:15 -07:00
utils.go discovery: send policy updates for private channels directly to the remote peer 2019-04-10 17:05:51 -07:00