Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Uniex on September 09, 2018, 09:22:48 AM



Title: Bitcoin long confirmation even if txconfirmtarget=1
Post by: Uniex on September 09, 2018, 09:22:48 AM
I send a transaction via bitcoind configured with txconfirmtarget=1,
even if those parameter I dont get confirmed even in 30 minutes ?

Why this happens ? As I see on blockchain.info

Fee size is OK

Quote
Fee per byte   19.329 sat/B


Title: Re: Bitcoin long confirmation even if txconfirmtarget=1
Post by: 7jaka7 on September 09, 2018, 10:06:57 AM
Got accepted now? Maybe you have sent your tx just when we were waiting 40 minutes for new block to get accepted.

http://i63.tinypic.com/2exle2a.png


Title: Re: Bitcoin long confirmation even if txconfirmtarget=1
Post by: bob123 on September 09, 2018, 01:02:12 PM
I send a transaction via bitcoind configured with txconfirmtarget=1,
even if those parameter I dont get confirmed even in 30 minutes ?

txconfirmtarget=X guesses the required fee to get your TX included within the next X blocks.
While blocks are generated at a rate of 6 per hour, this is just an average value.

The time between two blocks can differ between a few seconds to multiple hours. You are never guaranteed to get a confirmation within Y minutes.



Fee size is OK

Quote
Fee per byte   19.329 sat/B

Actually the fee is pretty high.
I would suggest to visit https://jochen-hoenicke.de/queue/#1,8h (https://jochen-hoenicke.de/queue/#1,8h) to check the current status of the mempool.

If you need it to confirm as fast as possible during such spikes, such a fee unfortunately is necessary.
But if you can wait 2-3 blocks, 2 sat/B would have been enough (thats ~1/20 of your current fee).


Title: Re: Bitcoin long confirmation even if txconfirmtarget=1
Post by: Uniex on September 09, 2018, 02:49:12 PM
Got accepted now? Maybe you have sent your tx just when we were waiting 40 minutes for new block to get accepted.

http://i63.tinypic.com/2exle2a.png

Yeah now is OK, but I thought that if normal+ fee is set, then it should be confirmed in 10 minutes max.
Now I understand that's not a usual case.


Title: Re: Bitcoin long confirmation even if txconfirmtarget=1
Post by: 7jaka7 on September 10, 2018, 10:47:12 AM
Got accepted now? Maybe you have sent your tx just when we were waiting 40 minutes for new block to get accepted.

Yeah now is OK, but I thought that if normal+ fee is set, then it should be confirmed in 10 minutes max.
Now I understand that's not a usual case.
No it's not 10 minutes max, but 10 minute on average. You could also be "lucky" and 3 blocks would be accepted within 10 minutes.[1] This does not depend on fees but on a mathematical problem which needs to be solved by all computers/miners in Bitcoin network. As soon as they find a solution block is accepted. It takes 10 minutes on average to solve it.

[1] http://prntscr.com/ksnhd0 3 blocks got accepted in less then 3 minutes.