What is Mining and Mining Luck?
4 months ago 7ring Comments Off on What is Mining and Mining Luck?
What is Mining?
If you think that mining is only about solving some complicated math problems, then you are wrong. Miners play a guessing game. They are guessing all the time.
How so? Is it possible that all this energy around the world is used for such nonsense?
Yes, it is!
One of the most important parameters of any cryptocurrency network is block time, that is the time needed to find a new block. For Bitcoin, it is 10 minutes, while for Ethereum it’s 14 seconds. However, Bitcoin block may as well be found in 1 minute, or in 20 minutes. 10 minutes is the average block time (if let’s say, we take 1000 blocks in a row).
It means that every ±14 seconds all Ethereum mining rigs get a new task (job) and try to find the solution for the new block by merely guessing. It’s wrong to think that a specific rig or big mining pools spend a lot of time (hours or even days) trying to find a solution to one block – the problem to solve is one and same for everyone, and it is changed every time a new block is found!
Different mining algorithms are just different equations. Let’s say; one algorithm is A + B = C, while another one is A x B = C. For each block you get constant ‘A’ value, and you are also told that solution ‘C’ is a number with 2 zeros at the end. So you are randomly going through ‘B’ numbers until you find the right solution.
- Easy, right?
Every cryptocurrency network decides on a one-to-one basis how many zeros number ‘C’ must have at the end in the same way that the average time to find a block – “block time” stays within the range of allotted time.
Example: ‘N’ is a cryptocurrency network. You mine on your own. Block time is 1 minute. The network gives you a certain problem, the solution to which (number ‘C’) must have 2 zeros at the end.
Your friend starts to mine the same cryptocurrency. As a result, network processing power doubles, which means that you will find blocks twice as fast – it will take you just 30 seconds. Block time is a parameter that can’t be fooled, so the network will give you a more difficult problem to solve, and now you must find the solution (number ‘C’) that has 3 zeros at the end.
When another 100 friends start to mine, then the network will require you to submit a solution with 10 zeros at the end.
What is Mining Luck?
We have already talked about luck before. In the article called Solo Mining Pools – Gambling for the 21st Century, we gave the following definition of mining luck:
Let’s imagine you are rolling the dice and you need to get 6. In the perfect world, if you roll it many times, number 6 should appear in 16,67% of cases, i.e., every sixth time (since the dice has six faces), right?
In real life, you can get lucky, and the number 6 will appear a few times in a row if you experiment.
The process of solution searching in mining is equivalent to rolling the dice, even though it sounds strange. You are competing with the whole world, but the point doesn’t change.
Let’s say you have one video card, and your friend has 6-GPU Mining Rig, this is equivalent to you having one dice, and him having six dices. You roll each dice once and try to get six.
Apparently, your friend has much more (nine times more) chances of getting six, but it doesn’t mean you can’t win. Let’s suppose that the reward for one block is $70. You can unite with your friend and find the block together, and divide the gainings in a fair way – you get $10, and his part is $60.
Or you can search for the block on your own, and then you get the whole $70 for yourself for the found block. In the perfect world, it would take ten times more time, than if you cooperate with your friend, but our world isn’t ideal.
To many, this explanation appeared to be difficult to understand, so let’s try and put it differently.
So miners play a guessing game. The more hashrate each miner has (MH/s), the more tries it takes to guess block solution he wants. And it’s the same for all the blocks.
For example, you have 100 MH/s, while your friend has 500 MH/s. If you compete with each other, it’s only logical to assume that your friend will outplay you, with you winning once and your friend winning five times. This example is in an ideal world. In reality, if it’s neck-and-neck between you two, it means that you’re in luck, while your friend apparently is not.
Mining Pool Luck
Let’s look at the extract from 2Miners FAQ:
Mining is probabilistic by nature: if you find a block earlier than you statistically should on average, you are lucky if it takes longer, you are unlucky. In a perfect World, the pool would find a block on 100% luck value. Less then 100% means the pool was lucky. More then 100% signifies the pool was unlucky.
Let’s take Bitcoin Gold (BTG): btg.2miners.com
Its block time is 10 minutes, which means that the average of 144 blocks is found daily. At present, the network hashrate is 40 MS/s. If pool hashrate is 10 MS/s, then on average it should find every 4th block (36 blocks a day). When the pool finds 40 blocks a day, it’s in luck, when it finds 20 blocks a day, it’s not. No reason to worry though – it will get lucky another time.
As a rule, pool luck is always aimed at 100%, that is, at perfection.
Let’s look at pool luck statistics of the following cryptocurrencies: Ethereum, Ethereum Classic, and Musicoin.
As you can see, average luck is always around 100%.
Mining Pool’s Myths
- Everyone becomes so frustrated when pool luck is more than 200-300%, saying something like “pool sucks” or “node is not synced” and believing it is the end of the world. But when the same pool finds twice as many blocks a day than in an ideal world, how come everyone is suddenly so silent?
- Many beginning miners think that finding pools spends a lot of time calculating block solution, and getting worried when it takes too long to find a block, blaming it all on the pool. Just remember that all the rigs around the world play a guessing game with the same block.