Commit Graph

25 Commits

Author SHA1 Message Date
Igor Artamonov
042408b4e6 solution: refactor and redesign API access, now with AggregateUpstream providing base direct/routed apis, plus actual chain upstreams providing specific readers 2020-05-13 22:29:21 -04:00
Igor Artamonov
0ef46b2980 problem: different places to fetch from upstream
solution: single access reader for Ethereum upstreams
2020-05-04 21:51:42 -04:00
Igor Artamonov
605c817149 solution: actualize copyrights and license 2020-04-27 21:49:01 -04:00
Igor Artamonov
ba996a8d2b solution: initial implementation for Bitcoin upstreams 2020-04-18 22:26:30 -04:00
Igor Artamonov
9cf1827fe1 problem: keeps data (block/tx) as business object, which requires special treating
solution: keep as bytes (json string) + meta
2020-04-14 00:25:25 -04:00
Igor Artamonov
0ab68ea782 solution: refactor upstreams to make them blockchain specific 2020-04-11 22:55:47 -04:00
Igor Artamonov
b255bed3a1 solution: use caching for WS head 2020-02-23 23:54:30 -05:00
Igor Artamonov
d551d95a3f solution: cache requested transactions 2020-02-07 23:51:28 -05:00
Igor Artamonov
706f472355 solution: upstream apis as a controller Publisher 2019-09-06 00:15:10 -04:00
Igor Artamonov
8b7888eb8c problem: grpc upstream can change set of provided upstreams
solution: periodically recheck and update current list
2019-08-31 22:53:43 -04:00
Igor Artamonov
bc83b1b120 solution: setup custom upstream methods 2019-08-25 20:50:16 -04:00
Igor Artamonov
e5c9124705 solution: reorganize packages 2019-08-25 18:37:57 -04:00
Igor Artamonov
d873130567 solution: open source it 2019-08-22 21:07:12 -04:00
Igor Artamonov
8a99212fc5 solution: cache latest blocks in memory 2019-08-20 23:14:49 -04:00
Igor Artamonov
03ce6f74a5 problem: unnecessary method for Head 2019-08-16 22:03:32 -04:00
Igor Artamonov
303d7e1164 problem: a Websocket based upstream lacks current height until it loaded through Websocket
solution: load initial block through RPC, then continue with Websocket
2019-08-16 21:31:06 -04:00
Igor Artamonov
0b156d12e7 problem: starts subscription on init, may keep them forever 2019-08-13 22:28:26 -04:00
Igor Artamonov
89bd52a267 problem: doesn't update head subscription through remote dshackle, because upstream becomes ready later after chain setup
solution: fix and refactor to avoid such situation in code
2019-08-11 20:22:37 -04:00
Igor Artamonov
7205a33ff3 solution: correctly account for upstream lag 2019-08-09 00:29:26 -04:00
Igor Artamonov
2b7109cea3 solution: use quorum for native calls 2019-08-04 18:13:18 -04:00
Igor Artamonov
22c2294983 solution: select which kind of upstream to use for native call 2019-08-02 23:46:58 -04:00
Igor Artamonov
913ad6965a problem: can notify client about new head before actual upstream made available 2019-07-30 00:21:31 -04:00
Igor Artamonov
64e0ac58fd solution: stream updates to blockchain status 2019-07-26 22:29:19 -04:00
Igor Artamonov
144008e5aa problem: can keep several subscription for the same head 2019-07-25 23:58:24 -04:00
Igor Artamonov
fd8c35bec2 solution: connects to remote dshackle 2019-07-25 22:53:02 -04:00