From darosior at protonmail.com Sun Feb 2 13:59:16 2020 From: darosior at protonmail.com (darosior) Date: Sun, 02 Feb 2020 13:59:16 +0000 Subject: [Lightning-dev] Sphinx and Push Notifications In-Reply-To: References: Message-ID: Hi Pavol, > 1) Is c-lightning going to support Sphinx or other form of spontaneous payments? I think cdecker is working on integrating keysend to his noise plugin (https://github.com/lightningd/plugins/pull/68). > 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? C-lightning sends notifications (and hooks, but it doesn't seem to be your usecase here) for typical events such as "I received an HTLC !". You can make a plugin which registers to these lightningd notifications sends encrypted push notifs. Doc here https://lightning.readthedocs.io/PLUGINS.html#event-notifications :-). Darosior ??????? Original Message ??????? Le dimanche, f?vrier 2, 2020 1:39 PM, Pavol Rusnak via Lightning-dev a ?crit?: > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 477 bytes Desc: OpenPGP digital signature URL: