lnd.xprv/discovery
Conner Fromknecht 58e924ad1c
discovery: don't historical sync when NumActiveSyncers == 0
Currently when numgraphsyncpeers=0, lnd will still attempt to perform
an initial historical sync. We change this behavior here to forgoe
historical sync entirely when numgraphsyncpeers is zero, since the
routing table isn't being updated anyway while the node is active.

This permits a no-graph lnd mode where no syncing occurs at all.
2021-02-10 09:35:45 -08:00
..
bootstrapper.go multi: use timeout field in dialer 2020-09-16 11:50:04 +08:00
chan_series.go discovery: adhere to proper channel chunk splitting for ReplyChannelRange 2020-12-08 15:18:07 -08:00
gossiper_test.go discovery/sync_manager: remove unneeded markGraphSyncing 2021-01-29 00:19:48 -08:00
gossiper.go config: expose gossip.pinned-syncers for conf 2021-01-29 00:19:47 -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: don't historical sync when NumActiveSyncers == 0 2021-02-10 09:35:45 -08:00
sync_manager.go discovery: don't historical sync when NumActiveSyncers == 0 2021-02-10 09:35:45 -08:00
syncer_test.go lntest: call markGraphSynced from gossipSyncer 2021-01-29 00:19:48 -08:00
syncer.go lntest: call markGraphSynced from gossipSyncer 2021-01-29 00:19:48 -08:00