core, eth, miner: improved tx removal & fatal error on db sync err
* core: Added GasPriceChange event * eth: When one of the DB flush methods error a fatal error log message is given. Hopefully this will prevent corrupted databases from occuring. * miner: remove transactions with low gas price. Closes #906, #903
This commit is contained in:
@ -44,12 +44,6 @@ func CurrencyToString(num *big.Int) string {
|
||||
)
|
||||
|
||||
switch {
|
||||
case num.Cmp(Douglas) >= 0:
|
||||
fin = new(big.Int).Div(num, Douglas)
|
||||
denom = "Douglas"
|
||||
case num.Cmp(Einstein) >= 0:
|
||||
fin = new(big.Int).Div(num, Einstein)
|
||||
denom = "Einstein"
|
||||
case num.Cmp(Ether) >= 0:
|
||||
fin = new(big.Int).Div(num, Ether)
|
||||
denom = "Ether"
|
||||
|
Reference in New Issue
Block a user