You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually really tricky to implement, but useful for the case of "I want to spend all my funds". Note that this is more specific than allowing "all" as them amount parameter to xpay:
You may want to use it (with layers) to drain a specific channel.
If you're using accounts (I'm writing such a plugin) "all my funds" may not be "all the funds on the node" but some subset.
It's particularly hard with bolt12, since you have to request the invoice with a specific amount (though, you can overpay!) and you don't know the route yet!