go-ethereum/core
jwasinger 71b32b4d73 core/txpool, eth/catalyst: clear transaction pool in Rollback (#30534)
This adds an API method `DropTransactions` to legacy pool, blob pool and
txpool interface. This method removes all txs currently tracked in the
pools.

It modifies the simulated beacon to use the new method in `Rollback`
which removes previous hacky implementation that also erroneously reset
the gas tip to 1 gwei.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2024-11-19 14:50:11 +01:00
..
asm core/vm, cmd/evm: implement eof validation (#30418) 2024-11-19 14:50:11 +01:00
bloombits all: fix typos in comments (#29873) 2024-05-29 12:24:10 +02:00
forkid all: remove TerminalTotalDifficultyPassed (#30609) 2024-11-19 14:50:11 +01:00
rawdb all: fix issues with benchmarks (#30667) 2024-11-19 14:50:11 +01:00
state core: fix typos (#30767) 2024-11-19 14:50:11 +01:00
stateless beacon, core, eth, miner: integrate witnesses into production Geth (#30069) 2024-09-20 16:43:42 +03:00
tracing eth/tracers: various fixes (#30540) 2024-11-19 14:50:11 +01:00
txpool core/txpool, eth/catalyst: clear transaction pool in Rollback (#30534) 2024-11-19 14:50:11 +01:00
types common: drop BigMin and BigMax, they pollute our dep graph (#30645) 2024-11-19 14:50:11 +01:00
vm core/vm/runtime: invoke tx-end hook (#30711) 2024-11-19 14:50:11 +01:00
.gitignore
bench_test.go all: fix issues with benchmarks (#30667) 2024-11-19 14:50:11 +01:00
block_validator.go build: update to golangci-lint 1.61.0 (#30587) 2024-11-19 14:50:11 +01:00
block_validator_test.go all: remove TerminalTotalDifficultyPassed (#30609) 2024-11-19 14:50:11 +01:00
blockchain.go core/state: move state log mechanism to a separate layer (#30569) 2024-11-19 14:50:11 +01:00
blockchain_insert.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
blockchain_reader.go core, eth, ethstats: simplify chain head events (#30601) 2024-11-19 14:50:11 +01:00
blockchain_repair_test.go core, eth, node: break rawdb -> {leveldb, pebble} dependency (#30689) 2024-11-19 14:50:11 +01:00
blockchain_sethead_test.go core, eth, node: break rawdb -> {leveldb, pebble} dependency (#30689) 2024-11-19 14:50:11 +01:00
blockchain_snapshot_test.go core, eth, node: break rawdb -> {leveldb, pebble} dependency (#30689) 2024-11-19 14:50:11 +01:00
blockchain_test.go core, eth, node: break rawdb -> {leveldb, pebble} dependency (#30689) 2024-11-19 14:50:11 +01:00
bloom_indexer.go
chain_indexer.go core, eth, ethstats: simplify chain head events (#30601) 2024-11-19 14:50:11 +01:00
chain_indexer_test.go
chain_makers.go core: enable EIP-2935 in chain maker (#30575) 2024-11-19 14:50:11 +01:00
chain_makers_test.go all: remove TerminalTotalDifficultyPassed (#30609) 2024-11-19 14:50:11 +01:00
dao_test.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
error.go
events.go core, eth, ethstats: simplify chain head events (#30601) 2024-11-19 14:50:11 +01:00
evm.go
gaspool.go
gen_genesis.go
genesis.go all: implement EIP-7002 & EIP-7251 (#30571) 2024-11-19 14:50:11 +01:00
genesis_alloc.go all: clean up goerli flag and config (#30289) 2024-08-20 15:59:48 +02:00
genesis_test.go all: remove TerminalTotalDifficultyPassed (#30609) 2024-11-19 14:50:11 +01:00
headerchain.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
headerchain_test.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
mkalloc.go
rlp_test.go
sender_cacher.go
state_prefetcher.go all: stateless witness builder and (self-)cross validator (#29719) 2024-06-25 14:48:08 +03:00
state_processor.go core: fix tracing of system calls (#30666) 2024-11-19 14:50:11 +01:00
state_processor_test.go core, trie: verkle state processor tests (#30672) 2024-11-19 14:50:11 +01:00
state_transition.go common: drop BigMin and BigMax, they pollute our dep graph (#30645) 2024-11-19 14:50:11 +01:00
stateless.go beacon, core, eth, miner: integrate witnesses into production Geth (#30069) 2024-09-20 16:43:42 +03:00
txindexer.go core, eth, ethstats: simplify chain head events (#30601) 2024-11-19 14:50:11 +01:00
txindexer_test.go
types.go all: implement flat deposit requests encoding (#30425) 2024-11-19 14:50:11 +01:00
verkle_witness_test.go core: fix typos (#30767) 2024-11-19 14:50:11 +01:00