pool/funding
Olaoluwa Osuntokun 177e84f35a
funding: fix stream handling issues in consumePendingOpenChannels
In this commit, we fix a few issues with the streaming handling:
  1. If it got an error on Recv() it would just spin for ever,
generating an endless stream of spammy logs.
  2. It never listened on the Done() context channel for the stream. So
if the `lnd` had actually hung up, it wouldn't detect that and would
just keep spinning.

To make things more graceful, we also add back off when we try to
reconnect.
2025-07-01 17:59:02 -07:00
..
batch.go funding: log lnd returned errors from FundingStateStep 2022-11-07 08:06:22 -08:00
log.go multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
manager.go funding: fix stream handling issues in consumePendingOpenChannels 2025-07-01 17:59:02 -07:00
manager_test.go funding: fix stream handling issues in consumePendingOpenChannels 2025-07-01 17:59:02 -07:00