lnd.xprv/discovery
Conner Fromknecht bf4543e2bd
discovery/syncer: make gossip sends synchronous
This commit makes all replies in the gossip syncer synchronous, meaning
that they will wait for each message to be successfully written to the
remote peer before attempting to send the next. This helps throttle
messages the remote peer has requested, preventing unintended
disconnects when the remote peer is slow to process messages. This
changes also helps out congestion in the peer by forcing the syncer to
buffer the messages instead of dumping them into the peer's queue.
2019-04-26 20:05:10 -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+server: remove roundRobinHandler and related code 2019-04-24 13:19:07 -07:00
gossiper.go discovery+server: remove roundRobinHandler and related code 2019-04-24 13:19:07 -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: 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
sync_manager_test.go discovery: queue active syncers until initial historical sync signal 2019-04-24 13:20:57 -07:00
sync_manager.go discovery/syncer: make gossip sends synchronous 2019-04-26 20:05:10 -07:00
syncer_test.go discovery/syncer: make gossip sends synchronous 2019-04-26 20:05:10 -07:00
syncer.go discovery/syncer: make gossip sends synchronous 2019-04-26 20:05:10 -07:00
utils.go discovery: send policy updates for private channels directly to the remote peer 2019-04-10 17:05:51 -07:00