Commit Graph

335 Commits

Author SHA1 Message Date
a10zn8
67ca1b85ea added protection for grpc head and grpc received blocks metric (#184) 2023-03-24 18:49:46 +04:00
KirillPamPam
f6bec7bf8a Fix merge upstream options (#182)
* Fix merge upstream options
2023-03-23 19:39:09 +04:00
a10zn8
f41ee1e577 health endpoint should check available for requests endpoint (#180) 2023-03-21 16:58:08 +03:00
KirillPamPam
74d666a0bd Fix reconnect to newHeads (#178)
* Fix reconnect to newHeads
2023-03-21 16:41:47 +04:00
Vadim Vlasov
a3a89ab920 add build info to upstream (#162)
* add build info to upstream

* fix tests

* add build info to node status subscription

* move proto field

* update proto submodule to master
2023-03-20 20:20:30 +08:00
a10zn8
b1f302aa60 Now grpchead have correct name (#175) 2023-03-19 18:59:03 +03:00
a10zn8
153e5115ff head lag observer throttling - fix test (#170) 2023-03-17 18:42:09 +03:00
a10zn8
1bca196387 New default chain settings for Arbitrum and Optimism and their testnets (#164) 2023-03-17 14:00:22 +03:00
KirillPamPam
ef6ff919bd Fix getting not enrich blocks (#165) 2023-03-16 19:42:02 +04:00
KirillPamPam
f7451c54eb Revert save not enriched to cache (#163) 2023-03-16 18:07:40 +04:00
KirillPamPam
a0dfb86c54 Turn off caches for main, fix cache not enrichment blocks (#160) 2023-03-15 13:38:07 +04:00
Vadim Vlasov
e3c39f601e Disable height matcher when passthrough is on (#157)
* disable height matcher when passthrough is on

* add test

* fix review issues
2023-03-14 16:16:36 +08:00
Vadim Vlasov
d3e215b940 Add height matcher for method (#156)
* add height matcher for method

* add test

* add test for block methods fix
2023-03-13 17:39:56 +08:00
KirillPamPam
01ea756e33 Add SpanReader wrapper for creating additional spans (#155) 2023-03-07 13:42:34 +04:00
a10zn8
00a1490726 Upstream configuration improvement: (#149)
- now we can specify connector mode for better fine tuning of connection
2023-02-27 14:22:50 +05:00
Vyacheslav Shebanov
1ec3d44484 new upstream change type — updated, triggered when upstream methods changed (#148) 2023-02-23 20:25:46 +02:00
a10zn8
312293d626 Upstream validation and enhancement improvement: (#146)
- now validation of upstream starts immediately after upstream starts - it allows it became available asap
- now we don't enrich PoS blocks which improves performance and decrease number of requests to node
2023-02-23 13:41:46 +05:00
KirillPamPam
04d1334af6 Add json logging and tracing (#131) 2023-02-17 16:39:35 +04:00
a10zn8
1683be8dac more granular config for upstream validation 2023-02-15 19:13:10 +04:00
a10zn8
6d78b4927d Adjustments in availability determination:
- now isAvailable return true in case upstreams are OK or LAGGING
- All upstreams in Filtered API now sorted by status
2023-02-13 19:19:25 +04:00
a10zn8
6af3e0aeca fix wildcards 2023-02-13 19:18:27 +04:00
Vadim Vlasov
e91f75b367 add gRPC-client compression (#136)
* add upstream grpc-client compression

* fix review issues
2023-02-13 22:47:48 +08:00
a10zn8
dc7ca5b642 disable star imports in editorconfig and format all imports 2023-02-13 18:11:45 +04:00
a10zn8
2809e87d33 config merge 2023-02-13 17:07:58 +04:00
a10zn8
ad0d0b2b57 refactoring 2023-02-10 20:22:35 +04:00
a10zn8
ff4c538568 added chains configuration 2023-02-10 17:56:21 +04:00
Кирилл
0792494d90 Add height matcher for methods by block 2023-02-03 18:12:19 +04:00
Кирилл
a049a54854 Fix retries 2023-02-01 14:00:13 +04:00
KirillPamPam
b09bef4b5a Merge pull request #124 from p2p-org/ws_connection_pool
Add ws connection pool
2023-01-26 19:17:05 +04:00
Кирилл
ed0c5cb517 Add ws connection pool 2023-01-26 15:53:00 +04:00
a10zn8
8eac1178ec propagate grpc provided upstream id 2023-01-24 19:59:34 +04:00
a10zn8
16f8121a46 Stabilisation of upstreams:
- reverted removing of configured upstreams in case of unavailability
- small refactoring in grpc upstreams
- fixing of bug of statuses subscription
2023-01-19 17:37:24 +04:00
a10zn8
ed82aa373a Added fixed channel executor thread pool 2023-01-17 20:02:03 +04:00
a10zn8
6beda847b1 Small improvements after dynamic head introduction
- add injection of schedulers for dynamic heads
- more logging
- replace onBackpressureBuffer to directBestEffort multicast sink
2023-01-16 17:39:30 +04:00
a10zn8
8891539b73 Merge pull request #109 from p2p-org/dynamic-merged-head 2023-01-12 19:27:38 +04:00
a10zn8
bb035b4469 dymanic head subscription 2023-01-12 15:52:59 +04:00
Termina1
0826f9a2be ethereum call selector and passthrough interaction: keep same upstream matcher 2023-01-12 12:51:11 +02:00
Termina1
1fdf816ca2 passthrough mode - ignore call specific selectors 2023-01-10 20:52:43 +02:00
a10zn8
031ee74bbc rename readers/routers according to their functions 2022-12-28 13:10:42 +04:00
a10zn8
25dde8cfdf blockchain supported subscriptions data 2022-12-27 17:31:52 +04:00
a10zn8
08b47d128c Move from homemade solutions to Caffeine 2022-12-23 14:36:46 +04:00
a10zn8
e0fdfa4420 ws subscription refactoring
added support of pending transactions subscription
2022-12-22 17:03:10 +04:00
a10zn8
7bc4acb376 Merge pull request #98 from p2p-org/fix-upstream-id
now return first resolver as upstream-id in case of quorum rpc read.
2022-12-22 13:13:59 +04:00
Termina1
92ac7fb9ad tryProxy does not makes sense for > than 1 upstream selectors 2022-12-21 20:55:22 +02:00
a10zn8
44ba9b47ba now return first resolver as upstream-id in case of quorum rpc read. 2022-12-21 22:02:08 +04:00
MaxFomenkov
8bbcdb6785 Merge pull request #93 from p2p-org/subscribe_node_status
subscribe node status
2022-12-20 17:06:37 +03:00
a10zn8
5db9e1bfd1 Merge pull request #87 from p2p-org/do-not-write-ws-exception-stacktrace
do not call fillInStackTrace in exception constructor in happy path
2022-12-19 16:14:31 +04:00
Maksim Fomenkov
db97b656cf fix style and tests 2022-12-19 11:41:05 +03:00
a10zn8
214abc4722 Revert "problem: timeout on unit tests" 2022-12-16 15:19:15 +04:00
a10zn8
8c656ca28b Merge pull request #88 from p2p-org/timeout-tests-ws
problem: timeout on unit tests
2022-12-16 14:42:09 +04:00