bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Feature]: Use higher than 'fast' fee rate for channel opening transaction

Open catch-21 opened this issue 6 months ago • 0 comments

Describe the problem

Bitkit uses the 'fast' fee rate provided by mempool.space for channel opening transactions. In times of low network activity, fee rates are stable but can be subject to small spikes in the market fee rate that can push the transaction out of the next block, or several. One example that can cause this is when block discovery has slowed.

Describe the solution

For the sake of a few sats the UX may be improved by Bitkit preemptively applying a 'surplus' to the fee used for channel opening transactions to beat the market if the real fee rate increases before the transaction confirms. For example, add 5sat/vb to 'fast' for channel opening transactions only.

Additional context

See internal discussion for more details https://synonymworkspace.slack.com/archives/C01H106JRQB/p1723550212066839

catch-21 avatar Aug 13 '24 15:08 catch-21