<p>In the mining process each miner will create a block with the transactions found in the pool and will start the calculation of nonce, the miner with greater hash power will finish the job first and announce the block. </p>

<p>When the process starts the miners will start the calculation again(the slowest and the fastest), imagine that we have 2 pools of mining and the slower needs 2 hour to calculate a nonce and the faster 2 minutes, the window of 10 minutes will have a winner and the slower have to start the caculation again. </p>

<p>How does lottery work to the solve this problem? </p>

CC BY-SA 4.0
2019-01-19T23:13:42.223Z
In this question no have the answer for my question. Because they comment about a lottery, by nobody explained how the algorithm solve.
Marcelo Maico
CC BY-SA 4.0
2019-01-19T23:27:31.560Z
Mining is a lottery, as the answers in that post explains. Your understanding of the process is incorrect.
G. Maxwell
CC BY-SA 4.0
2019-01-19T23:32:24.260Z
@G.Maxwell I edit the question and created a scenario. Can you answer? What's the correct view?
Marcelo Maico
CC BY-SA 4.0
2019-01-20T00:27:38.493Z
The flaw in your question is that "time to calculate a nonce" is *random, not deterministic*.  It may be that A needs 2 minutes and B needs 2 hours *on average*, but that does not imply that A will *always* beat B; B can still get lucky.
Nate Eldredge
<bitcoin-core><blockchain><mining-theory>
How does work the next block election in blockchain?
Marcelo Maico
# How does work the next block election in blockchain?

(Asked by: username_0 on 2019-01-19)

In the mining process each miner will create a block with the transactions found in the pool and will start the calculation of nonce, the miner with greater hash power will finish the job first and announce the block.

When the process starts the miners will start the calculation again(the slowest and the fastest), imagine that we have 2 pools of mining and the slower needs 2 hour to calculate a nonce and the faster 2 minutes, the window of 10 minutes will have a winner and the slower have to start the caculation again.

How does lottery work to the solve this problem?

**Tags:** bitcoin-core, blockchain, mining-theory

> **Comments:**
> **username_0**: In this question no have the answer for my question. Because they comment about a lottery, by nobody explained how the algorithm solve.  
> **username_1**: Mining is a lottery, as the answers in that post explains. Your understanding of the process is incorrect.  
> **username_0**: @G.username_1 I edit the question and created a scenario. Can you answer? What's the correct view?  
> **username_2**: The flaw in your question is that "time to calculate a nonce" is *random, not deterministic*.  It may be that A needs 2 minutes and B needs 2 hours *on average*, but that does not imply that A will *always* beat B; B can still get lucky.  

---

## 0 answers

