-
Notifications
You must be signed in to change notification settings - Fork 412
Closed
Labels
apiA breaking API changeA breaking API changebugSomething isn't workingSomething isn't workingmodule-wallet
Milestone
Description
A fee bump shouldn't try to interpret the existing transaction and replicate it -- it should just create a tx with the appropriate fee that spends one or more of the existing transaction's outputs.
The builder API should just be tx_builder.replace(tx). You could call it several times to replace several transactions.
Originally posted by @LLFourn in #1342 (comment)
NB I think our RBF code is probably wrong but that's another issue. I've done a lot of work in the coin selection crate to get this correct. Getting the API right here and removing footgun allow_shrinking is what's important.
Metadata
Metadata
Assignees
Labels
apiA breaking API changeA breaking API changebugSomething isn't workingSomething isn't workingmodule-wallet
Type
Projects
Status
Done