Skip to content

Feature Request: Add practical MPP support to SendToRouteV2 #5746

@C-Otto

Description

@C-Otto

Background

Continued from #5733.

Currently, SendToRouteV2 only has very minimal and extremely impractical support for MPP: if just one of the shards fails, it cannot be replaced. A single shard failure causes the whole MPP to fail. This is problematic as the successful shards cannot be cancelled (or settled) and need to time out before their funds can be reused.

Your environment

  • lnd 0.13.1-beta

Steps to reproduce

Send MPP via SendToRouteV2 with two shards, one of them successful (reaching the destination), one of the failing (ending in some "temporary channel failure" due to lack of funds).

Expected behaviour

I can send a shard to replace the failing shard, (hopefully) completing the payment.

Actual behaviour

The payment cannot be re-used or completed. The successful shard blocks funds until it times out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3might get fixed, nice to haveenhancementImprovements to existing features / behaviourfeature requestRequests for new featuresmpp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions