Questions tagged [difficulty]
The difficulty tag has no usage guidance.
16
questions
25
votes
1
answer
6k
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?
29
votes
3
answers
5k
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 ...
16
votes
2
answers
9k
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**...
29
votes
4
answers
14k
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 ...
28
votes
1
answer
24k
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 ...
25
votes
2
answers
17k
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 ...
31
votes
2
answers
7k
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 ...
12
votes
2
answers
3k
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
2
answers
7k
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....
7
votes
4
answers
7k
views
What is Terminal Total Difficulty (TTD)?
I know there are difficulty and totalDifficulty like mentioned in geth's json-rpc API.
difficulty: QUANTITY - integer of the difficulty for this block.
totalDifficulty: QUANTITY - integer of the total ...
3
votes
1
answer
3k
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 ...
1
vote
1
answer
1k
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(...
8
votes
1
answer
2k
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://...
5
votes
1
answer
912
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 ...
4
votes
1
answer
718
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?
0
votes
1
answer
2k
views
How to calculate ethash in python?
I am trying to use ethash(hash(blockHeader),nonce) < TARGET to prove that the block was mined with at least a minimum difficulty.
Is the formula above correct?
When I try to use ehtereum.pow....