Pages:
Author

Topic: Electrum Transaction Issue: Unconfirmed Parent; Insufficient fee problem (Read 394 times)

newbie
Activity: 3
Merit: 0
Thank you all very much! They helped me give birth! All transactions were successful  Wink
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
-snip-
I have two unconfirmed parents and one unconfirmed|
If you do not want the two children (labeled with 'Unconfirmed Parent') to be essentially cancelled
once the majority of the nodes accepted the parent's replacement to their mempool or fully invalid once it's confirmed;
You may consider bumping the last child transaction (28322698f7df147c78fe6a326611dc31e85c81ac295a6ec7f487478c8c0905d0) instead.
That's basically a "Child-Pays-for-Parent" CPFP for its two parent transactions.

Its two parents' fees and virtual sizes will be considered when computing the three transactions' overall total fee rate.
e.g.: If you set 120,000 sat as the last child transaction's "new fee" (tick 'Edit fees manually' in the settings icon):
        Total fee rate = (11,835 sat + 12,600 sat + 120,000 sat) / (‎789 vB + 504 vB + 3507 vB)
        30 sat/vB = 144,435 sat / 4,800 vB (given that it wont add another input)
legendary
Activity: 2380
Merit: 5213
591e7f0cb19bdcea02d8b0f41b31d863060739943c2dcdfd1223cc2e1c31cf05
The transaction has two unconfirmed children. So, for replacing that transaction with a new one, nodes have to remove three transactions from their mempool.
The fee you pay for the replacement transaction must be higher than the total fee paid for those three transactions added by minimum fee required for relaying the replacement transaction.

The total fee paid for those three transactions is 101,611 sat.
The minimum relay fee rate for nodes with default setting is now 1 sat/vbyte and the minimum required fee for relaying the replacement transaction is 788.25 sat.

Therefore, the fee you have to pay for the replacement transaction must be at least 102,399.25 which gives the fee rate of 130 sat/vbyte.

So, if you want to replace the parent transaction with a new one, you should increase the fee rate to at least 130 vbyte.
Take note that you may need to increase the fee rate a bit more, since nodes may have different settings.

Since paying such fee may be expensive for you, you may want to consider waiting for the original transaction to be confirmed.
newbie
Activity: 3
Merit: 0
Please tell me what needs to be done to make the transaction go through since this did not happen before
The error message is clear. The fee you set for the replacement transaction was not enough and the server rejected that.

Does your transaction have any child?
Can you share the transaction ID?

By the way, you used the wrong tag for your link, and that made it not work.
Thanks for correcting the link!
I have two unconfirmed parents and one unconfirmed|

591e7f0cb19bdcea02d8b0f41b31d863060739943c2dcdfd1223cc2e1c31cf05
legendary
Activity: 2380
Merit: 5213
Please tell me what needs to be done to make the transaction go through since this did not happen before
The error message is clear. The fee you set for the replacement transaction was not enough and the server rejected that.

Does your transaction have any child?
Can you share the transaction ID?

By the way, you used a wrong tag for your link and that made it not work.
newbie
Activity: 3
Merit: 0
Hello!
I need help; I decided to make several transactions but used a low commission, and now I'm trying to increase the unconfirmed transaction fee, but an error appears.
The server was changed, and the Electrum wallet was rebooted, but it did not help.
Please tell me what needs to be done to make the transaction go through since this did not happen before
https://prnt.sc/84iR-ZLS8jAT
newbie
Activity: 23
Merit: 7
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
Yes. It's also good practice to always preview your transaction before sending. You can enable that as default behavior somewhere in Electrum's settings.
When previewing, check them inputs, outputs and fee.
newbie
Activity: 23
Merit: 7
After selecting, click Send tab.
Use ctrl to select more than 1.

Do you mean after I click 'Spend' on one output point, I just go to the send tab, and make a transaction as usual. Then the coin will only come out of that particular 'control coin balance'
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
After selecting, click Send tab.
Use ctrl to select more than 1.
newbie
Activity: 23
Merit: 7

