forked from cerc-io/plugeth
8c313eed26
This PR polishes the EIP 100 difficulty adjustment algorithm to match the same mechanisms as the Homestead was implemented to keep the code uniform. It also avoids a few memory allocs by reusing big1 and big2, pulling it out of the common package and into ethash. The commit also fixes chain maker to forward the uncle hash when creating a simulated chain (it wasn't needed until now so we just skipped a copy there). |
||
---|---|---|
.. | ||
clique | ||
ethash | ||
misc | ||
consensus.go | ||
errors.go |