Skip to content

Allow to manually register and claim payments #280

Closed
@tnull

Description

@tnull

We should allow users to register interest in payments for which they got the preimage out-of-bounds. We'd then issue a PaymentClaimable event similar to the one in LDK and would allow them to manually claim such payments.

Things to figure out:

  1. Should we keep a list of payment hashes for which we always issue PaymentClaimable, or issue PaymentClaimable if we can't claim with our default logic already
  2. Can we avoid PaymentClaimable being issued if users don't expect it? Should we have a config flag? Or could we even always issue it but auto-fail the payment if it's issued and the user calls event_handled without claiming the payment?
  3. If/how we want to track them in the payment store

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions