Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Don't accept transactions above block gas limit. #6408

Merged
merged 1 commit into from
Aug 29, 2017
Merged

Don't accept transactions above block gas limit. #6408

merged 1 commit into from
Aug 29, 2017

Conversation

tomusdrw
Copy link
Collaborator

Closes #6342

It also renames TransactionQueue::total_gas_limit (not TransactionSet::total_gas_limit) to block_gas_limit (a maximal gas of a single transaction = current block gas limit) to avoid confusion with aforementioned total_gas_limit (the total amount of gas for all transactions that the queue may not exceed).

(the change was already part of some other PR but was reverted by 4da2e39, I believe the rename is still a good thing and the revert proves that it causes confusion)

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. B0-patch M4-core ⛓ Core client code / Rust. labels Aug 29, 2017
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Aug 29, 2017
@rphmeier rphmeier merged commit 96e9a73 into master Aug 29, 2017
@rphmeier rphmeier deleted the txqueue branch August 29, 2017 10:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants