Commit Graph

10317 Commits

Author SHA1 Message Date
Elizabeth Engelman
feaff9998f 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
2019-01-02 14:28:22 -06:00
Elizabeth Engelman
0dacc940fd Remove some duplication in builder 2019-01-02 12:38:47 -06:00
Elizabeth Engelman
ade4a8efdc Return filename from publisher 2018-12-26 15:27:16 -05:00
Elizabeth Engelman
dc19bd4e3b Pass statediff mode and path in through cli 2018-12-26 11:20:02 -05:00
Elizabeth Engelman
67a86b1f43 Updates to tests 2018-12-21 14:26:03 -06:00
Elizabeth Engelman
2a8a914705 Updates per go fmt 2018-12-21 11:51:42 -06:00
Elizabeth Engelman
0a6dbb8a27 Update testing
- remove statediff ginkgo test suite file
- move mocks to their own dir
2018-12-21 11:44:53 -06:00
Elizabeth Engelman
2797642dfe Update service loop and fetching previous block 2018-12-21 11:14:36 -06:00
Elizabeth Engelman
7604eb8f9a Update publisher to account for only storing current account values 2018-12-19 15:23:28 -06:00
Elizabeth Engelman
96caa16268 Remove old values from created/deleted accounts 2018-12-19 15:15:32 -06:00
Elizabeth Engelman
8152f5562f Remove old storage value from updated accounts 2018-12-19 13:21:54 -06:00
Elizabeth Engelman
1a8a889ef2 Update builder test 2018-12-19 10:49:05 -06:00
Elizabeth Engelman
78d9869256 Remove OldValue from DiffBigInt and DiffUint64 fields 2018-12-19 10:48:41 -06:00
Elizabeth Engelman
77e86a698a Use hexutil.Encode instead of deprecated common.ToHex 2018-12-19 09:58:44 -06:00
Elizabeth Engelman
f4ca756812 Update statediff tests to use golang test pkg
instead of ginkgo

- builder_test
- extractor_test
- publisher_test
2018-12-18 16:18:34 -06:00
Elizabeth Engelman
1d885ecedd Remove testing focuses 2018-12-13 17:03:41 -06:00
Elizabeth Engelman
aaae6edcb9 Add gomega to vendor dir 2018-12-13 16:52:36 -06:00
Elizabeth Engelman
4d4c229594 Reformatting due to go fmt 2018-12-13 16:49:10 -06:00
Elizabeth Engelman
8578fc20a3 Pull CSV publishing methods into their own file 2018-12-13 16:47:41 -06:00
Elizabeth Engelman
5b63446b6e Restructure statediff directory 2018-12-13 16:47:41 -06:00
Elizabeth Engelman
869a34cf5a Start to write statediff to a CSV 2018-12-13 16:47:31 -06:00
Elizabeth Engelman
bf186e427c Add statediff extractor and builder tests and small refactoring 2018-12-13 16:47:03 -06:00
Elizabeth
a0053ee39b
Merge pull request #3 from i-norden/ee-update
Ee update
2018-11-30 10:51:39 -06:00
Elizabeth Engelman
cf4ed9c2b3 Add debugging logs for creating diff 2018-11-29 16:34:25 -06:00
Elizabeth Engelman
71147861f7 Update starting state diff service 2018-11-29 16:34:25 -06:00
Elizabeth Engelman
70d531dc1e Move statediff on/off check to geth cmd config 2018-11-29 16:34:25 -06:00
Elizabeth Engelman
32a0a23821 Update imports 2018-11-29 16:34:25 -06:00
Elizabeth Engelman
6fd20597a7 Remove diff extractor from blockchain 2018-11-29 16:34:25 -06:00
Elizabeth Engelman
7957c5a92b Add a state diff service 2018-11-29 10:05:55 -06:00
Ian Norden
976bff614a work towards persisting created statediffs in ipfs; based off github.com/vulcanize/eth-block-extractor 2018-11-26 13:42:09 -06:00
Ian Norden
26e8088cc5 integrating state diff extracting, building, and persisting into geth processes 2018-11-25 23:52:53 -06:00
Ian Norden
53a6b1c689 port statediff from 9b7fd9af80/statediff/statediff.go; minor fixes 2018-11-21 19:31:17 -06:00
Janoš Guljaš
070caec4bd swarm/network/stream: use swarm/mock/mem as mock global store (#18157) 2018-11-21 20:49:13 +01:00
Anton Evangelatov
4c181e4fb9
swarm/state: refactor InmemoryStore (#18143) 2018-11-21 14:36:56 +01:00
mr_franklin
3fd87f2193 core: fix comment typo (#18144) 2018-11-21 12:52:02 +02:00
a-sklyarov
c7e522fd17 Update minimum required Go version in README.md (#18151) 2018-11-21 12:38:49 +02:00
Guillaume Ballet
5d80a1b665
whisper/mailserver: reduce the max number of opened files (#18142)
This should reduce the occurences of travis failures on MacOS

Also fix some linter warnings
2018-11-20 20:14:37 +01:00
Anton Evangelatov
3d997b6dec whisper: log errors on failed tests (#18134)
Debug traces to investigate a travis issue on MacOS
2018-11-20 10:08:02 +01:00
Ferenc Szabo
d876f214e5 swarm/storage: move 'running migrations for' log line (#18120)
So that we only see the log message when we actually have to migrate.
2018-11-20 08:30:38 +01:00
Javier Peletier
7bf7bd2f50 internal/cmdtest: Expose process exit status and errors (#18046) 2018-11-20 08:23:43 +01:00
Anton Evangelatov
d31f1f4fdb
cmd/swarm/swarm-smoke: update smoke tests to fit the new scheme for the k8s cluster (#18104) 2018-11-19 14:58:10 +01:00
Anton Evangelatov
6b6c4d1c27
cmd/swarm: speed up tests - use global cluster (#18129) 2018-11-19 14:57:22 +01:00
Anton Evangelatov
3333fe660f
swarm/storage: speed up garbage collection and rpc tests (#18128) 2018-11-19 12:26:45 +01:00
Elad
51e2e78d26 swarm/api/http: change request served msg log level (#18127) 2018-11-18 10:54:03 +01:00
Péter Szilágyi
d136e985e8
trie: go fmt package 2018-11-16 16:35:39 +02:00
Péter Szilágyi
91c66d47ef
Merge pull request #18085 from holiman/downloader_span
downloader: different sync strategy
2018-11-16 16:34:30 +02:00
Péter Szilágyi
accc0fab4f
core, eth/downloader: fix ancestor lookup for fast sync 2018-11-16 13:21:20 +02:00
Martin Holst Swende
51b2f1620c
downloader: different sync strategy 2018-11-16 11:54:36 +02:00
Łukasz Kurowski
68be45e5f8 trie: return hasher to pool (#18116)
* trie: return hasher to pool

* trie: minor code formatting fix
2018-11-16 11:50:48 +02:00
holisticode
ffe2fc3bc4 Swarm accounting (#18050)
* swarm: completed 1st phase of swap accounting

* swarm: swap accounting for swarm with p2p accounting

* swarm/swap: addressed PR comments

* swarm/swap: ignore ErrNotFound on stateStore.Get()

* swarm/swap: GetPeerBalance test; add TODO for chequebook API check

* swarm/network/stream: fix NewRegistry calls with new arguments

* swarm/swap: address @justelad's PR comments
2018-11-15 23:41:19 +01:00