Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
This article examines EIP-100, which incorporates uncle blocks into difficulty adjustment to maintain a consistent mean block production time.
This explanation translates, summarizes, and expands on the following specification.
For more EIPs, see https://cardene.dev/proposals.
Specification
A proof-of-work blockchain adjusts mining difficulty to maintain a relatively consistent block production rate.
adj_factor = max((2 if len(parent.uncles) else 1) - ((timestamp - parent.timestamp) // 9), -99)
This expression is part of Ethereum's historical difficulty adjustment algorithm introduced with the Byzantium fork.
adj_factor = max(1 - ((timestamp - parent.timestamp) // 10), -99)
child_diff = int(max(parent.difficulty + (parent.difficulty // BLOCK_DIFF_FACTOR) * adj_factor, min(parent.difficulty, MIN_DIFF)))
...In the earlier formula, difficulty increases when the interval since the parent is sufficiently short and decreases when it is sufficiently long. The 10-second divisor is a parameter of the adjustment formula rather than a guaranteed block interval. The factor affects the difficulty of the new block.
From Byzantium, the presence of uncles influences difficulty. Uncle blocks reflect competing block production, and the formula accounts for them using a 9-second divisor. Dynamic adjustment supports network security and efficiency by maintaining a consistent production rate.
Uncle Blocks

Uncle blocks are valid competing blocks that were not selected for the canonical chain but can be referenced by canonical blocks under Ethereum's historical proof-of-work rules.
As new blocks are produced, nodes validate them and select the canonical chain according to the applicable fork-choice rules. Competing blocks may be left outside the canonical chain. Because work was expended producing them, Ethereum historically rewarded qualifying uncle blocks.
The image, generated using ChatGPT, depicts the main blockchain as a sequence of connected blocks, with uncle blocks branching off it. These blocks are related to the main chain but are not part of its canonical sequence.
Additional Considerations
Keeping block production consistent is important. The following alternative formula discussed in the proposal explicitly counts uncles, aiming to make issuance and mean block production more predictable and resistant to manipulation.
adj_factor = max(1 + len(parent.uncles) - ((timestamp - parent.timestamp) // 9), -99)The adjustment factor varies with the number of uncles. Accounting for competing blocks helps counter changes in the overall production rate. In the formula, the presence of uncles increases the adjustment factor relative to the same timestamp interval without uncles.
Changing the divisor to 9 makes adjustment more sensitive. At the historical uncle rate of 7%, actual block times were estimated to become approximately 3% shorter. The objective is predictable average production and issuance with greater resistance to manipulation.
Such changes support network stability and security. This article concerns Ethereum's historical proof-of-work consensus, not current proof-of-stake block production.
References
Citation
Vitalik Buterin (@vbuterin), "EIP-100: Change difficulty adjustment to target mean block time including uncles," Ethereum Improvement Proposals, no. 100, April 2016. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-100.
Conclusion
EIP-100 incorporates uncle blocks into historical Ethereum difficulty adjustment to better control mean block production and issuance.
Further reading and author links:



