go-ethereum/eth
Elizabeth a99042bcf8 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-11-06 16:25:45 -06:00
..
downloader Merge pull request #20204 from holiman/fix_downloader_race 2019-10-29 17:10:44 +02:00
fetcher eth, les: add sanity checks for unbounded block fields (#19573) 2019-07-08 11:42:22 +02:00
filters all: replace fmt.Print* calls with t.Log* in tests (#19670) 2019-07-17 13:20:24 +02:00
gasprice cmd, core, eth, miner, params: configurable gas floor and ceil 2018-08-29 12:40:12 +03:00
tracers core/evm: avoid copying memory for input in calls (#20177) 2019-11-04 11:31:09 +02:00
api_backend.go internal/ethapi: support block number or hash on state-related methods (#19491) 2019-09-26 10:47:31 +02:00
api_test.go eth: add debug_accountRange (#17438) 2019-07-13 15:48:55 +02:00
api_tracer.go eth: fix storageRangeAt for empty blocks (#18076) 2019-07-12 17:43:07 +02:00
api.go eth: disallow overwrite files via admin.exportChain 2019-08-30 10:39:29 +02:00
backend.go Statediff for full node (#6) 2019-11-06 16:25:45 -06:00
bloombits.go all: clean up and proerly abstract database access 2019-03-06 13:35:03 +02:00
config.go Statediff for full node (#6) 2019-11-06 16:25:45 -06:00
enr_entry.go core/forkid: implement the forkid EIP, announce via ENR (#19738) 2019-07-08 18:53:47 +03:00
gen_config.go cmd, eth: fix dump config issue (#19825) 2019-07-11 14:37:08 +03:00
handler_test.go eth: eth/64 - extend handshake packet with fork id 2019-10-29 18:04:39 +02:00
handler.go eth: eth/64 - extend handshake packet with fork id 2019-10-29 18:04:39 +02:00
helper_test.go eth: eth/64 - extend handshake packet with fork id 2019-10-29 18:04:39 +02:00
metrics.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
peer.go eth: eth/64 - extend handshake packet with fork id 2019-10-29 18:04:39 +02:00
protocol_test.go eth: eth/64 - extend handshake packet with fork id 2019-10-29 18:04:39 +02:00
protocol.go eth: eth/64 - extend handshake packet with fork id 2019-10-29 18:04:39 +02:00
sync_test.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
sync.go eth: fix sync bloom panic (#19757) 2019-06-26 11:00:21 +03:00