Commit Graph

591 Commits

Author SHA1 Message Date
Igor Artamonov
710f90ddaa problem: formatting 2021-10-22 22:19:37 -04:00
Igor Artamonov
5f4a8a4ac4 solution: health check with detailed description of health 2021-10-22 22:12:48 -04:00
Igor Artamonov
e205985da3 solution: health check endpoint
fix: #111
2021-10-20 23:10:41 -04:00
Igor Artamonov
a04c1f3e66 problem: when an upstream is degrading it's unclear which one 2021-10-20 20:34:35 -04:00
Aldo Borrero
5167b8b125 solution: kotlin code conventions 2021-10-20 20:00:38 -04:00
Igor Artamonov
52840a1d45 solution: native subscription for "syncing" 2021-10-19 17:12:36 -04:00
Igor Artamonov
1673732a29 problem: doesn't cache recent Tx Receipts 2021-10-18 22:30:17 -04:00
Igor Artamonov
06811060cc solution: subscribe to "logs" events 2021-10-17 20:41:45 -04:00
Igor Artamonov
e37076936f problem: CompoundReader makes unnecessary requests 2021-10-17 19:47:32 -04:00
Igor Artamonov
e76e2bebf5 solution: newHeads subsription 2021-10-09 21:51:55 -04:00
Igor Artamonov
49bfa163ef solution: base implementation for NativeSubscribe 2021-10-04 20:58:25 -04:00
Igor Artamonov
84ca9d7dcf problem: disconnects from WebSocket if multiple upstreams are set 2021-09-23 22:27:33 -04:00
Igor Artamonov
ebef8cf27a problem: WS connection still breaks with very large frames
solution: increase default limit and make it configurable
2021-09-22 19:35:14 -04:00
Igor Artamonov
bd8c0f7c19 solution: mark Upstream status right after WS connect/disconnect 2021-09-22 17:08:43 -04:00
Igor Artamonov
1f864bdbe3 problem: too slow to validate WS on CI 2021-09-21 22:06:44 -04:00
Igor Artamonov
5586a95063 problem: unit test
rel: [37e3d4e]
2021-09-21 21:54:57 -04:00
Igor Artamonov
37e3d4e252 problem: waits to long to reconnect (10 seconds)
solution: use exp backoff, from 100ms to 1 minute
2021-09-21 21:41:44 -04:00
Igor Artamonov
16e589ab69 problem: drops connection because of large frames 2021-09-21 21:07:28 -04:00
Igor Artamonov
e44b2c129d problem: doesn't execute calls after reconnect 2021-09-21 20:33:53 -04:00
Igor Artamonov
613c895d75 problem: may stick with reconnect if multiple errors happened at the same time 2021-09-21 20:28:19 -04:00
Igor Artamonov
9a6b612855 solution: ensure it reconnects if WS connection closed or dropped 2021-09-21 20:00:16 -04:00
Igor Artamonov
e40c62a728 solution: check current height on connect 2021-09-20 22:43:00 -04:00
Igor Artamonov
b68da0f801 solution: WS-only Ethereum upstream 2021-09-20 22:04:25 -04:00
Igor Artamonov
568a045271 solution: Ethereum WS connection fetches block through the same WS channel, instead of HTTP RPC 2021-09-19 22:52:21 -04:00
Igor Artamonov
817f794c04 solution: upgrade Reactor libs 2021-09-15 23:21:07 -04:00
Igor Artamonov
1576f1fe64 solution: upgrade Kotlin to 1.5 2021-09-15 21:30:05 -04:00
Igor Artamonov
f443b7a297 problem: missing height in status log 2021-09-07 21:55:55 -04:00
Igor Artamonov
f6134ed470 problem: incorrect status updates 2021-09-06 17:38:27 -04:00
Igor Artamonov
8c7bb01f80 problem: produces repeated status update on same chain when it has many upstreams 2021-09-06 17:04:10 -04:00
Igor Artamonov
cd21984df8 solution: dynamic metrics for JSON RPC endpoint
fix: #100
Co-authored-by: SpontaneousOverthrow <v.rodionov@protonmail.com>
2021-09-05 20:16:22 -04:00
Igor Artamonov
a9e03775e2 problem: fails to process transactions on Matic network (because of large V value)
solution: upgrade EthereJar where it's fixed
2021-09-03 22:16:11 -04:00
Igor Artamonov
9dffe2f6e9 solution: support new method eth_feeHistory 2021-08-26 21:09:53 -04:00
Igor Artamonov
54dc251c87 solution: access log for JSON RPC proxy 2021-08-25 16:08:47 -04:00
Igor Artamonov
0f77b57bd0 problem: invalid height matcher when block hash is specified 2021-08-16 21:59:39 -04:00
Chase Wright
802d1c8eb8 solution: add support for Polygon/Matic 2021-08-11 23:25:33 -04:00
Igor Artamonov
7cf86129f0 problem: routes calls to upstreams that quorum wouldnt accept anyway (not-lagging quorum to lagging upstreams)
solution: select only possible acceptable upstreams before the call
2021-08-04 17:00:30 -04:00
Igor Artamonov
2f2a553cd4 solution: allow configuring a quorum for custom methods 2021-08-04 14:58:28 -04:00
Igor Artamonov
96109d4013 problem: gives no status updates if chain is not configured 2021-07-31 22:06:02 -04:00
SpontaneousOverthrow
5b3d5da4ad solution: dshackle_request_jsonrpc_request_total metric 2021-07-31 11:19:52 -04:00
Igor Artamonov
bc6d4c0c80 Merge pull request #93 from emeraldpay/feat/accesslog
access logging
2021-07-19 23:24:04 -04:00
Igor Artamonov
3a12efd0a0 solution: test accesslog writer 2021-07-19 22:19:48 -04:00
Igor Artamonov
9e49b0e13d solution: access log api version 2021-07-19 21:58:17 -04:00
Igor Artamonov
cd9087a425 solution: refactor AccessLog handler 2021-07-06 14:47:42 -04:00
Igor Artamonov
0d144a44a9 problem: NativeCall replies are logged only on complete
solution: add to the log at the moment of reply
2021-07-05 21:51:15 -04:00
Igor Artamonov
6cb703ec4e solution: access logging for SubscribeStatus method 2021-07-04 18:38:00 -04:00
Igor Artamonov
3ef5a4455c problem: doesn't publish upstream status updates 2021-07-04 18:37:17 -04:00
Igor Artamonov
c27217a4ff problem: failing unit tests
rel: [f2bc0f1d9b]
2021-07-04 18:36:31 -04:00
Igor Artamonov
ba1e93a965 solution: access logging for Describe method 2021-07-04 17:33:38 -04:00
Igor Artamonov
50a7177e6a solution: access logging for SubscribeTxStatus method 2021-07-03 22:32:46 -04:00
Igor Artamonov
f2bc0f1d9b solution: access logging for GetBalance method 2021-06-28 18:41:08 -04:00