Skip to content

Scan Mempool for HTLC preimages #2341

Open
@TheBlueMatt

Description

@TheBlueMatt

With HTLC transactions getting delayed confirming due to fee spikes and HTLCs sticking around too long causing force-closes, it may be worth at least having an API to do mempool scans for HTLC preimages, mostly because it'd be a pretty simple API. Basically all we'd need it a method for users to pass in loose transactions (which match our filter) which we look at for preimages and claim HTLCs backwards if we find any. We'd want to keep it optional and wouldn't include it in our trust model, but given the API is simple it may be worth doing eventually. Certainly not a high priority, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions