8d7c0a9899
In this commit, we introduce a new type: SyncerType. This type denotes the type of sync a GossipSyncer is currently under. We only introduce the two possible entry states, ActiveSync and PassiveSync. An ActiveSync GossipSyncer will exchange channels with the remote peer and receive new graph updates from them, while a PassiveSync GossipSyncer will not and will only response to the remote peer's queries. This commit does not modify the behavior and is only meant to be a refactor. |
||
---|---|---|
.. | ||
bootstrapper.go | ||
chan_series.go | ||
gossiper_test.go | ||
gossiper.go | ||
log.go | ||
message_store_test.go | ||
message_store.go | ||
mock_test.go | ||
reliable_sender_test.go | ||
reliable_sender.go | ||
syncer_test.go | ||
syncer.go | ||
utils.go |