Skip to content

Allow including routing hints when creating Bolt 11 invoice#2909

Merged
t-bast merged 2 commits intomasterfrom
invoice-routing-hints
Sep 23, 2024
Merged

Allow including routing hints when creating Bolt 11 invoice#2909
t-bast merged 2 commits intomasterfrom
invoice-routing-hints

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Sep 18, 2024

When nodes only have private channels, they must include routing hints in their Bolt 11 invoices to be able to receive payments. We add a parameter to the createinvoice RPC for this. Note that this may leak the channel outpoint if scid_alias isn't used.

Fixes #2802

When nodes only have private channels, they must include routing hints
in their Bolt 11 invoices to be able to receive payments. We add a
parameter to the `createinvoice` RPC for this. Note that this may leak
the channel outpoint if `scid_alias` isn't used.

Fixes #2802
Copy link
Contributor

@thomash-acinq thomash-acinq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, there is just a TODO left.

@t-bast t-bast merged commit 885b45b into master Sep 23, 2024
@t-bast t-bast deleted the invoice-routing-hints branch September 23, 2024 07:44
t-bast added a commit that referenced this pull request Dec 4, 2024
This release introduces a few API changes:

- `channelstats` now takes optional parameters `--count` and `--skip`
  to control pagination. By default, it will return the first 10
  entries (#2890)
- `createinvoice` now takes an optional `--privateChannelIds` parameter
  that can be used to add routing hints through private channels (#2909)
- `nodes` allows filtering nodes that offer liquidity ads (#2848)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not posible to add routing hints, when creating invoice

2 participants