Bitcoin Forum
May 13, 2024, 10:34:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: why bitcoin transaction confirmation keep coming  (Read 320 times)
crypto_geek55 (OP)
Jr. Member
*
Offline Offline

Activity: 41
Merit: 1


View Profile
March 08, 2020, 12:56:17 PM
Merited by o_e_l_e_o (1)
 #1

normally when we send funds through bitcoin it requires 4 to 5 confirmation to get in done.
but I have seen that if you visit https://blockstream.info/ after few days, confirmation are still coming.
Can someone why miners are confirming a transaction that is already verified by 5 miners. is it waster of resources and efforts?
Let me know if my logic is correct or wrong.
1715639642
Hero Member
*
Offline Offline

Posts: 1715639642

View Profile Personal Message (Offline)

Ignore
1715639642
Reply with quote  #2

1715639642
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715639642
Hero Member
*
Offline Offline

Posts: 1715639642

View Profile Personal Message (Offline)

Ignore
1715639642
Reply with quote  #2

1715639642
Report to moderator
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3472
Merit: 6134



View Profile
March 08, 2020, 01:15:39 PM
 #2

4-6 confirmations are not required to get the transaction "done". That's only required by the gambling service/exchange or the merchant you're dealing with because they want to protect themselves against double-spends.

You can read these posts[1][2] for a better understanding.

[1] https://bitcoin.stackexchange.com/questions/1170/why-is-6-the-number-of-confirms-that-is-considered-secure
[2] https://en.bitcoin.it/wiki/Confirmation

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
crypto_geek55 (OP)
Jr. Member
*
Offline Offline

Activity: 41
Merit: 1


View Profile
March 08, 2020, 01:26:43 PM
 #3

4-6 confirmations are not required to get the transaction "done". That's only required by the gambling service/exchange or the merchant you're dealing with because they want to protect themselves against double-spends.

You can read these posts[1][2] for a better understanding.

[1] https://bitcoin.stackexchange.com/questions/1170/why-is-6-the-number-of-confirms-that-is-considered-secure
[2] https://en.bitcoin.it/wiki/Confirmation

So basically if we have 6 confirmations then it becomes impossible to forge (I think thats most suited as per my little knowledge) the transactions. Lets make it 20, why doing confirmations for days. I received a payment and its confirmation is still coming 144 so far.
If we restrict confirmation to some limited figures we can sort out the scalability issue.
Pffrt
Sr. Member
****
Offline Offline

Activity: 1372
Merit: 322


View Profile
March 08, 2020, 01:58:29 PM
Merited by ABCbits (1)
 #4

So basically if we have 6 confirmations then it becomes impossible to forge (I think thats most suited as per my little knowledge) the transactions. Lets make it 20, why doing confirmations for days. I received a payment and its confirmation is still coming 144 so far.
If we restrict confirmation to some limited figures we can sort out the scalability issue.
I think you are looking for this- https://bitcoin.stackexchange.com/questions/37582/why-are-there-so-many-confirmations
Quote
The number of confirmations indicates under how many blocks your transaction is buried. The more the confirmations, the more your transaction is secure from double-spending attacks. So the confirmations will continue growing forever - this is normal behavior.
Although it's impossible to reverse a transaction, the confirmations are securing your transactions more so that no one can reverse it. The more blocks are generated, the more confirmation each and every previous transaction get.
Becky666
Full Member
***
Offline Offline

Activity: 756
Merit: 231



View Profile WWW
March 08, 2020, 02:03:39 PM
 #5


<~~~>

So basically if we have 6 confirmations then it becomes impossible to forge (I think thats most suited as per my little knowledge) the transactions.

Yes, with 6 confirmation the transaction has been recorded on the Blockchain. In simple terms, with 6 confirmation there's a clearance already.

Quote
Lets make it 20, why doing confirmations for days. I received a payment and its confirmation is still coming 144 so far.

Believe me, that transaction has been confirmed and ready to be spend.

Quote
If we restrict confirmation to some limited figures we can sort out the scalability issue.

Practically I see no reason to that because, at 6 confirmation we're ready to spend the recharge.

Take a look at this but has been spent


out of darkness movie summary

