aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-06-29 18:13:00 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-06-30 21:42:09 +0800
commit8c313eed2614990089114bfe5fea7540f4298752 (patch)
treefb9a3dce669d15f8dcc9958dae73e6d935699b99 /trie
parentc4d28aee9bb3ce7851e92462bb2e7fdbf88f9a9a (diff)
downloaddexon-8c313eed2614990089114bfe5fea7540f4298752.tar.gz
dexon-8c313eed2614990089114bfe5fea7540f4298752.tar.zst
dexon-8c313eed2614990089114bfe5fea7540f4298752.zip
consensus, core: EIP 100 polishes, fix chain maker diff
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).
Diffstat (limited to 'trie')
0 files changed, 0 insertions, 0 deletions