73292c4046
replace prerun options with run command
2023-08-25 20:21:25 +08:00
472b2a7f61
refactor types & use plugin builder
...
- removes StateTrieAt, we can no longer return a full trie without inner nodes
2023-08-25 20:21:15 +08:00
f6fa9ad72b
swap geth-statediff for plugeth-statediff
2023-08-25 20:12:13 +08:00
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
257b16e184
Add missing tests for direct indexing mode
2022-05-13 18:28:58 +05:30
4363bf5c07
Implement use of custom chain config to test locally
2022-05-13 16:37:30 +05:30
7c19e86698
Call method for computing watchedAddressesLeafKeys
2022-05-12 15:51:46 +05:30
6ed1bc739d
Update builder tests to use geth statediff test helpers
2022-05-11 18:53:39 +05:30
32724ff46c
Fix rlp.EncodeToBytes arg and creating node iterators
2022-05-11 15:21:23 +05:30
9a7ecf9ef3
Add watched addresses direct indexing mode changes
2022-05-11 00:03:20 +05:30
ea4fb6222b
Update geth version
2022-05-10 11:36:14 +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
a7ae868dd8
finish prom metrics
2021-10-25 15:40:11 -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
i-norden
0f81dc32d2
prom pkg + monitoring
2021-10-21 11:57:44 -05:00
i-norden
fb37ee9881
cli and toml bindings; fix unit tests; remove unused code
2021-10-19 16:49:04 -05:00
i-norden
01d0c21fd5
make cache configurable
2021-10-19 16:19:44 -05:00
Arijit Das
b09e58c22a
Upgrade geth to v1.10.9.
2021-10-14 12:17:38 +05:30
Ian Norden
41e2ae176f
update to use v1.10.1-statediff-0.0.16; including fix for missing leaf keys in 'removed node' entries
2021-03-24 17:46:20 -05:00
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
Ian Norden
b2c00f9fc7
update go-modules
2020-11-08 17:30:43 -06:00
Ian Norden
e7d69e5d65
update unit tests to test codeAndCodeHash
2020-11-08 17:25:38 -06:00
Ian Norden
121f867a35
emit codeAndCodeHash in StateObject payloads
2020-11-08 17:25:22 -06:00
03018fa58a
proper fail for worker count
2020-09-15 01:03:59 -05:00
e9e7144ac6
refactor tests
2020-09-14 22:51:54 -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
7188c73032
goimports
2020-09-08 19:32:01 -05:00
cd80c2be42
update iterator
2020-09-08 19:04:20 -05:00
3100268677
nit
2020-09-08 01:32:29 -05:00
29e3d30a7d
update iterator
2020-09-08 01:32:25 -05:00
8ff057a1ea
clean up
2020-09-06 21:16:42 -05:00
c93735851a
Implement concurrent diff
2020-09-06 21:16:37 -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
94914adafc
leveldb reader
2020-08-19 00:17:34 -05:00
Ian Norden
4bc8f3d1f4
adapted statediffing api
2020-08-19 00:15:40 -05:00