Research/Bitcoin Dev Archive / lightning-dev list
A Mobile Lightning User Goes to Pay a Mobile Lightning User...
10 messages, Oct 13 to Dec 27, 2021. Started by Matt Corallo.
Matt Corallo (5), ZmnSCPxj (2), Andrés G. Aragoneses, Bastien TEINTURIER, Rusty Russell
I'm sure most of y'all are familiar with this problem by now - a lightning user on a phone trying to pay another lightning user on a phone requires some amount of coordination to ensure the sender and recipient are, roughly, online at the same time.
Invoices provide this somewhat today by requiring the recipient provide some live-ish data to the sender with their phone in their hand.
But for some reason those pesky users keep wanting to use lightning for tips, or at least accept payment on their phones without keeping them unlocked with the lightning app open on the foreground 24/7.
There's a few things live today which make progress towards this goal, but don't quite get there (and mostly aren't trying to solve this problem, but are worth mentioning):
* just have the recipient use a custodial product/run a full lightning node at home on an RPi.
Obviously this has some pretty substantial drawbacks, I'm not sure I even need to list them, but
the "just require the recipient use a custodial service" is what Twitter ended up shipping with for
lightning tipping, and we should all probably feel ashamed that they felt the need to do that.
* Blockstream Greenlight.
This change the online-requirements model - with the keys on your phone/elsewhere you still have
to have your phone online with the same requirements as running a full lightning node. It just means
fewer resources on that device.
* use keysend/AMP/whatever.
This is great for tips, but only half the story. Sender goes to send a keysend payment, gets to
one hop before the recipient, and then a day later the recipient comes online to find the payment
long-since timed out and failed backwards. Or you could use a long CLTV on the payment to make sure
the recipient has time to claim it, which is basically a DoS on the lightning network's capacity,
one that may eventually be fixed, breaking your payments, and which is just generally antisocial.
Still, my understanding is some folks do this today cause its the only option for a mobile device.
* lnurl
...is a great way to get an invoice, presumably from a trusted LSP for the recipient, trusting
them to not give the same invoice twice, but doesn't help the recipient receive the payment, they
still need to be online, unless...
* have a fully-trusted LSP that accepts payments and forwards them later
this is also fine, where its practical, I guess, but I'd hope we can do better. Worse, as far as
I understand the places where this is practical are becoming fewer and fewer as the regulatory
uncertainty clears and everyone realizes the regulatory overhead of this is...well you might as well
start applying for that banking charter now.
* have an untrusted LSP that sends you a notification to open the app when a payment is received
Several lightning apps do this today, and its somewhat of a stop-gap but does help. On platforms
where the app gets some meager CPU time in response to a notification, this can even fully solve the
problem by claiming the HTLC in response to the notification pushed out-of-band. Sadly, the refrain
I've heard repeatedly is, these days, on both Android and especially iOS, you can't even rely on a
microsecond of CPU time in response to a notification. The OS fully expects your app to run code
only when its on and in the foreground, unless you're a VoIP app you're screwed. Relying on the user
to open the app immediately when they receive a notification is...fine, I guess, absent a better
idea it seems like the best we've got today, but I'm not sure you'd find a UX designer who would
*suggest* this :).
But what would it take to do better? What follows is a simple straw-man, but something that's borderline practical today and may at least generate a few ideas. It comes in two variants
If we accept the lnurl trust model of "a third-party I can give a list of pre-signed invoices, which I trust to never provide an invoice twice, but otherwise is untrusted", then we could do something like this:
Step 1. Tipper gets an invoice from the lnurl endpoint they wish to pay, which contains some "recipient is behind an LSP and rarely online, act accordingly" flag.
Step 2. Tipper sender sends a HTLC with a long CLTV timeout to their own LSP with instructions saying "when you get an onion message telling you nonce B, forward this HTLC, until then, just sit on it". The LSP accepts this HTLC but does not forward it and is generally okay with the long CLTV delta because it would otherwise just be the users' balance anyway - if they want to encumber their own funds forever, no harm done. Note that if tipper is online regularly they can skip this step and move on.
Step 3. The Tipper sends an onion message to recipient's LSP saying "hey, when recipient is online again, use the included reply path to send nonce B to my LSP".
- sender can now safely go offline -
Step 4. When the Recipient comes online, their LSP sends the reply to the Tipper's LSP,
Step 5. causing the Tipper's LSP to (finally) forward the original HTLC, which the Recipient receives.
You'll note that this solution, unlike simply sending a high-CLTV HTLC, does not encumber funds for any extended period of time except for the original sender, who wants to send the funds off elsewhere anyway. Nor does it rely on any parties who can at any point run away with the funds (or reasonably be construed as custodians for the funds). Further, this solution does not rely on the sender deanonymizing themselves to the recipient (or even informing the recipient who the senders' LSP is).
Note that lnurl here could be replaced with BOLT 12 if BOLT 12 gets some flag indicating the Tipper should ask an LSP for the invoice.
But, okay, so the lnurl model of a trusted party not reusing invoices so that the Recipient's LSP cannot just steal all funds after the first claim kinda really sucks, how do we do better?
The Obvious (tm) solution here is PTLCs - just have the sender always add some random nonce * G to the PTLC they're paying and send the recipient a random nonce in the onion. I'd generally suggest we just go ahead and do this for every PTLC payment, cause why not? Now the sender and the lnurl endpoint have to collude to steal the funds, but, like, the sender could always just give the lnurl endpoint the money. I'd love suggestions for fixing this short of PTLCs, but its not immediately obvious to me that this is possible.
Thanks to Steve for pushing on the "how does a let users get tips in lightning" issue, various people for giving him feedback and the relayed to me, AJ for the PTLC proposal, and Rusty for tireless drum-beating on onion messages and BOLT 12.
Matt
Hello Matt, can you clarify what you mean with this particular paragraph?:
Quoted text (5 lines)
But for some reason those pesky users keep wanting to use lightning for > tips, or at least accept > payment on their phones without keeping them unlocked with the lightning > app open on the foreground > 24/7.
So the use case here is more narrow? You mean that the recipient is a mobile user that has his phone locked? Just so I understand better what the problem is.
On Wed, 13 Oct 2021 at 12:44, Matt Corallo <lf-lists at mattcorallo.com> wrote:
Quoted text (171 lines)
> I'm sure most of y'all are familiar with this problem by now - a lightning > user on a phone trying to > pay another lightning user on a phone requires some amount of coordination > to ensure the sender and > recipient are, roughly, online at the same time. > > Invoices provide this somewhat today by requiring the recipient provide > some live-ish data to the > sender with their phone in their hand. > > But for some reason those pesky users keep wanting to use lightning for > tips, or at least accept > payment on their phones without keeping them unlocked with the lightning > app open on the foreground > 24/7. > > There's a few things live today which make progress towards this goal, but > don't quite get there > (and mostly aren't trying to solve this problem, but are worth mentioning): > > * just have the recipient use a custodial product/run a full lightning > node at home on an RPi. > Obviously this has some pretty substantial drawbacks, I'm not sure I > even need to list them, but > the "just require the recipient use a custodial service" is what Twitter > ended up shipping with for > lightning tipping, and we should all probably feel ashamed that they felt > the need to do that. > > * Blockstream Greenlight. > This change the online-requirements model - with the keys on your > phone/elsewhere you still have > to have your phone online with the same requirements as running a full > lightning node. It just means > fewer resources on that device. > > * use keysend/AMP/whatever. > This is great for tips, but only half the story. Sender goes to send a > keysend payment, gets to > one hop before the recipient, and then a day later the recipient comes > online to find the payment > long-since timed out and failed backwards. Or you could use a long CLTV on > the payment to make sure > the recipient has time to claim it, which is basically a DoS on the > lightning network's capacity, > one that may eventually be fixed, breaking your payments, and which is > just generally antisocial. > Still, my understanding is some folks do this today cause its the only > option for a mobile device. > > * lnurl > ...is a great way to get an invoice, presumably from a trusted LSP for > the recipient, trusting > them to not give the same invoice twice, but doesn't help the recipient > receive the payment, they > still need to be online, unless... > > * have a fully-trusted LSP that accepts payments and forwards them later > this is also fine, where its practical, I guess, but I'd hope we can > do better. Worse, as far as > I understand the places where this is practical are becoming fewer and > fewer as the regulatory > uncertainty clears and everyone realizes the regulatory overhead of this > is...well you might as well > start applying for that banking charter now. > > * have an untrusted LSP that sends you a notification to open the app > when a payment is received > Several lightning apps do this today, and its somewhat of a stop-gap > but does help. On platforms > where the app gets some meager CPU time in response to a notification, > this can even fully solve the > problem by claiming the HTLC in response to the notification pushed > out-of-band. Sadly, the refrain > I've heard repeatedly is, these days, on both Android and especially iOS, > you can't even rely on a > microsecond of CPU time in response to a notification. The OS fully > expects your app to run code > only when its on and in the foreground, unless you're a VoIP app you're > screwed. Relying on the user > to open the app immediately when they receive a notification is...fine, I > guess, absent a better > idea it seems like the best we've got today, but I'm not sure you'd find a > UX designer who would > *suggest* this :). > > > But what would it take to do better? What follows is a simple straw-man, > but something that's > borderline practical today and may at least generate a few ideas. It comes > in two variants > > If we accept the lnurl trust model of "a third-party I can give a list of > pre-signed invoices, which > I trust to never provide an invoice twice, but otherwise is untrusted", > then we could do something > like this: > > Step 1. Tipper gets an invoice from the lnurl endpoint they wish to pay, > which contains some > "recipient is behind an LSP and rarely online, act accordingly" flag. > > Step 2. Tipper sender sends a HTLC with a long CLTV timeout to their own > LSP with instructions > saying "when you get an onion message telling you nonce B, forward this > HTLC, until then, just sit > on it". The LSP accepts this HTLC but does not forward it and is generally > okay with the long CLTV > delta because it would otherwise just be the users' balance anyway - if > they want to encumber their > own funds forever, no harm done. > Note that if tipper is online regularly they can skip this step and > move on. > > Step 3. The Tipper sends an onion message to recipient's LSP saying "hey, > when recipient is online > again, use the included reply path to send nonce B to my LSP". > > - sender can now safely go offline - > > Step 4. When the Recipient comes online, their LSP sends the reply to the > Tipper's LSP, > > Step 5. causing the Tipper's LSP to (finally) forward the original HTLC, > which the Recipient receives. > > You'll note that this solution, unlike simply sending a high-CLTV HTLC, > does not encumber funds for > any extended period of time except for the original sender, who wants to > send the funds off > elsewhere anyway. Nor does it rely on any parties who can at any point run > away with the funds (or > reasonably be construed as custodians for the funds). Further, this > solution does not rely on the > sender deanonymizing themselves to the recipient (or even informing the > recipient who the senders' > LSP is). > > Note that lnurl here could be replaced with BOLT 12 if BOLT 12 gets some > flag indicating the Tipper > should ask an LSP for the invoice. > > But, okay, so the lnurl model of a trusted party not reusing invoices so > that the Recipient's LSP > cannot just steal all funds after the first claim kinda really sucks, how > do we do better? > > The Obvious (tm) solution here is PTLCs - just have the sender always add > some random nonce * G to > the PTLC they're paying and send the recipient a random nonce in the > onion. I'd generally suggest we > just go ahead and do this for every PTLC payment, cause why not? Now the > sender and the lnurl > endpoint have to collude to steal the funds, but, like, the sender could > always just give the lnurl > endpoint the money. I'd love suggestions for fixing this short of PTLCs, > but its not immediately > obvious to me that this is possible. > > Thanks to Steve for pushing on the "how does a let users get tips in > lightning" issue, various > people for giving him feedback and the relayed to me, AJ for the PTLC > proposal, and Rusty for > tireless drum-beating on onion messages and BOLT 12. > > Matt > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev >
On 10/12/21 22:08, Andrés G. Aragoneses wrote:
Quoted text (10 lines)
> Hello Matt, can you clarify what you mean with this particular paragraph?: > > But for some reason those pesky users keep wanting to use lightning for tips, or at least accept > payment on their phones without keeping them unlocked with the lightning app open on the foreground > 24/7. > > > So the use case here is more narrow? You mean that the recipient is a mobile user that has his phone > locked? > Just so I understand better what the problem is.
Yes, but not just locked, just "doesn't have the lightning app open and in the foreground when a payment comes in". See this paragraph:
Quoted text (12 lines)
> Several lightning apps do this today, and its somewhat of a stop-gap but does help. On > platforms > where the app gets some meager CPU time in response to a notification, this can even fully solve > the > problem by claiming the HTLC in response to the notification pushed out-of-band. Sadly, the refrain > I've heard repeatedly is, these days, on both Android and especially iOS, you can't even rely on a > microsecond of CPU time in response to a notification. The OS fully expects your app to run code > only when its on and in the foreground, unless you're a VoIP app you're screwed. Relying on the > user > to open the app immediately when they receive a notification is...fine, I guess, absent a better > idea it seems like the best we've got today, but I'm not sure you'd find a UX designer who would > *suggest* this :).
Good morning Matt,
Quoted text (6 lines)
> The Obvious (tm) solution here is PTLCs - just have the sender always add some random nonce * G to > the PTLC they're paying and send the recipient a random nonce in the onion. I'd generally suggest we > just go ahead and do this for every PTLC payment, cause why not? Now the sender and the lnurl > endpoint have to collude to steal the funds, but, like, the sender could always just give the lnurl > endpoint the money. I'd love suggestions for fixing this short of PTLCs, but its not immediately > obvious to me that this is possible.
Use two hashes in an HTLC instead of one, where the second hash is from a preimage the sender generates, and which the sender sends (encrypted via onion) to the receiver. You might want to do this anyway in HTLC-land, consider that we have a `payment_secret` in invoices, the second hash could replace that, and provide similar protection to what `payment_secret` provides (i.e. resistance against forwarding nodes probing; the information in both cases is private to the ultimate sender and ultimate reeceiver).
In addition, I suspect (but have not worked out yet) that this would allow some kind of Barrier Escrow-like mechanism while still in HTLC-land.
Otherwise, just PTLC, man, everyone wants PTLC.
Regards, ZmnSCPxj
On 10/13/21 02:58, ZmnSCPxj wrote:
Quoted text (12 lines)
> Good morning Matt, > > >> The Obvious (tm) solution here is PTLCs - just have the sender always add some random nonce * G to >> the PTLC they're paying and send the recipient a random nonce in the onion. I'd generally suggest we >> just go ahead and do this for every PTLC payment, cause why not? Now the sender and the lnurl >> endpoint have to collude to steal the funds, but, like, the sender could always just give the lnurl >> endpoint the money. I'd love suggestions for fixing this short of PTLCs, but its not immediately >> obvious to me that this is possible. > > Use two hashes in an HTLC instead of one, where the second hash is from a preimage the sender generates, and which the sender sends (encrypted via onion) to the receiver. > You might want to do this anyway in HTLC-land, consider that we have a `payment_secret` in invoices, the second hash could replace that, and provide similar protection to what `payment_secret` provides (i.e. resistance against forwarding nodes probing; the information in both cases is private to the ultimate sender and ultimate reeceiver).
Yes, you could create a construction which does this, sure, but I'm not sure how you'd do this without informing every hop along the path that this is going on, and adapting each hop to handle this as well. I suppose I should have been more clear with the requirements, or can you clarify somewhat what your proposed construction is?
If you're gonna adapt every node in the path, you might as well just use PTLC.
Matt
Good morning Matt,
Quoted text (19 lines)
> On 10/13/21 02:58, ZmnSCPxj wrote: > > > Good morning Matt, > > > > > The Obvious (tm) solution here is PTLCs - just have the sender always add some random nonce * G to > > > the PTLC they're paying and send the recipient a random nonce in the onion. I'd generally suggest we > > > just go ahead and do this for every PTLC payment, cause why not? Now the sender and the lnurl > > > endpoint have to collude to steal the funds, but, like, the sender could always just give the lnurl > > > endpoint the money. I'd love suggestions for fixing this short of PTLCs, but its not immediately > > > obvious to me that this is possible. > > > > > > > Use two hashes in an HTLC instead of one, where the second hash is from a preimage the sender generates, and which the sender sends (encrypted via onion) to the receiver. > > You might want to do this anyway in HTLC-land, consider that we have a `payment_secret` in invoices, the second hash could replace that, and provide similar protection to what `payment_secret` provides (i.e. resistance against forwarding nodes probing; the information in both cases is private to the ultimate sender and ultimate reeceiver). > > Yes, you could create a construction which does this, sure, but I'm not sure how you'd do this > without informing every hop along the path that this is going on, and adapting each hop to handle > this as well. I suppose I should have been more clear with the requirements, or can you clarify > somewhat what your proposed construction is?
Just that: two hashes instead of one. Make *every* HTLC on LN use two hashes, even for current "online RPi user pays online RPi user" --- just use the `payment_secret` for the preimage of the second hash, the sender needs to send it anyway.
Quoted text (2 lines)
> > If you're gonna adapt every node in the path, you might as well just use PTLC.
Correct, we should just do PTLCs now. (Basically, my proposal was just a strawman to say "we should just do PTLCs now")
Regards, ZmnSCPxj
Hi Matt,
I like this proposal, it's a net improvement compared to hodling HTLCs at the recipient's LSP. With onion messages, we do have all the tools we need to build this. I don't think we can do much better than that anyway if we want to keep payments fully non-custodial. This will be combined with notifications to try to get the recipient to go online asap.
One thing to note is that the senders also need to come online while the payment isn't settled, otherwise there is a risk they'll lose their channels. If the sender's LSP receives the preimage but the sender does not come online, the sender's LSP will have to force-close to claim the HTLC on-chain when it gets close to the timeout.
Definitely not a show-stopper, just an implementation detail to keep in mind.
Bastien
Le jeu. 14 oct. 2021 à 02:20, ZmnSCPxj via Lightning-dev < lightning-dev at lists.linuxfoundation.org> a écrit :
Quoted text (57 lines)
> Good morning Matt, > > > On 10/13/21 02:58, ZmnSCPxj wrote: > > > > > Good morning Matt, > > > > > > > The Obvious (tm) solution here is PTLCs - just have the sender > always add some random nonce * G to > > > > the PTLC they're paying and send the recipient a random nonce > in the onion. I'd generally suggest we > > > > just go ahead and do this for every PTLC payment, cause why > not? Now the sender and the lnurl > > > > endpoint have to collude to steal the funds, but, like, the > sender could always just give the lnurl > > > > endpoint the money. I'd love suggestions for fixing this short > of PTLCs, but its not immediately > > > > obvious to me that this is possible. > > > > > > > > > > Use two hashes in an HTLC instead of one, where the second hash is > from a preimage the sender generates, and which the sender sends (encrypted > via onion) to the receiver. > > > You might want to do this anyway in HTLC-land, consider that we have a > `payment_secret` in invoices, the second hash could replace that, and > provide similar protection to what `payment_secret` provides (i.e. > resistance against forwarding nodes probing; the information in both cases > is private to the ultimate sender and ultimate reeceiver). > > > > Yes, you could create a construction which does this, sure, but I'm not > sure how you'd do this > > without informing every hop along the path that this is going on, and > adapting each hop to handle > > this as well. I suppose I should have been more clear with the > requirements, or can you clarify > > somewhat what your proposed construction is? > > Just that: two hashes instead of one. > Make *every* HTLC on LN use two hashes, even for current "online RPi user > pays online RPi user" --- just use the `payment_secret` for the preimage of > the second hash, the sender needs to send it anyway. > > > > > If you're gonna adapt every node in the path, you might as well just use > PTLC. > > Correct, we should just do PTLCs now. > (Basically, my proposal was just a strawman to say "we should just do > PTLCs now") > > > Regards, > ZmnSCPxj > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev >
Quoted text (7 lines)
> On Oct 19, 2021, at 04:51, Bastien TEINTURIER <bastien at acinq.fr> wrote: > > I like this proposal, it's a net improvement compared to hodling HTLCs > at the recipient's LSP. With onion messages, we do have all the tools we > need to build this. I don't think we can do much better than that anyway > if we want to keep payments fully non-custodial. This will be combined > with notifications to try to get the recipient to go online asap.
Thanks!
Quoted text (5 lines)
> One thing to note is that the senders also need to come online while > the payment isn't settled, otherwise there is a risk they'll lose their > channels. If the sender's LSP receives the preimage but the sender does > not come online, the sender's LSP will have to force-close to claim the > HTLC on-chain when it gets close to the timeout.
Yep. I was imagining a huge CLTV on that hop (and maybe some way of having a first-hop-set CLTV at hops after that, I don’t recall if it’s allowed, but it should be for this). That way at least the sender has a week/month to go online and clear the HTLC, subject to the usual LSP liquidity requirements of course.
Quoted text (44 lines)
> Definitely not a show-stopper, just an implementation detail to keep in > mind. > > Bastien > >> Le jeu. 14 oct. 2021 à 02:20, ZmnSCPxj via Lightning-dev <lightning-dev at lists.linuxfoundation.org> a écrit : >> Good morning Matt, >> >> > On 10/13/21 02:58, ZmnSCPxj wrote: >> > >> > > Good morning Matt, >> > > >> > > > The Obvious (tm) solution here is PTLCs - just have the sender always add some random nonce * G to >> > > > the PTLC they're paying and send the recipient a random nonce in the onion. I'd generally suggest we >> > > > just go ahead and do this for every PTLC payment, cause why not? Now the sender and the lnurl >> > > > endpoint have to collude to steal the funds, but, like, the sender could always just give the lnurl >> > > > endpoint the money. I'd love suggestions for fixing this short of PTLCs, but its not immediately >> > > > obvious to me that this is possible. >> > > > >> > > >> > > Use two hashes in an HTLC instead of one, where the second hash is from a preimage the sender generates, and which the sender sends (encrypted via onion) to the receiver. >> > > You might want to do this anyway in HTLC-land, consider that we have a `payment_secret` in invoices, the second hash could replace that, and provide similar protection to what `payment_secret` provides (i.e. resistance against forwarding nodes probing; the information in both cases is private to the ultimate sender and ultimate reeceiver). >> > >> > Yes, you could create a construction which does this, sure, but I'm not sure how you'd do this >> > without informing every hop along the path that this is going on, and adapting each hop to handle >> > this as well. I suppose I should have been more clear with the requirements, or can you clarify >> > somewhat what your proposed construction is? >> >> Just that: two hashes instead of one. >> Make *every* HTLC on LN use two hashes, even for current "online RPi user pays online RPi user" --- just use the `payment_secret` for the preimage of the second hash, the sender needs to send it anyway. >> >> > >> > If you're gonna adapt every node in the path, you might as well just use PTLC. >> >> Correct, we should just do PTLCs now. >> (Basically, my proposal was just a strawman to say "we should just do PTLCs now") >> >> >> Regards, >> ZmnSCPxj >> _______________________________________________ >> Lightning-dev mailing list >> Lightning-dev at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/lightning-dev
Matt Corallo <lf-lists at mattcorallo.com> writes:
Quoted text (3 lines)
> The Obvious (tm) solution here is PTLCs - just have the sender always add some random nonce * G to > the PTLC they're paying and send the recipient a random nonce in the onion. I'd generally suggest we > just go ahead and do this for every PTLC payment, cause why not?
AFAICT we need to do this for decorrelation: each hop has a unique tweak (prob derived from the onion share secret).
In bolt12, we have the additional problem for the tipping case: each invoice contains an amount, so you can't preprint amountless invoices. (This plugs a hole in bolt11 for this case, where you get a receipt but no amount!).
However, I think the best case is a generic authorization mechanism:
1. The offer contains a fallback node. 2. Fallback either returns you an invoice signed by the node you expect, *or* one signed by itself and an authorization from the node you expect. 3. The authorization might be only for a particular offer, or amount, or have an expiry. *handwave*.
This lets the user choose the trust model they want. The fallback node may also provide an onion message notification service when the real node comes back, to avoid polling.
Cheers, Rusty.
On 12/2/21 21:59, Rusty Russell wrote:
Quoted text (17 lines)
> Matt Corallo <lf-lists at mattcorallo.com> writes: > In bolt12, we have the additional problem for the tipping case: each > invoice contains an amount, so you can't preprint amountless invoices. > (This plugs a hole in bolt11 for this case, where you get a receipt but > no amount!). > > However, I think the best case is a generic authorization mechanism: > > 1. The offer contains a fallback node. > 2. Fallback either returns you an invoice signed by the node you expect, *or* > one signed by itself and an authorization from the node you expect. > 3. The authorization might be only for a particular offer, or amount, or > have an expiry. *handwave*. > > This lets the user choose the trust model they want. The fallback node > may also provide an onion message notification service when the real > node comes back, to avoid polling.
Missed this mail, but, right, good point about amounts. Indeed, having cross-signing by the fallback node seems like a good idea. For the tipping use-case, allowing a BOLT-12 response with no amount included under the signature seems fine (with a signed amount from the fallback node).
Matt