[feature]: sweep: batch inputs with similar deadlines #8818
Labels
enhancement
Improvements to existing features / behaviour
fees
Related to the fees paid for transactions (both LN and funding/commitment transactions)
utxo sweeping
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.
The text was updated successfully, but these errors were encountered: