Skip to content

[feature]: Support MPP record (alias Payment_Address) for more RPC calls #9952

@ziggie1984

Description

@ziggie1984

We should always enforce MPP payments because they include the payment_secret which has been introduced a while ago and therefore we should also be able to include the MPP record in the following RPC-Calls.

They are now required in the specification for writer and reader of an invoice, and when sending via a route we should also make sure we include an MPP record.

relates to #9752

Tasks to do:

  1. QueryRoutes should support including an MPP record (payment_addr) when querying the route which can then be used in SendToRoute
  2. SendToRoute should also enforce an MPP record.

Extras:

  1. Allow AMP Record in buildroute
  2. Allow Setting AMP record for QueryRoutes
  3. Allow SendToRoute with an AMP record

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements to existing features / behaviourgRPCgood first issueIssues suitable for first time contributors to LNDpaymentsRelated to invoices/payments

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions