• Gustav Simonsson's avatar
    Validate block header gas limit · 260ab739
    Gustav Simonsson authored
    * 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.
    260ab739
block_processor.go 9.81 KB