███████ ███████     R O L L B I T           The Social & Provably Fair Crypto Casino           [ PLAY NOW ]     ███████ ███████
/  SLOTS     /  GAME SHOW     /  LIVE CASINO     /  ROULETTE     /  BLACKJACK
|          Twitter          |        ♠   Instant Deposits & Withdrawals   -   Live Customer Support   -   Rakeback & Level Up Bonuses   ♠      |          Discord          |
joniboini
Legendary
*
Offline Offline

Activity: 2184
Merit: 1792



View Profile WWW
March 08, 2020, 02:09:19 PM
 #6

Can someone why miners are confirming a transaction that is already verified by 5 miners. is it waster of resources and efforts?

They're not 'reconfirming' it. Confirmation does not indicate how many miners verify that block afaik. It indicates how 'deep' your tx is on the whole blockchain. Check https://en.bitcoin.it/wiki/Confirmation again, it's explained there.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
March 08, 2020, 02:56:49 PM
Merited by bones261 (4), Foxpup (3), DooMAD (2), ABCbits (1), hosseinimr93 (1), DdmrDdmr (1), Heisenberg_Hunter (1)
 #7

but I have seen that if you visit https://blockstream.info/ after few days, confirmation are still coming.
As long as miners are mining and bitcoin is still functioning, the number of confirmations on all transactions will increase forever.

Can someone why miners are confirming a transaction that is already verified by 5 miners. is it waster of resources and efforts?
They aren't, and it isn't wasting anything.

The process of mining a block requires certain pieces of information. One of those pieces of information comes from the previous block (technically speaking it is the hash of the previous block header) and if anything in the previous block was changed, so would that piece of information, rendering all blocks built upon it invalid. Therefore, when a block is mined, it also serves to verify the previous block (and, therefore, every block before it right back to the first block).

Lets say you make a transaction, and it gets mined and included in block 620,000. It now has one confirmation. The miner who mines the next block (620,001) doesn't include your transaction, doesn't care about your transaction, doesn't process it, might not even know it existed. All it cares about is this small piece of information from the last block. When block 620,001 is mined, it builds upon this piece of information which means that your transaction is now two blocks "deep". If somebody wanted to alter your transaction, they couldn't just alter the block it is in (620,000), because that would change the piece of information that block 620,001 is built on, rendering them both invalid, meaning an attacker would have to alter two blocks - hence two confirmations. Block 620,002 will build upon the information from block 620,001, which built upon the information from block 620,000. And so on. In this way, each block serves to "confirm" the blocks which came before, without wasting any resource or energy on the individual transactions.
crypto_geek55 (OP)
Jr. Member
*
Offline Offline

Activity: 41
Merit: 1


View Profile
March 08, 2020, 06:14:29 PM
 #8

but I have seen that if you visit https://blockstream.info/ after few days, confirmation are still coming.
As long as miners are mining and bitcoin is still functioning, the number of confirmations on all transactions will increase forever.

Can someone why miners are confirming a transaction that is already verified by 5 miners. is it waster of resources and efforts?
They aren't, and it isn't wasting anything.

The process of mining a block requires certain pieces of information. One of those pieces of information comes from the previous block (technically speaking it is the hash of the previous block header) and if anything in the previous block was changed, so would that piece of information, rendering all blocks built upon it invalid. Therefore, when a block is mined, it also serves to verify the previous block (and, therefore, every block before it right back to the first block).

Lets say you make a transaction, and it gets mined and included in block 620,000. It now has one confirmation. The miner who mines the next block (620,001) doesn't include your transaction, doesn't care about your transaction, doesn't process it, might not even know it existed. All it cares about is this small piece of information from the last block. When block 620,001 is mined, it builds upon this piece of information which means that your transaction is now two blocks "deep". If somebody wanted to alter your transaction, they couldn't just alter the block it is in (620,000), because that would change the piece of information that block 620,001 is built on, rendering them both invalid, meaning an attacker would have to alter two blocks - hence two confirmations. Block 620,002 will build upon the information from block 620,001, which built upon the information from block 620,000. And so on. In this way, each block serves to "confirm" the blocks which came before, without wasting any resource or energy on the individual transactions.

that clarifies the whole problem.
confirmation that are coming are not for current transactions but for next transaction.
thanks.
hatshepsut93
Legendary
*
Offline Offline

Activity: 2968
Merit: 2147



View Profile
March 08, 2020, 06:48:52 PM
 #9

So basically if we have 6 confirmations then it becomes impossible to forge (I think thats most suited as per my little knowledge) the transactions.

You can't forge Bitcoin transactions, because they are built on strong cryptography, but transactions can be erased as if they never existed if a fork occurs - this means a transactions was included in a block, but then a different chain was mined on top of some earlier block, and that chain got more proof-of-work then the current chain, so it overtook it. On practice it's (almost?) never happens, but still the risk is there, and the more confirmations you have, the more costly it would be to erase that transaction.

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
March 08, 2020, 07:36:16 PM
Merited by Foxpup (2), hatshepsut93 (1)
 #10

but transactions can be erased as if they never existed if a fork occurs
That's not quite accurate. If blocks are orphaned*, the transactions contained within them simply return to the mempool and are ready to be included in subsequent blocks. They aren't erased.

On practice it's (almost?) never happens
It actually happens not infrequently to a single block. The most recent example I am aware was at height 619,970, which was only a few days ago on March 3rd. Here is the accepted block at height 619,970, and here is the stale block at the same height. The stale block was mined 4 seconds after the accepted block. There were 10 transactions in the stale block which weren't include in the accepted block, so these transactions could potentially have shown up as going from 1 confirmation back to zero confirmations, depending on which node or block explorer was being used to view them. All 10 of these were included in block 619,971, however.



*The term orphan is a misnomer, and these should really be called stale blocks. Orphan implies blocks which have no known parent, when in actual fact, these blocks have a known parent, but have been rejected in favor of a longer chain with more proof of work.
hatshepsut93
Legendary
*
Offline Offline

Activity: 2968
Merit: 2147



View Profile
March 08, 2020, 07:47:03 PM
 #11

That's not quite accurate. If blocks are orphaned*, the transactions contained within them simply return to the mempool and are ready to be included in subsequent blocks. They aren't erased.

So, when a chain split is detected, nodes "disassemble" the blocks and put the transactions back in their mempool, right? Or do they just keep included transactions in mempool for some time after they were included in a block? Also, is this limited up to certain block depth or is there no such limit?

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
March 08, 2020, 08:15:45 PM
 #12

So, when a chain split is detected, nodes "disassemble" the blocks and put the transactions back in their mempool, right?
Essentially yes, the stale block's transactions are returned to the individual node's mempool. There's a good explanation from Pieter Wuille about this here: https://bitcoin.stackexchange.com/a/50071

Also, is this limited up to certain block depth or is there no such limit?
There is theoretically no limit. The longest chain reorganization that I am aware of is 53 blocks in August 2010 caused by the value overflow bug, but chain reorganizations which occur organically without an attack or a bug are very rarely more than a single block.
hermawan9416
Jr. Member
*
Offline Offline

Activity: 82
Merit: 1


View Profile
March 09, 2020, 08:45:02 AM
 #13

I am more interested in the question why has no one yet come up with a way to increase the speed of transactions?
buwaytress
Legendary
*
Offline Offline

Activity: 2800
Merit: 3448


Join the world-leading crypto sportsbook NOW!


View Profile
March 09, 2020, 08:56:01 AM
 #14

I am more interested in the question why has no one yet come up with a way to increase the speed of transactions?

Plenty of projects have. But the speed of transactions relies on a number of factors -- and as you will understand later, has little bearing on what the network will feel is adequate for it to be secure.

For Bitcoin, block time is fixed at an average of once every 10 minutes. But because the amount of computing power securing the network, along with the diversity of nodes, is so great, that most people will accept 1 confirmation as secure enough (in fact, I myself accept 0 confirmations even, as long as I feel there is little to risk in terms of double spend and I trust the person enough).

But with faster blockchains, the risk of double spending also increases, and many other risks... so you'll end up with faster confirmation times, but more confirmations required, as in the case of LTC or even ETH. End game? You end up waiting the same time for confirmations.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
March 09, 2020, 10:48:45 AM
Merited by Foxpup (2), ABCbits (1)
 #15

Transactions are very fast, and propagate around the network in a few seconds. What is slower is confirmations, but I reject the notion that transactions are too slow.

If we compare to a credit card payment with fiat, for example, the transaction is also broadcast within a few seconds, but it will take several days for the money to actually reach the recipient's account, and the transaction can still be reversed for many months after it has been made. Bitcoin achieves transaction finality in under an hour. If that still isn't enough for you, then you can use Lightning for instant confirmation.

As buwaytress has said, some altcoins have faster confirmations, but one altcoin confirmation is far less secure than one bitcoin confirmation. Even Ethereum takes several hours to reach the same level of security as bitcoin does in 6 confirmations, with other altcoins taking several days. See here for more info: https://howmanyconfs.com/
tbterryboy
Sr. Member
****
Offline Offline

Activity: 1932
Merit: 322


View Profile
March 09, 2020, 06:22:01 PM
 #16

Even if the transaction has just one confirmation it can still be spent, there are wallets that attempts to spend a money that has not even be confirmed yet. You will only have conditions when you’re making use of exchanges or platforms like Xapo, Coinbase, and other sites that offer some services that has to do with Bitcoin. If you’re making use of Xapo wallet you will notice that any money that’s sent to your wallet does not reflect and can’t be used until it has up to 5 to 6 confirmations.

But, if you’re making use of the Blockchain wallet there are no conditions as such, you can easily spend the money immediately it arrives your wallet. But those confirmation are needed to avoid double spending as others have said, it authenticates the transaction.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
March 09, 2020, 07:26:05 PM
Merited by Foxpup (1)
 #17

Even if the transaction has just one confirmation it can still be spent
You can actually spend coins before they have any confirmations at all. If your secondary transaction is to be included in a block, then the primary transaction will automatically be included by the miner in question and they will both then confirm at the same time. This is utilized in what is known as "Child pays for parent" (CPFP) transactions. These can be used if a transaction has too low a fee and is taking a long time to confirm. Making a second transaction using one of the outputs of the first transaction, but with a higher fee, incentivizes miners to mine your second transaction, and they will then automatically mine your first (lower fee) transaction in the process.

Web wallets won't let you do this, and won't show your balance until after 3/5/6/whatever transactions, because when you are using a web wallet you don't own any bitcoin. The company who controls the web wallet owns all the bitcoin, and it simply showing you a balance.
seoincorporation
Legendary
*
Offline Offline

Activity: 3150
Merit: 2937


Top Crypto Casino


View Profile
March 10, 2020, 05:18:35 AM
 #18

normally when we send funds through bitcoin it requires 4 to 5 confirmation to get in done.
but I have seen that if you visit https://blockstream.info/ after few days, confirmation are still coming.
Can someone why miners are confirming a transaction that is already verified by 5 miners. is it waster of resources and efforts?
Let me know if my logic is correct or wrong.

Let me introduce to you the Blockchain, the name was supposed to describe itself but we can explain it for you. Bitcoin transactions are confirmed when the block gets confirmed, but that block gets inside the Chain, and as a chain who is growing all is now in the line. All the confirmed transactions get a new confirmation each time a new block gets confirmed, but isn't a waste of resources because that block only has information about the current transactions on it, and not about the past blocks.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
March 10, 2020, 08:51:35 AM
Merited by bones261 (2), Heisenberg_Hunter (1)
 #19

that block only has information about the current transactions on it, and not about the past blocks.
That's not completely accurate though. You can see my post above for a simple explanation.

More technically, each block contains a number of pieces of information. Information regarding the current transactions makes up the vast bulk of the block, but there is additional information stored in the block header, such as the version, the time, the target, the nonce, the Merkle root, and a hash of the previous block header.

To create the Merkle root, the miner hashes together pairs of transactions, and then hashes together the results in pairs, and then hashes together those results in pairs, and so on, creating what is known as a Merkle tree. Once they reach a single final value, that is known as the Merkle root, and it is inserted in the block header. Changing any transaction in the block will change its hash, which will change the resulting Merkle root.

When a miner comes to mine the next block, they include a hash of the previous block's header. As we've just said, if any of the transaction from the previous block were changed, their hashes would change, and so would the Merkle root, and so too, then, would the hash of the block header which is included in the next block (which would change the hash of its header which is to be included in the block after that, and so on).

By this process, each block contains information about previous blocks, and each block confirms that previous transactions haven't changed in any way due to including the hash of the previous block header.


amnkc
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 10, 2020, 03:53:06 PM
 #20

i sent a transaction  yesterday and it has about 100 confirmations. Sent from my wallet to an account of at a market, but still isn't showing up in my balance
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!