plugeth/miner
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
..
miner_test.go trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246) 2021-02-02 13:09:23 +01:00
miner.go all: fix miner hashRate -> hashrate on API calls 2021-03-31 10:56:51 +03:00
stress_clique.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
stress_ethash.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
unconfirmed_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
unconfirmed.go all: replace RWMutex with Mutex in places where RLock is not used (#21622) 2020-10-13 10:58:41 +02:00
worker_test.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
worker.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00