openethereum/miner/src
Micah Zoltu 8099efe215 Fixes incorrect comment. (#10913)
I _believe_ (someone please double-check my work) that this comment is subtly incorrect and in fact the replacement will occur if the new gas price is exactly 12.5% (given current configuration) higher.

Relevant pieces of code:
```rust
fn bump_gas_price(old_gp: U256) -> U256 {
	old_gp.saturating_add(old_gp >> GAS_PRICE_BUMP_SHIFT)
}
```
```rust
let min_required_gp = bump_gas_price(*old_gp);
match min_required_gp.cmp(&new_gp) {
	cmp::Ordering::Greater => scoring::Choice::RejectNew,
	_ => scoring::Choice::ReplaceOld,
}
```
2019-07-24 12:28:48 +02:00
..
pool Fixes incorrect comment. (#10913) 2019-07-24 12:28:48 +02:00
external.rs Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
gas_price_calibrator.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
gas_pricer.rs Revive parity_setMinGasPrice RPC call (#10294) 2019-02-11 18:08:12 +01:00
lib.rs Remove calls to heapsize (#10432) 2019-06-19 13:54:05 +02:00
local_accounts.rs Deprecate account management (#10213) 2019-02-07 14:34:24 +01:00
service_transaction_checker.rs Implement caching for service transactions checker (#10088) 2019-03-31 10:39:38 +02:00
work_notify.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00