-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use nodes local min gas price for prepare proposal #3016
Comments
do transactions make it in the mempool that are less than the locally configured min fee? if not, then would the filter in prepare proposal every filter anything out? |
Yes so long as they are greater than the global min gas price. The locally configured min fee just means that this proposer won't include them but they may be included by another proposer. If the transaction has too low of a fee, it will eventually be kicked. |
Sorry for the silly question but why do we want to support this? |
update: we stopped working on this until we figure out next steps including whether or not we even want this feature. |
I think we can close this as won't do b/c we decided to not modify the local min gas price. Copying from Slack:
Please re-open if I misinterpreted @ninabarbakadze @cmwaters |
Summary
The global min gas price is used as the minimum price for a transaction to enter a nodes mempool. The node still has a locally configured min price. This should be used when preparing the proposal such that all transaction included must be greater than that price
Proposal
In
PrepareProposal
, while looping through all transactions, if one has a gas price lower than the nodes own threshold skip over it and do not include it in the list of transactions to be proposedFor Admin Use
The text was updated successfully, but these errors were encountered: