Skip to content

[feature]: sweep: batch inputs with similar deadlines #8818

Open
@morehouse

Description

@morehouse

Currently the sweeper will only batch inputs that have the exact same deadline. This is reasonable for shorter deadlines, where a single block difference in deadline calls for significantly different fees.

But for no-deadline sweeps, an artificial deadline of 1008 blocks is used, which causes later no-deadline sweeps to have a different deadline and be batched separately. As discussed in #8751 (comment), we could save on fees if all no-deadline sweeps could be batched together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements to existing features / behaviourfeesRelated to the fees paid for transactions (both LN and funding/commitment transactions)utxo sweeping

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions