go-ethereum/eth/catalyst
Martin Holst Swende a6c462781f
EIP-1559: miner changes (#22896)
* core/types, miner: create TxWithMinerFee wrapper, add EIP-1559 support to TransactionsByMinerFeeAndNonce

miner: set base fee when creating a new header, handle gas limit, log miner fees

* all: rename to NewTransactionsByPriceAndNonce

* core/types, miner: rename to NewTransactionsByPriceAndNonce + EffectiveTip

miner: activate 1559 for testGenerateBlockAndImport tests

* core,miner: revert naming to TransactionsByPriceAndTime

* core/types/transaction: update effective tip calculation logic

* miner: update aleut to london

* core/types/transaction_test: use correct signer for 1559 txs + add back sender check

* miner/worker: calculate gas target from gas limit

* core, miner: fix block  gas limits for 1559

Co-authored-by: Ansgar Dietrichs <adietrichs@gmail.com>
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
2021-05-21 09:59:26 +02:00
..
api_test.go build: upgrade to golangci-lint v1.39.0 (#22696) 2021-04-27 11:49:06 +03:00
api_types.go eth/catalyst: add catalyst API prototype (#22641) 2021-04-16 21:29:22 +02:00
api.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
gen_blockparams.go eth/catalyst: add catalyst API prototype (#22641) 2021-04-16 21:29:22 +02:00
gen_ed.go eth/catalyst: add catalyst API prototype (#22641) 2021-04-16 21:29:22 +02:00