Johan Torås Halseth [ARCHIVE] on Nostr: 📅 Original date posted:2020-02-04 📝 Original message: 2) lnd is getting the API ...
📅 Original date posted:2020-02-04
📝 Original message:
2) lnd is getting the API you need in the next release (v0.10), that
let you subscribe to HTLC events. See PR
https://github.com/lightningnetwork/lnd/pull/3848. The notification
won't be signed (but the stream uses TLS), but that can easily be
added using the `signmessage` API:
https://api.lightning.community/#signmessage
Cheers,
Johan
On Sun, Feb 2, 2020 at 1:46 PM Pavol Rusnak via Lightning-dev
<lightning-dev at lists.linuxfoundation.org> wrote:
>
> Hi all!
>
> I have a couple of unrelated questions, hope you can give me some pointers.
>
> 1) Is c-lightning going to support Sphinx or other form of spontaneous payments?
>
> 2) Can a lightning node (such as lnd or c-lightning) send a push notification (e.g. to a webhook) when it receives or routes a payment? If yes, is this notification cryptographically signed (for example with the node's private key)? Is this documented somewhere?
>
> Thanks!
>
> --
> Best Regards / S pozdravom,
>
> Pavol "stick" Rusnak
> CTO, SatoshiLabs
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
📝 Original message:
2) lnd is getting the API you need in the next release (v0.10), that
let you subscribe to HTLC events. See PR
https://github.com/lightningnetwork/lnd/pull/3848. The notification
won't be signed (but the stream uses TLS), but that can easily be
added using the `signmessage` API:
https://api.lightning.community/#signmessage
Cheers,
Johan
On Sun, Feb 2, 2020 at 1:46 PM Pavol Rusnak via Lightning-dev
<lightning-dev at lists.linuxfoundation.org> wrote:
>
> Hi all!
>
> I have a couple of unrelated questions, hope you can give me some pointers.
>
> 1) Is c-lightning going to support Sphinx or other form of spontaneous payments?
>
> 2) Can a lightning node (such as lnd or c-lightning) send a push notification (e.g. to a webhook) when it receives or routes a payment? If yes, is this notification cryptographically signed (for example with the node's private key)? Is this documented somewhere?
>
> Thanks!
>
> --
> Best Regards / S pozdravom,
>
> Pavol "stick" Rusnak
> CTO, SatoshiLabs
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev