Ilnur Galiev
b7e2d0aaa0
fix CalcBaseFee
2020-11-03 16:44:08 +03:00
Ilnur Galiev
967f8993bc
update baseFee calculation
2020-10-28 19:05:36 +03:00
Ilnur
1bac35c4a7
rework of function CalcBaseFee ( #24 )
2020-10-12 18:40:09 +03:00
Ian Norden
0757426001
negative guard; update unit tests
2020-09-03 13:56:58 -05:00
Ian Norden
af1c710464
baseFee increment magnitude minimum of 1; -1 when parent gas usage == parent gas target
2020-08-28 20:17:22 -05:00
Ian Norden
e91b52b400
testing basefee minimum tolerances
2020-08-27 22:05:17 -05:00
Ian Norden
5622c6572d
enforce 1559 total gas limit; don't allow BaseFee to drop to 0
2020-08-21 20:53:26 -05:00
Ian Norden
1fbb6ef444
unit tests for new basefee and gas target methods
2020-07-06 02:51:40 -05:00
Ian Norden
765f39aa7a
revert back to using miner defined gas limit; calc baseFee using EIP1559_GAS_TARGET
2020-07-06 02:51:25 -05:00
Ian Norden
d6b9e222ab
make EIP1559 params CLI configurable for testing
2020-07-03 14:37:43 -05:00
Ian Norden
fa03286da0
PR review refactoring and bug fix
2020-07-03 14:36:06 -05:00
Ian Norden
8fab6a25f4
fix VerifyEIP1559BaseFee so that ethash engine enforces exact BaseFee value consensus
2020-07-03 14:33:21 -05:00
Ian Norden
7d4bcc3cbf
adjust verifyHeaders to validate GasLimit as calculated by new CalcGasLimitAndBaseFee function
2020-07-03 13:32:55 -05:00
Ian Norden
633f61e260
initialization => activation; calcGasLimitAndBaseFee doesn't need gasFloor and gasCeil
2020-07-03 13:32:55 -05:00
Ian Norden
31668e7e14
modify verifyHeader() for ethash
2020-07-03 13:32:55 -05:00
Martin Michlmayr
4f2784b38f
all: fix typos in comments ( #21118 )
2020-05-25 10:21:28 +02:00
S. Matthew English
061889d4ea
rlp, trie, contracts, compression, consensus: improve comments ( #14580 )
2017-06-12 14:45:17 +02:00
Péter Szilágyi
09777952ee
core, consensus: pluggable consensus engines ( #3817 )
...
This commit adds pluggable consensus engines to go-ethereum. In short, it
introduces a generic consensus interface, and refactors the entire codebase to
use this interface.
2017-04-05 00:16:29 +02:00