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/#signmessageCheers,
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-devPublished at
2023-06-09 12:58:30Event JSON
{
"id": "6920eaf9b3c4f87c517e6018f908b0c59e3e44159dcfeb1a737aaf1cb7b0daae",
"pubkey": "0866a9dfe968ace2a1cf22ff20e534684828184e3a538212dddae2abbb41465f",
"created_at": 1686315510,
"kind": 1,
"tags": [
[
"e",
"cd4d286273807304bf04e34e9fbbb1cde964122922d20ddc33973693ec67fc2a",
"",
"root"
],
[
"e",
"62eb1fcceedd9a5cb23c786b8a349fb089d1d7a30705c3e40655edaa31524437",
"",
"reply"
],
[
"p",
"72cd40332ec782dd0a7f63acb03e3b6fdafa6d91bd1b6125cd8b7117a1bb8057"
]
],
"content": "📅 Original date posted:2020-02-04\n📝 Original message:\n2) lnd is getting the API you need in the next release (v0.10), that\nlet you subscribe to HTLC events. See PR\nhttps://github.com/lightningnetwork/lnd/pull/3848. The notification\nwon't be signed (but the stream uses TLS), but that can easily be\nadded using the `signmessage` API:\nhttps://api.lightning.community/#signmessage\n\nCheers,\nJohan\n\nOn Sun, Feb 2, 2020 at 1:46 PM Pavol Rusnak via Lightning-dev\n\u003clightning-dev at lists.linuxfoundation.org\u003e wrote:\n\u003e\n\u003e Hi all!\n\u003e\n\u003e I have a couple of unrelated questions, hope you can give me some pointers.\n\u003e\n\u003e 1) Is c-lightning going to support Sphinx or other form of spontaneous payments?\n\u003e\n\u003e 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?\n\u003e\n\u003e Thanks!\n\u003e\n\u003e --\n\u003e Best Regards / S pozdravom,\n\u003e\n\u003e Pavol \"stick\" Rusnak\n\u003e CTO, SatoshiLabs\n\u003e _______________________________________________\n\u003e Lightning-dev mailing list\n\u003e Lightning-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev",
"sig": "3f7efcb8819dbef8836b41d157853fc582b1b440f4fb018ef655278abf6d8055bd66b2b365bcfe036b7047899121b5988dd4f2961024799f373ba5a999adf531"
}