lnd.xprv/discovery
Olaoluwa Osuntokun 13a6d413ac
discovery: select on peer's QuitSignal to allow caller to unblock if disconnecting
In this commit, we select on the peer's QuitSignal to allow the caller
to unblock if the peer itself is disconnecting. With this change, we now
ensure that it isn't possible for a peer to block on this method and
prevent a graceful exit.
2018-08-25 17:30:16 -07:00
..
ann_validation.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
bootstrapper.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
gossiper_test.go htlcswitch+funding+discovery: update mock peers to add new QuitSignal method 2018-08-25 17:30:15 -07:00
gossiper.go discovery: select on peer's QuitSignal to allow caller to unblock if disconnecting 2018-08-25 17:30:16 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
syncer_test.go discovery/syncer: store chunk size within gossiperSyncerCfg 2018-07-30 13:49:36 -07:00
syncer.go discovery/syncer: store chunk size within gossiperSyncerCfg 2018-07-30 13:49:36 -07:00
utils.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00