diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-02-26 03:00:32 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-02-26 03:00:32 +0800 |
commit | 260ab739694b554c3cdec8531b98e0334753fbe1 (patch) | |
tree | 37ae6a87a80422bab986748ba302a08ac53569ae /trie | |
parent | fe730239400e73babf829857272c42af7563efce (diff) | |
download | go-tangerine-260ab739694b554c3cdec8531b98e0334753fbe1.tar.gz go-tangerine-260ab739694b554c3cdec8531b98e0334753fbe1.tar.zst go-tangerine-260ab739694b554c3cdec8531b98e0334753fbe1.zip |
Validate block header gas limit
* Add block header gas limit validation in ValidateBlock function,
see eq 39 and 45 in yellow paper. Before it was calculated _for_
the block instead of validated.
* Use the block header gas limit when setting the gas pool instead
of calculating the value for the block.
Diffstat (limited to 'trie')
0 files changed, 0 insertions, 0 deletions