Skip to content

Conversation

rustyrussell
Copy link
Contributor

@rustyrussell rustyrussell commented Aug 29, 2025

  1. Don't fetchinvoice if we're running the check command.
  2. Test (successfully!) that we fill in the BIP353 fields in the invoice request.
  3. Provide helpful notifications to the caller as we resolve the BIP353 and fetchinvoice.
  4. Allow setting "payer_note" to spam offers.
  5. Forward notifications from askrene's getroutes to callers of xpay.

Closes: #8515

@rustyrussell rustyrussell added this to the v25.12 milestone Aug 29, 2025
@Lagrang3 Lagrang3 self-assigned this Aug 29, 2025
Copy link
Collaborator

@Lagrang3 Lagrang3 left a comment

Choose a reason for hiding this comment

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

This is pretty straightforward.

…ice.

Otherwise cmdline just sees a long pause.

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Added: JSON-RPC: `xpay` fills the awkward silence with notifications when fetching BIP353 or invoices for offers.
… offers.

Simply forwards this to the fetchinvoice call.

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Added: JSON-RPC: `xpay` supports `payer_note` to embed a note in the invoice when paying BIP353 or offers.
This gives us more route details (particularly at higher log levels).

Signed-off-by: Rusty Russell <[email protected]>
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.

xpay should provide notifications when paying BIP353
2 participants