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 https://github.com/lightningnetwork/lnd/pull/9752
Tasks to do:
QueryRoutes should support including an MPP record (payment_addr) when querying the route which can then be used in SendToRouteSendToRoute should also enforce an MPP record.Extras:
buildrouteQueryRoutesSendToRoute with an AMP record