3 ms·
The random chance is very very low. For simplicity, let's say that 50% of the hashing power agree and 50% of the hashing power disagree. Then the probability of
by gus_massa 11y ago
The random chance is very very low. For simplicity, let's say that 50% of the hashing power agree and 50% of the hashing power disagree. Then the probability of getting 750 blocks is 7*10^-59 ( http://www.wolframalpha.com/input/?i=binomial+distribution+n%3D1000%2C+p%3D0.5%2C+at+least+750+success http://www.wolframalpha.com/input/?i=binomial+distribution+n... ) There are approximately 50000 blocks in a year, so the expected time is a lot of millions of years.
This changes when most of the hash power agree. If the 74% agree then the chances are 24% ( http://www.wolframalpha.com/input/?i=binomial+distribution+n%3D1000%2C+p%3D0.74%2C+at+least+750+success http://www.wolframalpha.com/input/?i=binomial+distribution+n... ). The calculation is more complicated because the intervals may overlap, but this would take less than a year.
So, when more than 70% of the hash power agree, it's time to upgrade, but 70% is a clear majority.
(Just for curiosity: With 75% hash power you get a 52% chance. With 76% hash power you get a 78% chance.)
- badgar 11y agoThank you for taking the time to run the numbers. Your parent poster stuck out as obviously wrong based on high-school math.
- someguydave 11y agoThis calculation doesn't address the arbitrary nature of the threshold.