lnd.xprv/discovery
Wilmer Paulino ca4fbd598c
discovery: introduce GossipSyncer sync transitions
In this commit, we introduce the ability for GossipSyncer's to
transition their sync type. This allows us to be more flexible with our
gossip syncers, as we can now prevent them from receiving new graph
updates at any time. It's now possible to transition between the
different sync types, as long as the GossipSyncer has reached its
terminal chansSynced sync state. Certain transitions require some
additional wire messages to be sent, like in the case of an ActiveSync
GossipSyncer transitioning to a PassiveSync type.
2019-04-03 15:08:29 -07:00
..
bootstrapper.go discovery: update autopilot.Node usage to match recent API changes 2018-08-29 15:45:39 -07:00
chan_series.go discovery/chan_series+utils: include max htlc when syncing with peers 2019-01-22 08:42:28 +01:00
gossiper_test.go discovery: check if stale within isMsgStale for ChannelUpdate messages 2019-03-28 17:22:23 -07:00
gossiper.go discovery: replace GossipSyncer syncChanUpdates flag with SyncerType 2019-04-03 15:08:27 -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 peer: add SendMessageLazy 2019-03-05 17:08:22 -08:00
reliable_sender_test.go discovery: replace waitPredicate with lntest version 2019-04-03 15:08:12 -07:00
reliable_sender.go discovery: add missing offline peer check before sending message reliably 2019-03-28 17:21:28 -07:00
syncer_test.go discovery: introduce GossipSyncer sync transitions 2019-04-03 15:08:29 -07:00
syncer.go discovery: introduce GossipSyncer sync transitions 2019-04-03 15:08:29 -07:00
utils.go discovery/chan_series+utils: include max htlc when syncing with peers 2019-01-22 08:42:28 +01:00