Bitcoin Forum
April 23, 2024, 08:53:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: What's the chance that two miners find a block at the same time?  (Read 888 times)
g2com (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 255


View Profile
November 28, 2016, 08:17:12 AM
 #1

Bitcoin's consensus takes the longest chain and occasionally there can be more than one blocks mined at the same time, causing a temporary fork. My question is, how often does this situation happen? and how close is the gap between the first and the second, say, if miners continue to mine the block after the first block is announced, how long does it take for the second miner to announce the block?
1713862385
Hero Member
*
Offline Offline

Posts: 1713862385

View Profile Personal Message (Offline)

Ignore
1713862385
Reply with quote  #2

1713862385
Report to moderator
1713862385
Hero Member
*
Offline Offline

Posts: 1713862385

View Profile Personal Message (Offline)

Ignore
1713862385
Reply with quote  #2

1713862385
Report to moderator
1713862385
Hero Member
*
Offline Offline

Posts: 1713862385

View Profile Personal Message (Offline)

Ignore
1713862385
Reply with quote  #2

1713862385
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713862385
Hero Member
*
Offline Offline

Posts: 1713862385

View Profile Personal Message (Offline)

Ignore
1713862385
Reply with quote  #2

1713862385
Report to moderator
DrG
Legendary
*
Offline Offline

Activity: 2086
Merit: 1035


View Profile
November 28, 2016, 11:52:17 AM
 #2

Both finding at the same time...I assume you mean plus or minus 1 second since time can be more or less divided infinitely. The one who gets consensus first wins - hence the bullying worry of 51% pools.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
November 28, 2016, 12:04:55 PM
Last edit: November 28, 2016, 12:21:28 PM by BurtW
 #3

If you mean "at the same time" that two miners present possible solutions for the current block then this happens all the time and causes one of the blocks to become an "orphaned block".  The miner that mines the block containing the most work automatically wins and the miner who mined the block with less work gets the shaft (no reward).

Statistic here:

https://blockchain.info/charts/n-orphaned-blocks

I found a real cool view of this phenomenon:

https://blockchain.info/orphaned-blocks



Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
g2com (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 255


View Profile
November 28, 2016, 12:46:42 PM
 #4

If you mean "at the same time" that two miners present possible solutions for the current block then this happens all the time and causes one of the blocks to become an "orphaned block".  The miner that mines the block containing the most work automatically wins and the miner who mined the block with less work gets the shaft (no reward).

Statistic here:

https://blockchain.info/charts/n-orphaned-blocks

I found a real cool view of this phenomenon:

https://blockchain.info/orphaned-blocks




That is a lot of blocks! Thanks for sharing this information.
g2com (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 255


View Profile
November 28, 2016, 12:54:43 PM
 #5

If you mean "at the same time" that two miners present possible solutions for the current block then this happens all the time and causes one of the blocks to become an "orphaned block".  The miner that mines the block containing the most work automatically wins and the miner who mined the block with less work gets the shaft (no reward).

Statistic here:

https://blockchain.info/charts/n-orphaned-blocks

I found a real cool view of this phenomenon:

https://blockchain.info/orphaned-blocks




This has sparkled me a new question: what will happen if Bitcoin changes its incentive to not the only awarding the first miner, but top N miners who broadcast their blocks, each gets a share according to their chronologoical order? Like 1st gets 50%, 2nd gets 25%, 3rd gets 12.5%, etc
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
November 28, 2016, 01:22:02 PM
 #6

This has sparkled me a new question: what will happen if Bitcoin changes its incentive to not the only awarding the first miner, but top N miners who broadcast their blocks, each gets a share according to their chronologoical order? Like 1st gets 50%, 2nd gets 25%, 3rd gets 12.5%, etc
The Bitcoin protocol is almost impossible to change, so the quick answer to your question is that this will never change.

If you could change the protocol a better change would be to reward full nodes for operating on the network.  Currently people (like me) that operate full nodes get no compensation at all so the number of full nodes operating continues to shrink.

But, like I said the Bitcoin protocol is almost impossible to change since pretty much everyone has to agree to any change.

A longer answer is that the miners consider orphaned blocks part of their "cost of doing business".  Every miner gets a percentage of the orphaned blocks so the pain is spread out among the miners.  Orphaned blocks are just a fact of life for the miners.  I do not want to get into all this but the orphaned block rate figures into the whole controversy related to raising the block size.

Raising the block size is an example of a change to the protocol that has been proposed and debated for months and months in hundreds of threads here on this forum and there is still no consensus on how to move forward on this one single change to the protocol.

By design changing the protocol is very very hard to do.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
Pages: [1]
  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!