51d20540ff
Implement WriteStateDiffAt
...
Writes state diffs directly to postgres
Adds CLI flags to configure PG
Refactors builder output with callbacks
Copies refactored postgres handling code from ipld-eth-indexer
2020-10-23 21:47:44 +08:00
Ian Norden
44aefa849b
add endpoint to fetch all state and storage nodes at a given blockheight; useful for generating a recent atate cache/snapshot that we can diff forward from rather than needing to collect all diffs from genesis
2020-05-18 20:44:17 -05:00
Ian Norden
347a7ba0e8
update top level tests
2020-05-13 14:03:45 -05:00
Ian Norden
8c9ac32245
add genesis block to test; handle block 0 in StateDiffAt
2020-05-07 22:48:49 -05:00
Ian Norden
8eb2e64435
review fixes
2020-03-05 10:11:31 -06:00
Ian Norden
a8b456883f
rpc method to get statediff at specific block; requires archival node or the block be within the pruning range
2020-03-05 10:11:31 -06:00
Ian Norden
b3f10c9e69
relay receipts with the rest of the data + review fixes/changes
2020-03-05 10:11:31 -06:00
Ian Norden
ad87bad4de
review fixes; proper method signature for api; adjust service so that statediff processing is halted/paused until there is at least one subscriber listening for the results
2020-03-05 10:11:31 -06:00
Ian Norden
71b41b5c77
refactoring state diff service and adding api which allows for streaming state diff payloads over an rpc websocket subscription
2020-03-05 10:11:31 -06:00