Skip to content

Introduce Custom Data support for ReceiveTlvs - #2830

Closed
shaavan wants to merge 10 commits into
lightningdevkit:mainfrom
shaavan:#1970/custom-tlvs
Closed

shaavan wants to merge 10 commits into
lightningdevkit:mainfrom
shaavan:#1970/custom-tlvs

Conversation

@shaavan

@shaavan shaavan commented Jan 15, 2024 •

Copy link
Copy Markdown
Member

Part of #1970

This PR introduces the ability to add custom data to ReceiveTlvs, enabling users to include this data in the blinded reply path they create for their counterparties. The custom data will be returned to the user once the blinded reply path is utilized, allowing users to attach and retrieve their custom data with the counterparty's Bolt12 message.

Note on Follow-ups

While this PR establishes the core framework for custom data, additional related updates will be handled in follow-up PRs:

  1. Updating the ChannelManager implementation for create_blinded_path to allow users to include custom data in reply paths created via create_{offer, refund}_builder and pay_for_offer.
  2. Adding the ability to assess received custom data in the message_received function (feature dependent on Bolt12 Assessor and Fiat Currency Support for Offers #3525).

Loading
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