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
where Alice and Bob both have allow-circular-route set.
If Alice tries to pay an invoice to herself with AllowSelfPayment: true, it doesn't route the payment unless she also has Private: true when running AddInvoice.
Alice should be smart enough to know about her own private channels with Bob without needing the Private flag set to true. Especially since taproot asset channels are currently always private channels. We really need Alice to be able to not have to think or even know that those taproot asset channels are private channels and still be able to use them as if they are normal channels, because to her they should be no different than a public channel since they are her channels.
Why would Alice ever want to make such a circular self payment?
If the channel between Alice and Bob is also a taproot assets channel and Alice wants to trade a taproot asset for sats with Bob, without routing through any other nodes.
The text was updated successfully, but these errors were encountered:
, so there is no way for Bob to do a circular payment back to himself through either of them. Bob can only do a circular payment back to himself through Charlie. However, Bob's channel with Charlie is not a taproot assets channel, so Bob can't do a direct trade of a taproot asset for sats.
TAP
Alice <---------> Bob <---------> Charlie <---------> Frank
SAT ^ SAT SAT
(private) | (public) (public)
|
| ⏜
| p
| r
T|S i
A|A v
P|T a
| t
| e
| ⏝
|
v
Dave
ZZiigguurraatt
changed the title
[bug]: Alice forgets about her own private channels when routing a cirular payment back to herself through Bob
[bug]: Alice forgets about her own private channels when routing a circular payment back to herself through Bob
Apr 10, 2025
Consider the following scenario:
where Alice and Bob both have
allow-circular-route
set.If Alice tries to pay an invoice to herself with
AllowSelfPayment: true
, it doesn't route the payment unless she also hasPrivate: true
when runningAddInvoice
.Alice should be smart enough to know about her own private channels with Bob without needing the
Private
flag set totrue
. Especially since taproot asset channels are currently always private channels. We really need Alice to be able to not have to think or even know that those taproot asset channels are private channels and still be able to use them as if they are normal channels, because to her they should be no different than a public channel since they are her channels.Why would Alice ever want to make such a circular self payment?
The text was updated successfully, but these errors were encountered: