Skip to content

Re-export RouteHint and PaymentSecret #2572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

benthecarman
Copy link
Contributor

Some projects that use lightning_invoice to construct invoices need to use lightning purely to have access to RouteHint and PaymentSecret. Re-exporting should make it simpler

@benthecarman benthecarman force-pushed the rexport-route-hint-secret branch from 9136044 to 1d3c254 Compare September 13, 2023 01:34
TheBlueMatt
TheBlueMatt previously approved these changes Sep 13, 2023
@TheBlueMatt TheBlueMatt merged commit 51d5ead into lightningdevkit:main Sep 14, 2023
ErikDeSmedt added a commit to ErikDeSmedt/rust-lightning that referenced this pull request Sep 19, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
ErikDeSmedt added a commit to ErikDeSmedt/rust-lightning that referenced this pull request Sep 19, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
ErikDeSmedt added a commit to ErikDeSmedt/rust-lightning that referenced this pull request Sep 20, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
ErikDeSmedt added a commit to ErikDeSmedt/rust-lightning that referenced this pull request Sep 20, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
ErikDeSmedt added a commit to ErikDeSmedt/rust-lightning that referenced this pull request Sep 20, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
ErikDeSmedt added a commit to ErikDeSmedt/rust-lightning that referenced this pull request Sep 20, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
ErikDeSmedt added a commit to ErikDeSmedt/rust-lightning that referenced this pull request Sep 21, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
dunxen pushed a commit to dunxen/rust-lightning that referenced this pull request Sep 26, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
slanesuke pushed a commit to slanesuke/rust-lightning that referenced this pull request Oct 6, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
optout21 pushed a commit to optout21/rust-lightning that referenced this pull request Nov 4, 2023
Earlier @benthecarman re-exported `RouteHint` to make life-easier
for developpers that use `lightning-invoice` and don't use the
`lightning`-crate.

This only solved part of the issue. To create a `RouteHint` the
developer must also have access to `RouteHintHop`.

See also:
  PR lightningdevkit#2572
	commit 79b426f
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.

4 participants