erigon-pulse/core
Andrew Ashikhmin aeed1657c7
Issue #340: Re-execute all historical transaction in read-only mode and check ChangeSets (#388)
* Clean up code duplication between IntraBlockState's FinalizeTx & CommitBlock

* checkChangeSets command

* linter

* First attempt at checking account changes

* Reuse runBlock in CheckChangeSets

* linter

* linter

* Optionally include no-changes in the ChangeSets

* linter

* Detect storage changes for account change sets

* Fix post-merge compilation errors

* Use database format compatible with !debug.IsThinHistory()

* PrintChangedAccounts in ChangeSetWriter

* Avoid out-of-bounds access

* Storage changes

* hack FirstContractIncarnation

* Call ChangeSetWriter only once per block
2020-03-11 16:54:09 +01: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 #340: Re-execute all historical transaction in read-only mode and check ChangeSets (#388) 2020-03-11 16:54:09 +01:00
types Issue #340: Re-execute all historical transaction in read-only mode and check ChangeSets (#388) 2020-03-11 16:54:09 +01:00
vm post-merge fixups 2020-02-27 17:22:25 +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 Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
blockchain_insert.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
blockchain_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
blockchain.go removed repetitions in 'l' bucket (#383) 2020-03-11 12:06:29 +00: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 Restore Ethash mining (#231) 2019-12-10 16:12:21 +03: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 Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
genesis.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03: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 Trie: store self-destructed accounts (#355) 2020-02-12 13:52:59 +00:00
pruner.go split storage and account encoding for changeset 2020-02-24 22:36:16 +03:00
state_prefetcher.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
state_processor.go Thin history (#272) 2019-12-20 15:25:40 +03: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 Tx pool use triedbstate, fixes to GetNodeData and move it to experimental (#364) 2020-02-10 17:05:32 +00:00
tx_pool.go Fix --download-only mode (#374) 2020-03-01 09:00:14 +00:00
types.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00