erigon-pulse/core
Andrew Ashikhmin 1dcc7661fc
Issue 111: Do not mutate state trie when verifying blocks (#439)
* Set root to empty straight away for all newly created accounts

* [Issue 111] Do not mutate state trie when verifying the block

* linter

* Fix suicideStorageCheck.json but break TestSelfDestructReceive

* suicideStorageCheck tests a somewhat unrealistic scenario, where the contract exists in genesis (with storage) and then gets self-destructed
2020-04-13 12:00:44 +02:00
..
asm core/asm: allow numbers in labels (#20362) 2019-12-03 13:55:30 +01:00
bloombits Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
forkid consensus/ethash, params: eip-2384: bump difficulty bomb (#20347) 2019-12-09 12:56:07 +01:00
rawdb Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
state Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
types Intermediate hash phase 4 (#396) 2020-03-20 11:30:14 +00:00
vm Remove error param from NewTrieDbState (#408) 2020-03-26 16:21:15 +03:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
block_validator_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
block_validator.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
blockchain_insert.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
blockchain_test.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
blockchain.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
blocks.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
chain_indexer.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
chain_makers_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
chain_makers.go don't rebuild - because it evicting IH (#427) 2020-04-05 07:33:06 +01:00
dao_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
error.go core: move error variable to error.go (#19560) 2019-05-13 13:23:32 +03:00
events.go eth/filters: remove use of event.TypeMux for pending logs (#20312) 2020-01-30 13:36:30 +02:00
evm.go core/evm: less iteration in blockhash (#20589) 2020-02-27 17:20:36 +03:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis_account.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_genesis.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
genesis_alloc.go cmd, core, params: add support for Goerli 2019-02-04 14:53:12 +02:00
genesis_test.go [THIN_HISTORY] Decouple changesets and history from ethdb.Database (mutation/bolt_db/badger_db) (#432) 2020-04-09 18:23:29 +01:00
genesis.go [THIN_HISTORY] Decouple changesets and history from ethdb.Database (mutation/bolt_db/badger_db) (#432) 2020-04-09 18:23:29 +01:00
headerchain.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
mkalloc.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
pruner_test.go enable intermediate trie hashes by default (#414) 2020-03-30 17:01:24 +01:00
pruner.go Run CI on bolt with prefix_compression_without_allocation (fixes) (#380) 2020-04-11 20:28:15 +07:00
state_prefetcher.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
state_processor.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
state_transition.go core: s/isEIP155/isHomestead/g (fix IntrinsicGas signature var name) (#20300) 2019-12-03 13:39:28 +01:00
tx_cacher.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
tx_journal.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
tx_list_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
tx_list.go core: count tx size in slots, bump max size ot 4x32KB (#20352) 2020-01-30 13:36:30 +02:00
tx_noncer.go Remove Copy from IntraBlockState and use references instead of copies in other places. 2019-11-07 13:32:20 +01:00
tx_pool_test.go Remove error param from NewTrieDbState (#408) 2020-03-26 16:21:15 +03:00
tx_pool.go [Issue 340] Preserve the original when a contract is self-destructed and then its address is touched in the same block (e.g. # 156634) (#397) 2020-03-20 10:08:13 +00:00
types.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00