To be more precise:
You can specify which UTXO (coin) you want to be used for your transaction.
Note that any address can contain numerous UTXOs (coins)

Sure, how to use coin control to make a payment?

I right-clicked on one of the output points, and select Spend, saw that line turns green

legendary
Activity: 2380
Merit: 5213
This should mean that my transaction will be in the 2nd block, right ?
Not necessarily. New transactions will be added to the mempool and they may delay the confirmation of your transaction.


Additionally, I go to mempool.space, it gives 3 fees, Low priority, Medium priority and High priority. How do I read them ?
They are just estimations calculated based on network state.


And I can choose a particular address to make a specific payment
To be more precise:
You can specify which UTXO (coin) you want to be used for your transaction.
Note that any address can contain numerous UTXOs (coins).
newbie
Activity: 23
Merit: 7
When you use "pay to many", you pay bitcoin to all recipients in a single transaction and there is no other transaction at all.

Right, so I just need to pay the fee once. And if it's confirmed, all the recipient would receive their bitcoins. This way can reduce cost as well

Click on "View" at top of the window and select "Show Coins".

Yeah, I see a couple of output points, and each has their address and amount. Do they mean that the total fund in my wallet are stored into these addresses ? And I can choose a particular address to make a specific payment
newbie
Activity: 23
Merit: 7
Additionally, how do you calculate what fees to set, do you refer to a website ?
I always use Johoe's Bitcoin Mempool Statistics.
To know the current required fee, hover your mouse cursor over right side of the chart.

Look at the screenshot I just took.

https://i.imgur.com/vZhXkcR.jpg


The total virtual size of transactions paying at least 1 sat/vbyte is 100 vMB.
The total virtual size of transactions paying at least 2 sat/vbyte is 52 vMB.
The total virtual size of transactions paying at least 3 sat/vbyte is 49 vMB.
...........
...........
...........
The total virtual size of transactions paying at least 17 sat/vbyte is 0.91 vMB.

Note that miners prioritize transactions based on the their fee rate and every block has a capacity of 1 vMB.
So, if I set the transaction fee to more than 17 sat/vbyte, my transaction will likely be confirmed in the next block.
Note that it's possible that new transactions with higher fee rates are added to the mempool and my transaction isn't confirmed in the next block. So, I can pay a bit more (18-20 sat/vbyte) to increase the chance of getting confirmation in the next block.

There are other websites like mempool.space that can be used to estimate the required transaction fee rate.

I am making another transaction now. I use your method, refer to Johoe's Bitcoin Mempool, and see 14+ is 1.122 vMB, so I set my fee 14.2 sat/vB.

This should mean that my transaction will be in the 2nd block, right ? But I right click the transaction, and view on block explorer, it says in 144 blocks. I check back 10 minutes later, it has improved says still in 16 blocks though.

Additionally, I go to mempool.space, it gives 3 fees, Low priority, Medium priority and High priority. How do I read them ?
legendary
Activity: 2380
Merit: 5213
So even one transaction doesn't get confirmed, it wouldn't affect other transactions' progress
When you use "pay to many", you pay bitcoin to all recipients in a single transaction and there is no other transaction at all.


Didn't find the 'Coin control' you mentioned, where is it in Electrum ?
Click on "View" at top of the window and select "Show Coins".
newbie
Activity: 23
Merit: 7
It's fine, I might just redo transaction 1 and 2 later
For the next time: if possible, using "Pay to many" in Electrum gives you lower total fees. You'll have one transaction with multiple outputs and only one change address.

I think the problem here is the 3 transactions are somehow linked with each other, which creates a chain reaction.
That's how a blockchain works: each transaction uses the output from the previous transaction.

Quote
Do you know why this would happen? so I can avoid this situation in future payments
If you have multiple inputs in your own wallet you can use Coin control to avoid this, but you don't need to. It's normal.

Right

