Blockstream / greenlight

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

Add awaitable channels to trampoline_pay #505

Closed nepet closed 2 weeks ago

nepet commented 2 weeks ago

This adds the AwaitableChannels that are already used in the internal plugin to the public plugin and adds them to trampoline_pay. This way we can ensure that the channel we are trying to use is actually re-established and ready to accept an htlc. Also we wait for the peer connection to re-establish before we fetch the feature bits.