How does work the next block election in blockchain?

0

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?

Marcelo Maico

Posted 2019-01-19T22:38:51.313

Reputation: 1

Question was closed 2019-01-20T02:33:04.310

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 2019-01-19T23:13:42.223

1Mining is a lottery, as the answers in that post explains. Your understanding of the process is incorrect.G. Maxwell 2019-01-19T23:27:31.560

@G.Maxwell I edit the question and created a scenario. Can you answer? What's the correct view?Marcelo Maico 2019-01-19T23:32:24.260

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 2019-01-20T00:27:38.493

No answers