go-ethereum/cmd/geth
Elizabeth 626f3bc306
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
2019-02-21 14:36:04 -06:00
..
testdata cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
accountcmd_test.go cmd, consensus, core, miner: instatx clique for --dev (#15323) 2017-10-24 13:40:42 +03:00
accountcmd.go cmd: various golint fixes (#16700) 2018-05-09 10:38:03 +03:00
bugcmd.go build: rename swarm deb package to ethereum-swarm; change swarm deb version from 1.8.x to 0.3.x (#16988) 2018-07-30 11:56:40 +03:00
chaincmd.go cmd/geth: typo export -> import (#17703) 2018-09-19 13:29:40 +03:00
config.go Statediff for full node (#6) 2019-02-21 14:36:04 -06:00
consolecmd_test.go consensus/ethash: move remote agent logic to ethash internal (#15853) 2018-08-03 11:33:37 +03:00
consolecmd.go cmd/geth: fix broken links to JavaScript-Console wiki in cmd line help (#16183) 2018-02-26 11:38:17 +02:00
dao_test.go core/rawdb: separate raw database access to own package (#16666) 2018-05-07 14:35:06 +03: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) 2019-01-28 15:31:01 -06:00
misccmd.go build: rename swarm deb package to ethereum-swarm; change swarm deb version from 1.8.x to 0.3.x (#16988) 2018-07-30 11:56:40 +03:00
monitorcmd.go cmd/geth: fix golint issue (#17176) 2018-07-16 10:33:58 +03:00
run_test.go swarm/test: add integration test for 'swarm up' (#14353) 2017-06-21 14:54:23 +02:00
usage.go Write state diff to CSV (#2) 2019-01-28 15:31:01 -06:00