Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
117 stars 27 forks source link

Wrap `send_pay` in awaitable channel futures #522

Closed JssDWt closed 1 week ago

JssDWt commented 1 month ago

It would be great if send_pay could be wrapped in awaitable channel futures, just like pay and trampoline_pay. The Breez SDK uses send_pay to pay for reverse swaps. They sometimes fail with failed: WIRE_TEMPORARY_CHANNEL_FAILURE (First peer not ready), meaning the channels between greenlight and the LSP are not yet reestablished at the moment of calling send_pay.

cdecker commented 1 month ago

We have this patch pending deployment, but are fighting with the CI to get them deployed. I'll update here once the patches are deployed.

cdecker commented 1 week ago

This patch has been deployed last week :+1: