Skip to content

Wire delegated PoS notifications after payment claims#86

Draft
vincenzopalazzo wants to merge 7 commits intomainfrom
macros/pos-bolt12-delegation
Draft

Wire delegated PoS notifications after payment claims#86
vincenzopalazzo wants to merge 7 commits intomainfrom
macros/pos-bolt12-delegation

Conversation

@vincenzopalazzo
Copy link
Copy Markdown
Owner

Summary

  • rebase macros/pos-bolt12-delegation onto current main
  • wire PosNotificationMessage into blinded-path contexts, onion packet parsing, and OnionMessenger dispatch
  • preserve delegated encrypted payment tokens through event persistence and auto-queue PoS payment notifications with reply paths plus sufficient invoice data when delegated payments are claimed

Test plan

  • cargo test -p lightning payment_claimable_roundtrip_preserves_delegated_token --lib
  • cargo test -p lightning pos_notification --lib

Notes

  • this draft updates the branch toward BLIP-56, but it does not yet implement the optional payment_proof flow or the spec’s newer merchant-public-key payment-token encryption model

@vincenzopalazzo vincenzopalazzo force-pushed the macros/pos-bolt12-delegation branch from ba433e8 to cddc0c8 Compare April 14, 2026 17:29
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.

1 participant