Commit Graph

38 Commits

Author SHA1 Message Date
Ian Norden
253b1087bf
Merge pull request #112 from cerc-io/ian_test_3
Avoid quantization problems during segmentation and use worker chan to spread work across set # of workers
2023-03-20 07:53:09 -05:00
Michael Shaw
1788b899a4 update for interface changes in 1.11.2 geth statediffing 4.3.7 2023-03-13 18:35:54 -04:00
i-norden
5f7915649d avoid quantization and use worker channel to ensure expected number of workers 2022-10-12 18:39:28 -05:00
a827c4a36b Merge branch 'v4' into dboreham/prerun-workers 2022-09-21 14:04:46 -06:00
a2772762e1 Make pprof configurable, remove todos 2022-09-21 13:33:15 -06:00
b1440d9673 Fix off by one error 2022-09-21 13:06:41 -06:00
Michael
bcca82eaa3
Cerc refactor (#104)
* cerc refactor waiting on unpublished dependencies

* updated go.mod for published dependencies in cerc-io refactoring
2022-09-20 14:00:10 -04:00
7f8885f044 Add comment 2022-08-31 07:54:16 -06:00
d235f3b84c Initial version of parallel workers for prerun-only mode 2022-08-30 22:31:54 -06:00
prathamesh0
1f898f60c3
Upgrade geth after schema changes (#97)
* Include intermediate nodes in builder tests for watched addresses

* Upgrade geth
2022-07-12 16:38:05 +05:30
0c56037e1f
Upgrade geth and add params for CSV file mode (#96)
* Upgrade geth and add params for CSV file mode

* Add options for file mode flag

* index intermediate nodes when watching addresses
2022-07-01 13:29:48 +05:30
prathamesh0
9aa683442e
Reuse builder from vulcanize-geth (#92)
* Reuse builder code from vulcanize-geth

* Upgrade geth dependency
2022-06-24 14:12:58 +05:30
5f6aec35b2
Support remote RPC client to access LevelDB (#83)
* Implement use of custom chain config to test locally

* Use leveldb-ethdb-rpc instead of leveldb path

* Implement flag for leveldb access mode

* Remove custom chain config json

* Move database client to leveldb-ethdb-rpc

* Update leveldb-ethdb-rpc version
2022-05-17 14:35:11 +05:30
7c19e86698 Call method for computing watchedAddressesLeafKeys 2022-05-12 15:51:46 +05:30
32724ff46c Fix rlp.EncodeToBytes arg and creating node iterators 2022-05-11 15:21:23 +05:30
i-norden
108a6f89f1 update to use new version of indexer; support file writing mode 2021-11-18 18:47:28 -06:00
i-norden
d9eb68b2d2 update to use refactored statediffing geth 2021-11-12 18:49:24 -06:00
i-norden
c5c230a2ea update to use new version of statediffing geth pkgs with public.blocks insert batching 2021-11-08 19:08:36 -06:00
i-norden
3d00e3ed05 enable configuration of a prerun range by env variable; prerun only mode 2021-10-27 13:36:19 -05:00
i-norden
8571f35031 fixes 2021-10-25 14:54:55 -05:00
i-norden
f679082c3b queue size metric; touchup 2021-10-25 14:27:11 -05:00
i-norden
aace7793ba unify service RPC api and commands 2021-10-25 14:27:11 -05:00
i-norden
f207284e3a fix namespace 2021-10-24 18:37:01 -05:00
i-norden
072f035a02 wire up; customize metrics 2021-10-21 13:00:30 -05:00
Arijit Das
b09e58c22a Upgrade geth to v1.10.9. 2021-10-14 12:17:38 +05:30
Ian Norden
0315a31dd2 add endpoints for fetching/writing statediff by blockhash 2021-02-27 12:39:16 -06:00
7a6b866163 docs, tweaks, fixes 2020-11-26 18:57:54 +08:00
bd5d2992fa fix import
add namespacing to avoid name conflicts
2020-11-17 09:37:36 +08:00
abff9bf045 refactors
geth Node api change

sd ctor refactor
2020-11-16 17:49:59 +08:00
ca8b3066d1 Write directly to PostgreSQL (port from geth statediff) 2020-11-15 15:18:34 +08:00
03018fa58a proper fail for worker count 2020-09-15 01:03:59 -05:00
f251d82d9d refactor config for workers 2020-09-14 22:51:54 -05:00
d99ceddcf8 refactor geth statediff types back in 2020-09-14 20:16:17 -05:00
d33949e32f rip statediff from geth fork 2020-09-06 21:13:20 -05:00
Ian Norden
c2a5097686 log the size of the state object 2020-08-19 14:34:05 -05:00
Ian Norden
83bbb9aa70 use logrus 2020-08-19 11:35:09 -05:00
Ian Norden
5f907ca1e6 goimports + minor fixes 2020-08-19 00:57:57 -05:00
Ian Norden
3791bc4a20 adapted statediffing service 2020-08-19 00:15:21 -05:00