2

I know that there is a gas limit for each transaction, set by the sender. Also there is a gas limit for each block set by the miner. So I want to know does an additional gas limit applied to the mined blocks when being verified by other nodes before insertion to the chain, or they just rely on the gas limit set by the miner in the block header?

1 Answer 1

3

Part of the process of verifying a block is verifying that it doesn't use more gas than the block gas limit declared in its header. All implementations should be doing this - if any of them don't it's a (highly critical) bug.

1
  • Very good answer +1.
    – Nico
    Mar 21, 2018 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.