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

Lowering threshold for transactions above gas limit #4831

Merged
merged 1 commit into from
Mar 10, 2017
Merged

Conversation

tomusdrw
Copy link
Collaborator

@tomusdrw tomusdrw commented Mar 9, 2017

Currently we allow transactions that are 10% above current block gas limit.
The protocol defines that the maximal increment is gas_limit / 1024 so ~0.1%

This PR lowers the threshold from 10% to 0.5% for transactions above block gas limit to avoid transactions pending idefinitely in the queue.

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Mar 9, 2017
@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 10, 2017
@gavofyork gavofyork merged commit aedc473 into master Mar 10, 2017
@gavofyork gavofyork deleted the txqueue-hist branch March 10, 2017 09:11
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.

2 participants