-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug]: sweeper (bumpfee) creates invalid transaction (not paying higher fees when necessary) #7972
Comments
Looks like it's the issue mentioned here. Do you also see the sweeping transaction for input B only being created? |
I don't understand the question. I posted the logs, what exactly are you looking for? |
Something like |
Please have another look at my issue. The first transaction is unproblematic and ends up in the mempool. The second transaction is the one for which I showed the logs, including the resulting error. I still don't understand what kind of information is missing. |
Ah. I think I understand what you're asking for, let me have a look. |
For the problematic sweep transactions I also see various other sweep transactions making use of other inputs, yes. If "x and y" as inputs result in an error, "x and z" is attempted a bit later. |
So I think what's happening here is that we always create two input sets here. Each of the input sets is used to create a sweeping transaction. This means,
The solution is,
|
Background
The sweeper creates a combined sweep transaction, using another pending sweep transaction's input as an input, without raising the fee rate. The resulting combined transaction cannot be broadcast because of that.
Your environment
Steps to reproduce
Run bumpfee for input A and 15 sat/vByte, resulting in a sweep transaction paying 15 sat/vByte.
Wait for the sweep transaction to broadcast.
Run bumpfee for input B and 15 sat/vByte before the sweep for input A is confirmed.
Expected behaviour
Input A is not used as an input for the sweep transaction for input B.
Actual behaviour
It is used, resulting in an error:
The text was updated successfully, but these errors were encountered: