go-ethereum/vendor/github.com
Elizabeth 52274e48a1
Write state diff to CSV (#2)
* port statediff from 9b7fd9af80/statediff/statediff.go; minor fixes

* integrating state diff extracting, building, and persisting into geth processes

* work towards persisting created statediffs in ipfs; based off github.com/vulcanize/eth-block-extractor

* Add a state diff service

* Remove diff extractor from blockchain

* Update imports

* Move statediff on/off check to geth cmd config

* Update starting state diff service

* Add debugging logs for creating diff

* Add statediff extractor and builder tests and small refactoring

* Start to write statediff to a CSV

* Restructure statediff directory

* Pull CSV publishing methods into their own file

* Reformatting due to go fmt

* Add gomega to vendor dir

* Remove testing focuses

* Update statediff tests to use golang test pkg

instead of ginkgo

- builder_test
- extractor_test
- publisher_test

* Use hexutil.Encode instead of deprecated common.ToHex

* Remove OldValue from DiffBigInt and DiffUint64 fields

* Update builder test

* Remove old storage value from updated accounts

* Remove old values from created/deleted accounts

* Update publisher to account for only storing current account values

* Update service loop and fetching previous block

* Update testing

- remove statediff ginkgo test suite file
- move mocks to their own dir

* Updates per go fmt

* Updates to tests

* Pass statediff mode and path in through cli

* Return filename from publisher

* Remove some duplication in builder

* Remove code field from state diff output

this is the contract byte code, and it can still be obtained by querying
the db by the codeHash

* Consolidate acct diff structs for updated & updated/deleted accts

* Include block number in csv filename

* Clean up error logging

* Cleanup formatting, spelling, etc

* Address PR comments

* Add contract address and storage value to csv

* Refactor accumulating account row in csv publisher

* Add DiffStorage struct

* Add storage key to csv

* Address PR comments

* Fix publisher to include rows for accounts that don't have store updates

* Update builder test after merging in release/1.8

* Update test contract to include storage on contract intialization

- so that we're able to test that storage diffing works for created and
deleted accounts (not just updated accounts).

* Factor out a common trie iterator method in builder
2019-01-28 15:31:01 -06:00
..
allegro/bigcache cmd, core, eth, light, trie: add trie read caching layer 2018-11-15 12:22:13 +02:00
aristanetworks/goarista vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
Azure internal, vendor: update Azure blobstore API 2018-07-25 18:04:43 +03:00
btcsuite/btcd crypto: add DecompressPubkey, VerifySignature (#15615) 2017-12-06 16:07:08 +01:00
cespare/cp Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
codahale/hdrhistogram swarm: integrate OpenTracing; propagate ctx to internal APIs (#17169) 2018-07-13 17:40:28 +02:00
davecgh/go-spew vendor: pull in azure sdk and openpgp signer 2016-11-03 10:32:57 +02:00
deckarep/golang-set all: switch out defunct set library to different one (#16873) 2018-07-16 10:54:19 +03:00
dgrijalva/jwt-go .travis, build: autodelete old unstable archives (#13867) 2017-04-06 12:53:33 +02:00
docker/docker vendor: update docker/docker/pkg/reexec so that it compiles on OpenBSD (#17084) 2018-07-02 14:25:02 +03:00
edsrzf/mmap-go crypto, pow, vendor: hash optimizations, mmap ethash 2017-03-09 15:50:14 +01:00
elastic/gosigar vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542) 2018-04-21 19:19:12 +02:00
ethereum/ethash/src/libethash all: finish integrating Go ethash, delete C++ vendor 2017-03-09 15:50:14 +01:00
fatih/color vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
fjl/memsize cmd/geth, mobile: add memsize to pprof server (#16532) 2018-04-23 16:20:39 +03:00
gizak/termui vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
go-ole/go-ole dashboard: CPU, memory, diskIO and traffic on the footer (#15950) 2018-01-23 22:51:04 +02:00
go-stack/stack vendor: update go-stack to fix a sigpanic panic (#14790) 2017-07-11 13:43:33 +02:00
golang accounts, console, internal: support trezor hardware wallet 2017-08-09 11:30:17 +03:00
hashicorp/golang-lru vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
huin/goupnp vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
influxdata/influxdb metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
jackpal/go-nat-pmp vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
julienschmidt/httprouter p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
karalabe/hid vendor: update github.com/karalabe/hid (#18213) 2018-11-30 11:22:53 +02:00
maruel/panicparse vendor: update all dependencies except Azure SDK 2017-01-10 22:33:24 +01:00
mattn vendor: vendor/github.com/mattn/go-isatty - add missing files (reported by mksully22) (#18376) 2019-01-03 13:31:20 +01:00
mitchellh/go-wordwrap Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
mohae/deepcopy cmd, dashboard, log: log collection and exploration (#17097) 2018-07-11 10:59:04 +03:00
naoina vendor: added vendor packages necessary for the swarm-network-rewrite merge (#16792) 2018-06-05 12:40:21 +02:00
nsf/termbox-go vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
olekukonko/tablewriter cmd/puppeth: your Ethereum private network manager (#13854) 2017-04-11 01:25:53 +02:00
onsi/gomega Write state diff to CSV (#2) 2019-01-28 15:31:01 -06:00
opentracing/opentracing-go swarm: integrate OpenTracing; propagate ctx to internal APIs (#17169) 2018-07-13 17:40:28 +02:00
pborman/uuid vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
peterh/liner vendor: update liner to fix docker and mips bugs 2017-10-05 15:57:33 +03:00
pkg/errors dashboard: CPU, memory, diskIO and traffic on the footer (#15950) 2018-01-23 22:51:04 +02:00
pmezard/go-difflib vendor: add github.com/stretchr/testify test dependency 2017-11-11 00:29:41 +01:00
prometheus/prometheus node: fix instance dir locking and improve error message 2017-08-18 12:14:00 +02:00
rjeczalik/notify vendor: github.com/rjeczalik/notify update to master (#17527) 2018-08-28 10:03:33 +03:00
robertkrimen/otto vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
rs vendor: update dependencies with github.com/kardianos/govendor 2017-02-16 13:44:09 +01:00
StackExchange/wmi dashboard: CPU, memory, diskIO and traffic on the footer (#15950) 2018-01-23 22:51:04 +02:00
stretchr/testify vendor: add github.com/stretchr/testify test dependency 2017-11-11 00:29:41 +01:00
syndtr/goleveldb vendor: update leveldb 2018-11-29 09:58:09 +01:00
uber swarm: integrate OpenTracing; propagate ctx to internal APIs (#17169) 2018-07-13 17:40:28 +02:00