Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Adding --private to addInvoice RPC call #583

Open
TKone7 opened this issue Jul 23, 2024 · 0 comments
Open

Adding --private to addInvoice RPC call #583

TKone7 opened this issue Jul 23, 2024 · 0 comments

Comments

@TKone7
Copy link

TKone7 commented Jul 23, 2024

Hey there
I installed NWC next and connected it to my Alby account. So far so good, amazing job 🎉

At the moment I only have one private channel. If I then use my Alby Lightning Address to resolve an invoice it does not contain route hints. That invoice will be useless because no one in the network will find a route to my private node.

Would it make sense to include the --private parameter to the addInvoice RPC call to include route hints per default? I have seen that this used to be enabled by default by lnd, but then removed because of privacy considerations. Now one has to actively opt-in to include route hints.

Alternatively, the flag could be set only if all channels are private.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant