Commit Graph
803 Commits
Author SHA1 Message Date
KirillPamPam 8310d79f9c Show error spans like in dproxy (#144) 2023-02-20 14:30:41 +04:00
KirillPamPam 04d1334af6 Add json logging and tracing (#131) 2023-02-17 16:39:35 +04:00
a10zn8 2c33410d0a change max interval of ws reconnect to 1 minute (#142) 2023-02-17 16:12:14 +04:00
a10zn8 1683be8dac more granular config for upstream validation 2023-02-15 19:13:10 +04:00
a10zn8 268537f727 Support for widers scope of providers
- we need to read full block in case transactions is empty OR totalDifficulty is null
- we need to log errors in upstream validation process
2023-02-14 23:04:02 +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 06a38ffaf7 fix wildcards 2023-02-13 18:59:56 +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
Vadim Vlasov 8649cc03aa add option to enable compression for gRPC-server (#133)
* add grpc server compression

* change compression config defaults

* fix review issue

* add note about compression in readme

* add compression section to server config doc
2023-02-10 17:27:52 +08:00
Vadim Vlasov fc36e63ea6 add detailed upstream availability metrics (#132)
* add detailed upstream availability metrics

* fix review issues
2023-02-09 13:28:44 +08:00
a10zn8 0eb3523027 Merge pull request #130 from p2p-org/more-about-subscribe-statuses
more event sending
small log changes
2023-02-06 15:14:06 +04:00
a10zn8 cf8ec812e1 fixes for node subscribe:
- more event sending
- small log changes
2023-02-06 14:57:40 +04:00
KirillPamPam 02f81c7029 Merge pull request #128 from p2p-org/height_matcher
Add height matcher for getBlockByHash, getBlockByNumber and getTransactionByBlock*
2023-02-06 14:48:48 +04:00
Кирилл 0792494d90 Add height matcher for methods by block 2023-02-03 18:12:19 +04:00
Vadim Vlasov bcc07b131f add sepolia testnet (#129) 2023-02-02 16:15:59 +03:00
KirillPamPam 3a8d5d536a Merge pull request #126 from p2p-org/fix_retries
Fix retries
2023-02-01 14:07:07 +04:00
Кирилл a049a54854 Fix retries 2023-02-01 14:00:13 +04:00
a10zn8 ad5d23cb32 Merge pull request #11 from p2p-org/node-status-sub-id
id for subscription for node statuses
2023-01-31 12:50:45 +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 1e8c4e1ab1 Change Status class to data class for better logging
Log every node status change in blockchain rpc
2023-01-25 13:29:58 +04:00
a10zn8 8eac1178ec propagate grpc provided upstream id 2023-01-24 19:59:34 +04:00
a10zn8 c9fa1faa3f it is dangerous to use tryEmitNext without check of result in multithreaded case. emitNext with EmitFailureHandler are safe option for such situations.
Also added logging for upstream status changes
2023-01-24 18:06:23 +04:00
KirillPamPam 731ee2c747 Merge pull request #119 from p2p-org/add_supportedSubs
Add supported subscription methods to SubscribeNodeStatus response
2023-01-23 19:44:48 +04:00
Кирилл 0f7fd35b12 Add supported sub methods to SubscribeNodeStatus 2023-01-23 17:22:43 +04:00
a10zn8 6148d96499 remove excessive logging 2023-01-20 19:12:34 +04:00
a10zn8 a46b456a25 improve logging
- log merged head stop
- add network name to label
- log only non-empty deltas of grpc upstreams changes
2023-01-19 18:16:23 +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 d18d96513d Added log for grpc upstreams processing 2023-01-19 16:08:46 +04:00
a10zn8 d4b1e8ee1c revert old metric that can cause gc problems 2023-01-18 19:12:42 +04:00
Кирилл c82ff9d6cf Move to Java 17 2023-01-18 14:49:57 +04:00
a10zn8 1efbba29f3 set lag = 0 in case single upstream in multisream 2023-01-17 20:13:25 +04:00
a10zn8 ed82aa373a Added fixed channel executor thread pool 2023-01-17 20:02:03 +04:00
a10zn8 a23d28b5e6 fixed small typos in thread pools names
lag observer should be created only in case there are more than 1 upstreams exists
2023-01-17 12:56:34 +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
Vyacheslav Shebanov ef6246c4a3 Merge pull request #107 from p2p-org/fix/ehtereum-call-selector
ethereum call selector and passthrough interaction: keep same upstrea…
2023-01-12 15:11:08 +02:00
a10zn8 bb035b4469 dymanic head subscription 2023-01-12 15:52:59 +04:00
Termina1 5488c201c5 fix stylw 2023-01-12 13:11:02 +02:00
Termina1 f298b99251 subscribe status send current upstream state on subscription 2023-01-12 13:05:47 +02:00
Termina1 0826f9a2be ethereum call selector and passthrough interaction: keep same upstream matcher 2023-01-12 12:51:11 +02:00
Termina1 72982c9284 added node id for node status 2023-01-11 18:00:52 +02:00
a10zn8 65fc2bfe7b missing responses through a WS connection 2023-01-11 15:39:35 +04:00
Termina1 1fdf816ca2 passthrough mode - ignore call specific selectors 2023-01-10 20:52:43 +02:00
Termina1 8066b88108 fix linter 2023-01-10 13:40:19 +02:00
Termina1 4aa54cb907 subscribe node status - remove head subscription and remove sampling, afraid of missing updates 2023-01-10 13:33:35 +02:00