plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Add new plugin bumpit

Open ca-ruz opened this issue 8 months ago • 2 comments

A Core Lightning plugin to bump an open channel transaction by creating a CPFP, useful when the funding transaction is stuck in the mempool or has a low fee.

https://github.com/ca-ruz/bumpit

Note: This plugin does not work with lightning version 24.08 because it uses the listaddresses rpc call, which was introduced in version 24.11.

ca-ruz avatar Apr 28 '25 21:04 ca-ruz

@ca-ruz looks great so far! I think the testing around the emergency reserve could be improved.. there is an edge case where the user creates a channel and then their change output becomes the emergency reserve, and if they bump this output with too high a fee, the emergency reserve could end up getting inadvertently spent. Please either add a very loud warning about this in the README and in the RPC help strings, or add some logic that removes this footgun.

chrisguida avatar May 20 '25 01:05 chrisguida

@chrisguida Hey! Thanks for the feedback. I added logic that prevents the user from spending the emergency reserve and added a couple of other features. I also updated the tests, all should be passing now.

ca-ruz avatar Jun 04 '25 19:06 ca-ruz