Commit Graph

928 Commits

Author SHA1 Message Date
a10zn8
30da584388 Changes in logging (#145)
- move noisy logging to trace level
- log entire broken ws message
2023-02-20 18:31:10 +04:00
KirillPamPam
8310d79f9c Show error spans like in dproxy (#144) 2023-02-20 14:30:41 +04:00
a10zn8
acf559f3e1 exit jvm on OOM (#143) 2023-02-20 13:02:07 +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
Maksim
8c46a7c0fb Update build.gradle 2023-02-17 13:43:23 +03:00
a10zn8
5d7f5e274d Merge pull request #141 from p2p-org/granular-validation
more granular config for upstream validation
2023-02-16 14:30:06 +04:00
a10zn8
1683be8dac more granular config for upstream validation 2023-02-15 19:13:10 +04:00
a10zn8
671903f65c Merge pull request #140 from p2p-org/support-null-values-in-subscription
Support for wider scope of providers
2023-02-14 23:12:37 +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
Maksim
cbb436f3f0 Update build.gradle 2023-02-14 12:34:16 +03:00
a10zn8
959c5a75e8 Merge pull request #138 from p2p-org/make-more-soft-availability
Adjustments in availability determination:
2023-02-13 19:37:43 +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
1b83e99cff Merge pull request #139 from p2p-org/fix-wildcards
fix wildcards
2023-02-13 19:18:52 +04:00
a10zn8
6af3e0aeca fix wildcards 2023-02-13 19:18:27 +04:00
a10zn8
3cff3b9e37 Merge pull request #137 from p2p-org/fix-wc
fix wildcards
2023-02-13 19:00:31 +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
e5fa66058f Merge pull request #135 from p2p-org/star-imports-fix
disable star imports in editorconfig and format all imports
2023-02-13 18:14:47 +04:00
a10zn8
dc7ca5b642 disable star imports in editorconfig and format all imports 2023-02-13 18:11:45 +04:00
a10zn8
c34ceb3de7 Merge pull request #134 from p2p-org/lag-config
added chains configuration
2023-02-13 17:17:02 +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
Maksim
9948b6a781 Update build.gradle 2023-02-06 17:14:31 +03:00
Maksim
c519e8e8c7 Update build.gradle 2023-02-06 17:14:16 +03: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
Maksim
cfdea2319c Update build.gradle 2023-02-02 19:05:47 +03:00
mxssl
6c97153aad bump java ver 2023-02-02 19:04:53 +03:00
Maksim
b57b6785be Update build.gradle 2023-02-02 18:50:41 +03:00
Vadim Vlasov
bcc07b131f add sepolia testnet (#129) 2023-02-02 16:15:59 +03:00
a10zn8
9f36f1ff18 Merge pull request #127 from p2p-org/chains-to-docs
added all chain types to docs
2023-02-02 12:57:42 +04:00
a10zn8
7000acc4ca added all chain types to docs 2023-02-01 19:31:03 +04: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
bdf8440f3c Merge pull request #125 from p2p-org/logging-again
Logging tuning
2023-01-31 23:37:18 +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
6b7934798f Merge pull request #123 from p2p-org/more-logging
Change Status class to data class for better logging
2023-01-25 13:47:51 +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
bbfec19d05 Merge pull request #120 from p2p-org/provided-upstream-id
propagate grpc provided upstream id
2023-01-24 20:10:35 +04:00
a10zn8
8eac1178ec propagate grpc provided upstream id 2023-01-24 19:59:34 +04:00
a10zn8
d92ba5ddfa Merge pull request #122 from p2p-org/emit-next-safe
it is dangerous to use `tryEmitNext` without check of result
2023-01-24 19:54:04 +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