Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Chain Specification "difficulty" vs. Hash Rate?

What does "difficulty" refer to in the chain specification, if actual difficulty is determined by hashrate? I know that "difficulty" went down after the ETH/ETC fork, but why then is difficulty in ...
stone.212's user avatar
  • 2,004
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 ...
Jeff Coleman's user avatar
  • 22.2k
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**...
BokkyPooBah's user avatar
  • 40.4k