Questions tagged [difficulty]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
23
votes
1answer
5k views

What is the “difficulty bomb” and what is the goal of it?

The difficulty bomb is related to the switch to proof of stake. How does it work exactly and why is it going to help to switch to proof of stake?
13
votes
2answers
6k views

How does the Ethereum Homestead difficulty adjustment algorithm work?

From From EIP 2, the Homestead difficulty adjustment algorithm is: block_diff = parent_diff + parent_diff // 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99) + int(2**...
23
votes
3answers
3k views

What is the exact “longest chain” rule implemented in the Ethereum “Homestead” protocol?

This paper from 2016 claims (in section 3.3.2, speaking about the actual Ethereum implementation as opposed to the specification) that: although uncle blocks that are included in a block receive a ...
28
votes
4answers
10k views

How do I decrease the difficulty on a private testnet?

I've created a private test network. On the genesis.json file, I've changed the difficulty to 1. Yet, mining a block still takes hours on my CPU. I suspect that is due to some configuration related to ...
20
votes
3answers
18k views

How is the Mining Difficulty calculated on Ethereum?

Having read various pieces of documentation, it's still not completely clear to me what dictates the difficulty rise, and how Ethereum difficulty levels differ to Bitcoin. In the past week ...
23
votes
2answers
16k views

When will the difficulty bomb make mining impossible?

I know the answer must be out there in the code already, but I couldn't figure out where exactly. Could someone do the maths for me: With block 200k the difficulty bomb started increasing the ...
20
votes
2answers
3k views

Why are there no leading zeroes in ethereum block hash?

The block hash has to be below certain difficulty, right? In bitcoin this means, that there are many leading zeroes in hash value, eg. for bitcoin block #402329 hash is ...
10
votes
2answers
2k views

Why am I getting less than 5 Ether per block?

Was something changed recently? I've been getting less and less ether per block - is this tied to difficulty level? I thought difficulty would affect the rate of mining a block, not the number of ...
17
votes
3answers
6k views

How to make Ethereum mining difficulty static for a private chain?

I have implemented private chain in ethereum but its difficulty level increases by time as a result the mining process slows down. Is it possible to make the difficulty static or disable it in testnet....
1
vote
1answer
843 views

What happens if the block time changes to 5 seconds?

Related to this and this. The difficulty adjustment algorithm is: block_diff = parent_diff + parent_diff // 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99) + int(...
2
votes
1answer
2k views

What does the difficulty value represent in a Geth genesis block config?

If you want to start a private net with Geth, then you need to create a Genesis Block. You specify the attributes of this block through a config file. One of these configurations is 'difficulty'. An ...
8
votes
1answer
1k views

Ethereum's definition of difficulty and hash rate

I'm trying to make sense of geth's hashrate and Ethereum's difficulty setting. I'm running a private test net and set the difficulty to a fixed value (to big.NewInt(250)) as described by https://...
4
votes
1answer
609 views

Are there any drawbacks for making difficulty static on a private chain?

I have made difficulty static in my private block chain, so I can have static response time. Are there any drawbacks of doing this?
5
votes
1answer
864 views

Ethereum Difficulty History? Percentages not a chart

Is there any website that shows the Ethereum difficulty with percentage increase instead of just a chart ? I'm looking for something similar to https://bitcoinwisdom.com/bitcoin/difficulty : in the ...