14

I understand the following

Pooled mining is a mining approach where multiple generating clients contribute to the generation of a block, and then split the block reward according the contributed processing power. Pooled mining effectively reduces the granularity of the block generation reward, spreading it out more smoothly over time.

How does it work under the hood? What does the mining pool server do in terms of computation?

What do the mining workers do differently then if they would be mining solo?

4

The mining pool coordinates the workers. Think of it like a lottery. If you and your friends all buy tickets in the lottery the group has a better chance of winning. To be fair in the lottery example everyone should be rewarded proportional to the amount of money spent on tickets. So if there are 20 tickets for the pool one person purchased 10 and two people purchased 5 each - if one of the 20 tickets win the person who purchased 10 gets 50% and the other two get 25% each.

What a mining pool does is function as a coordinator for all the pool participants doing:

  1. Taking the pool members hashes
  2. Looking for block rewards
  3. Recording how much work all the participants are doing
  4. Assigning block rewards proportionally to participants

Miners mine differently by running pool software instead of the bitcoin client and just performing hashes for the pool.

Source: https://captainaltcoin.com/what-is-pool-mining/

  • 5
    Not clear. How they taking hashes? They should validate them, right? But validation means rehash, in other words - do the same work as miner. How is this possible? – turbanoff Nov 7 '17 at 9:39
11

What do the mining workers do differently then if they would be mining solo?

A miner that is mining within a third-party pool doesn't need the entire block chain. In fact it doesn't need to be connected to any peers of the Bitcoin network. These miners work entirely outside of the network and could technically just need to communicate to the administrator of the pool in order to mine.

The admin of the pool, on the other hand, needs to be exposed to the Bitcoin network and needs to listen for new blocks and validate transactions. The admin of a pool is a full Bitcoin node as described in Satoshi's paper.

How does it work under the hood? What does the mining pool server do in terms of computation?

What happens behind the hood is that the pool admin uses the combination of the miners computation, within her pool, as sort of an extension to her computational power. To do this there's specific software installed on the admin's server that takes care of making sure each miner is doing the work requested.

During a 10 minute block cycle, since most miners within a pool won't actually solve the block (only 1 miner on average will), the admin needs to make sure that miners are actually working on the problem.

To do this the miners solve a reduced difficulty hash, but one that could have also solved the actual hash, so it proves to the administrator they're actually working on the problem.

  • i dont understand one thing - when it is just one person that solves the block becouse he is the fastest, why the hell are then others needed to do the job? I may sound stupit but why should the admin of the mining pool even give the other members money when it is just one or two persons that are fast enough to overspeed the others and earn coins? – Burak Kilinc Jul 30 '17 at 14:39
  • Do not use answers to ask a question. But I will answer your question. Bitcoin is a decentralized platform, meaning ownership is distributed throughout all the users. There is no admin, government, or higher power in the bitcoin network. Multiple miners exist because of the reward for mining a block. Anyone can be a miner, so people are trying to earn money through it. Also, if the leader of the mining pool doesn't let anyone else join, the other pools (there are a ton) will just mine faster than that one person because they have more computational power. – James P. Jul 30 '17 at 15:52
  • @BurakKilinc Because miners are obviously not hashing the same inputs and on average, each miner earn a proportional share of coins to its computational power. – arteymix Aug 29 '17 at 17:06
  • 3
    I don't exactly grasp "miners solve a reduced difficulty hash" - is there a good example on this maybe? – jayarjo Sep 22 '17 at 18:52
  • @BurakKilinc Because those slower miners can also find a block. They are paid for the work they have done for TRYING to find a block. – kuchi Mar 25 '18 at 19:54
0

Mining Pools are close to SoloMining under the hood. Most computers and hardware would take years to generate a block because they come in groups of 25 Bitcoins.

However with a mining pool the bitcoin share goes to the server its self and then it calculates the ammount of work that your hardware personally did. They will then send you that ammount of bitcoins.

All that the pooled mining servers do is record your amount of work. The mining server is basically Solo Mining.

protected by Community Nov 29 '17 at 20:35

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.