KirillPamPam
153d0f7d85
Fix update methods ( #221 )
2023-06-02 17:55:20 +04:00
a10zn8
64705f612d
We should always send only best status form Multistream.observeStatus
2023-06-02 16:29:22 +04:00
KirillPamPam
d83e2f1c6b
Add height matcher for some methods ( #218 )
2023-05-30 17:28:26 +04:00
KirillPamPam
1e9e80a9a3
Update methods based on upstream availability ( #216 )
2023-05-25 17:27:09 +04:00
a10zn8
baee388d99
Added missed fields to NewHeadMessage
...
- fixed all mappings
- BlockJson structure moved from 3rd party library to dshackle codebase
2023-05-23 14:14:33 +04:00
KirillPamPam
4f21cb995d
Switch no response error to null or separate errors ( #210 )
2023-05-22 17:57:32 +04:00
KirillPamPam
a5c265b5f1
Add NotNullQuorum for tx methods ( #208 )
2023-04-27 15:10:57 +04:00
a10zn8
dca0e6614f
use parallel scheduler in tests for validate blocking operations
2023-04-21 19:15:40 +08:00
a10zn8
b97108fd35
use head scheduler instead of stock schedulers in other parts of system
2023-04-21 19:15:40 +08:00
a10zn8
f218e6e73b
use head scheduler instead of stock scheduler ( #206 )
2023-04-21 15:53:21 +08:00
KirillPamPam
6b0e201c0e
Collect error spans from providers ( #198 )
2023-04-11 16:54:55 +04:00
KirillPamPam
fc488e1aab
Apply method matcher for direct reader ( #200 )
2023-04-11 14:37:17 +04:00
KirillPamPam
9af4b95f8f
Adjust retry policies ( #199 )
2023-04-10 15:32:47 +04:00
KirillPamPam
ceea848348
Fix restart ws head ( #191 )
...
* Fix restart ws head
2023-04-03 16:26:32 +04:00
KirillPamPam
97fa616e19
Resubscribe to newHeads immediately after reconnection ( #189 )
...
* Resubscribe to newHeads immediately after reconnection
2023-03-30 13:32:02 +04:00
KirillPamPam
bdcb7386cd
Fix distance for fork and add parentHash to blockContainer ( #186 )
...
* Fix distance for fork
2023-03-28 15:16:39 +04:00
KirillPamPam
eac5a4ccf8
Add options to chains.yaml ( #185 )
...
* Add options to chains.yaml
2023-03-27 15:26:08 +04:00
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