go-ethereum/cmd/geth
Elizabeth 4c284ea5c1 Statediff for full node (#6)
* Open a trie from the in-memory database

* Use a node's LeafKey as an identifier instead of the address

It was proving difficult to find look the address up from a given path
with a full node (sometimes the value wouldn't exist in the disk db).
So, instead, for now we are using the node's LeafKey with is a Keccak256
hash of the address, so if we know the address we can figure out which
LeafKey it matches up to.

* Make sure that statediff has been processed before pruning

* Use blockchain stateCache.OpenTrie for storage diffs

* Clean up log lines and remove unnecessary fields from builder

* Apply go fmt changes

* Add a sleep to the blockchain test

* Address PR comments

* Address PR comments
2020-03-05 10:11:31 -06:00
..
testdata cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
accountcmd_test.go all: replace passPHRASE with passWORD in user interactions (#19932) 2019-08-12 12:00:38 +03:00
accountcmd.go all: replace passPHRASE with passWORD in user interactions (#19932) 2019-08-12 12:00:38 +03:00
chaincmd.go cmd/geth: add 'dumpgenesis' command (#20191) 2020-02-04 11:49:13 +01:00
config.go Statediff for full node (#6) 2020-03-05 10:11:31 -06:00
consolecmd_test.go console, internal/jsre: use github.com/dop251/goja (#20470) 2020-01-27 11:50:48 +01:00
consolecmd.go cmd/geth: set up cache and metrics when starting node (#19911) 2019-08-15 14:54:16 +02:00
dao_test.go all: clean up and proerly abstract database access 2019-03-06 13:35:03 +02:00
genesis_test.go cmd/geth: remove the tail "," from genesis config (#17028) 2018-06-21 10:44:39 +03:00
main.go Write state diff to CSV (#2) 2020-03-05 10:10:50 -06:00
misccmd.go cmd/geth: remove network id from version cmd 2019-11-25 06:17:45 -05:00
retesteth_copypaste.go cmd: Add retesteth command (to support execution and generation of tests via retesteth) (#19631) 2019-06-05 14:03:23 +02:00
retesteth.go cmd/geth retesteth: add eth_getBlockByHash (#20621) 2020-02-11 10:54:05 +01:00
run_test.go all: make unit tests work with Go 1.13 (#20053) 2019-09-11 14:41:22 +02:00
usage.go Write state diff to CSV (#2) 2020-03-05 10:10:50 -06:00