plugeth/core
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
..
asm core/asm: fix the bug of "00" prefix number (#22883) 2021-05-18 10:22:58 +02:00
bloombits
forkid core/forkid: fix off-by-one bug (#22879) 2021-05-18 11:37:18 +03:00
rawdb core/rawdb: wait for background freezing to exit when closing freezer (#22878) 2021-05-18 01:30:01 +02:00
state cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
types EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
vm all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
.gitignore
bench_test.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
block_validator_test.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
block_validator.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
blockchain_insert.go
blockchain_repair_test.go all: add read-only option to database (#22407) 2021-03-22 19:06:30 +01:00
blockchain_sethead_test.go all: add read-only option to database (#22407) 2021-03-22 19:06:30 +01:00
blockchain_snapshot_test.go core: nuke legacy snapshot supporting (#22663) 2021-04-20 08:27:46 +03:00
blockchain_test.go core: fix failing tests (#22888) 2021-05-18 01:10:28 +02:00
blockchain.go Merge pull request #22739 from holiman/remove_code 2021-05-03 15:37:46 +03:00
blocks.go
bloom_indexer.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
chain_indexer_test.go core: fix potential race in chainIndexerTest (#22346) 2021-03-19 13:32:57 +01:00
chain_indexer.go all: make logs a bit easier on the eye to digest (#22665) 2021-04-15 20:35:00 +03:00
chain_makers_test.go
chain_makers.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
dao_test.go
error.go all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
events.go
evm.go all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
gaspool.go
gen_genesis_account.go
gen_genesis.go
genesis_alloc.go all: define London+baikal, undefine yolov3, add london override flag (#22822) 2021-05-06 12:07:42 +03:00
genesis_test.go all: define London+baikal, undefine yolov3, add london override flag (#22822) 2021-05-06 12:07:42 +03:00
genesis.go all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
headerchain_test.go
headerchain.go all: make logs a bit easier on the eye to digest (#22665) 2021-04-15 20:35:00 +03:00
mkalloc.go
rlp_test.go
state_prefetcher.go all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
state_processor_test.go EIP-1559: miner changes (#22896) 2021-05-21 09:59:26 +02:00
state_processor.go all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
state_transition.go all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
tx_cacher.go
tx_journal.go
tx_list_test.go
tx_list.go
tx_noncer.go
tx_pool_test.go
tx_pool.go core: fix method comment for txpool.requestReset (#22543) 2021-03-22 09:10:51 +02:00
types.go