Skip to content

Commit

Permalink
Merge pull request #409 from pirapira/eip100
Browse files Browse the repository at this point in the history
Byzantium: EIP-100: consider parent's uncles in difficulty computation
  • Loading branch information
nicksavers authored Jan 19, 2018
2 parents 58a5261 + 29892b4 commit 2eee15b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,14 @@ \subsubsection{Block Header Validity}
\diffadjustment \equiv \left\lfloor\frac{{P(H)_H}_d}{2048}\right\rfloor
\end{equation}
\begin{equation}
\homesteadmod \equiv \text{max}\left( 1 - \left\lfloor\frac{H_s - {P(H)_H}_s}{10}\right\rfloor, -99 \right)
\homesteadmod \equiv \text{max}\left( x - \left\lfloor\frac{H_s - {P(H)_H}_s}{9}\right\rfloor, -99 \right)
\end{equation}
\begin{equation*}
x \equiv \begin{cases}
1 & \text{if} \, \lVert P(H)_\mathbf{U}\rVert = 0 \\
2 & \text{otherwise}
\end{cases}
\end{equation*}
\begin{equation}
\expdiffsymb \equiv \left\lfloor 2^{ \left\lfloor H_i \div 100000 \right\rfloor - 2 } \right\rfloor
\end{equation}
Expand Down

0 comments on commit 2eee15b

Please sign in to comment.