The 'Pay to many' option can keep multiple transactions at the same position, right ? So even one transaction doesn't get confirmed, it wouldn't affect other transactions' progress

Didn't find the 'Coin control' you mentioned, where is it in Electrum ?
legendary
Activity: 2380
Merit: 5213
Additionally, how do you calculate what fees to set, do you refer to a website ?
I always use Johoe's Bitcoin Mempool Statistics.
To know the current required fee, hover your mouse cursor over right side of the chart.

Look at the screenshot I just took.




The total virtual size of transactions paying at least 1 sat/vbyte is 100 vMB.
The total virtual size of transactions paying at least 2 sat/vbyte is 52 vMB.
The total virtual size of transactions paying at least 3 sat/vbyte is 49 vMB.
...........
...........
...........
The total virtual size of transactions paying at least 17 sat/vbyte is 0.91 vMB.

Note that miners prioritize transactions based on the their fee rate and every block has a capacity of 1 vMB.
So, if I set the transaction fee to more than 17 sat/vbyte, my transaction will likely be confirmed in the next block.
Note that it's possible that new transactions with higher fee rates are added to the mempool and my transaction isn't confirmed in the next block. So, I can pay a bit more (18-20 sat/vbyte) to increase the chance of getting confirmation in the next block.

There are other websites like mempool.space that can be used to estimate the required transaction fee rate.
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
It's fine, I might just redo transaction 1 and 2 later
For the next time: if possible, using "Pay to many" in Electrum gives you lower total fees. You'll have one transaction with multiple outputs and only one change address.

I think the problem here is the 3 transactions are somehow linked with each other, which creates a chain reaction.
That's how a blockchain works: each transaction uses the output from the previous transaction.

Quote
Do you know why this would happen? so I can avoid this situation in future payments
If you have multiple inputs in your own wallet you can use Coin control to avoid this, but you don't need to. It's normal.
newbie
Activity: 23
Merit: 7
So right now, I will need to get transaction 3 confirmed first,
If you are in hurry, bump the fee of transaction 2.
If you are not in hurry, just wait.

As calculated, the total virtual size of your transactions is 427 vbyte.
Given that for a fast confirmation, transaction fee of around 14 sat/vbyte is required, you need to pay 5978 satoshi in total.
You have paid 3024 satoshi for transactions 1 and 3 and need to pay 2954 satoshi for transaction 2.
If you are in hurry, bump the fee rate of transaction 2 to 21 sat/vbyte.

You can pay a bit more (around 25 sat/vbyte) to make sure your transaction will be confirmed soon. The fee rate required for a fast confirmation changes over time.


I'm now trying to increase the fees for transaction 3. The current fee for transaction 3 is 7 sat/b, but even I put in 27 sat/b, it still says:
With doing so, you invalidate transactions 1 and 2.
If you want all three transactions to included in the blockchain and you are in hurry, bump the fee of transaction 2.

Note that in my previous post, I had assumed that the order is transaction 1 ---> transaction  2 ---> transaction 3 and that was why I said you should bump fee of transaction 3.
Since the order is transaction 3 ---> transaction 1 ---> transaction 2, you should bump fee of transaction 2.

Again, no need to do anything, if you are not in hurry.

It's fine, I might just redo transaction 1 and 2 later

I think the problem here is the 3 transactions are somehow linked with each other, which creates a chain reaction. This was never my intention though when I sent them yesterday. I just wanted to send 3 transaction to 3 different address, they should be independent and not interfere with each other

Do you know why this would happen? so I can avoid this situation in future payments

Additionally, how do you calculate what fees to set, do you refer to a website ?

legendary
Activity: 2380
Merit: 5213
I set the fees to 30 sat/b, and now it changed
At the same time, it shows that transaction 1 and 2 are invalidated
The transaction made with fee rate of 30 sat/vbyte will be likely confirmed in the next block. (A new block is mined every 10 minutes on average)
Transactions 1 and 2 no longer exist.
Pages:
Jump to: