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
a10zn8
f936c9b999
problem: unhandled exception when a remote grpc gives an http error
...
(cherry picked from commit bae613e8b8 )
2022-12-15 19:06:06 +04:00
a10zn8
c20d270e44
problem: some nodes may respond with a JSON RPC setting a non-200 status code but Dshackle ignores that JSON
...
(cherry picked from commit ddc6fb2a4c )
2022-12-15 19:06:06 +04:00
a10zn8
3a65201f73
problem: timeout on unit tests
...
(cherry picked from commit 255a3833fd )
2022-12-14 15:23:41 +04:00
a10zn8
f59b878dc6
do not call fillInStackTrace in exception constructor in happy path
2022-12-14 15:13:01 +04:00
a10zn8
1d9820ee9e
solution: reorganize test data
...
(cherry picked from commit 7af620984a )
2022-12-13 17:07:07 +04:00
a10zn8
d4100d8f58
problem: separate tests are not usable in the current state, better to work on improving unit tests
...
(cherry picked from commit 96264b839f )
2022-12-13 17:07:07 +04:00
a10zn8
6da5c65b03
problem: looses upstream error details
2022-12-13 17:07:07 +04:00
a10zn8
bbf8dc707f
Merge pull request #81 from p2p-org/optimise-block-by-number
...
optimise default getBlockByNumber - skip processing requests of tx bo…
2022-12-13 17:06:16 +04:00
a10zn8
817925ea7d
remove cached full block reader
2022-12-13 16:33:38 +04:00
MaxFomenkov
e287d59c9f
Merge pull request #79 from p2p-org/configure_method_groups
...
configure method groups
2022-12-12 17:00:57 +03:00
a10zn8
25e2e32685
optimise default getBlockByNumber - skip processing requests of tx bodies
2022-12-12 17:58:59 +04:00
a10zn8
2c666eed99
disable local router caches
2022-12-12 17:42:54 +04:00
Maksim Fomenkov
c6ffceaff8
configure method groups
2022-12-12 15:46:40 +03:00
Termina1
8c34a5ce2f
remove unused code
2022-12-09 23:19:42 +02:00
Termina1
a4f0d44105
changes from upstream: removed RpcReader and use better flow for tx receipt
2022-12-09 23:04:50 +02:00