-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Revive parity_setMinGasPrice RPC call #10294
Revive parity_setMinGasPrice RPC call #10294
Conversation
It looks like @HCastano signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
1 similar comment
It looks like @HCastano signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
ethcore/src/miner/miner.rs
Outdated
|
||
let txq = self.transaction_queue.clone(); | ||
let mut options = self.options.pool_verification_options.clone(); | ||
self.gas_pricer.lock().recalibrate(move |gas_price| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth keeping it DRY? and re-using the same method as for per-block update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only call recalibrate()
twice, so for now I'm going to say no unless somebody else has a strong opinion about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but merge conflict needs to be resolved.
@HCastano seems like the merge went wrong, can you check? |
* master: no volumes are needed, just run -v volume:/path/in/the/container (#10345) Fixed misstype (#10351) snap: prefix version and populate candidate channel (#10343) Bundle protocol and packet_id together in chain sync (#10315) role back docker build image and docker deploy image to ubuntu:xenial based (#10338) change docker image based on debian instead of ubuntu due to the chan… (#10336) Don't add discovery initiators to the node table (#10305) fix(docker): fix not receives SIGINT (#10059) snap: official image / test (#10168) fix(add helper for timestamp overflows) (#10330) Additional error for invalid gas (#10327) Revive parity_setMinGasPrice RPC call (#10294) Add Statetest support for Constantinople Fix (#10323) fix(parity-clib): grumbles that were not addressed in #9920 (#10154) fix(light-rpc): Make `light_sync` generic (#10238) fix publish job (#10317) Secure WS-RPC: grant access to all apis (#10246) Make specification of protocol in SyncRequester::send_request explicit (#10295)
This RPC call was deprecated a while back during a refactoring, but there's been a feature request (#9125) wanting it to be restored.
This PR gives the people what they want.