Commit Graph
100 Commits
Author SHA1 Message Date
a10zn8 0db052024b remove nonce quorum 2023-06-06 14:50:35 +04:00
a10zn8 a3a2f33880 Do not unwind rpc exception 2023-06-06 14:50:24 +04:00
a10zn8 64705f612d We should always send only best status form Multistream.observeStatus 2023-06-02 16:29:22 +04:00
a10zn8 f626cf61cb We should not fail response parsing in case null id of response 2023-05-31 12:09:41 +04:00
a10zn8 aa5ada324b Fix native subscription in case grpc head subscription mode.
Grpc Head provides limited set of information, so we need to make some new fields optional
2023-05-23 19:59:42 +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
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
a10zn8 75c6deb6a0 do not push docker tag without patch version (#202) 2023-04-12 17:28:52 +04:00
a10zn8 7fc78dea09 Do not set default max memory limits (#201) 2023-04-11 19:37:54 +04:00
a10zn8 894c7a894c get build version on configuration stage (#197) 2023-04-06 19:17:08 +04:00
a10zn8 ae9ef97bef remove version from build.gradle (#196) 2023-04-06 18:34:02 +04:00
a10zn8 0ce97b495f now snapshot versions have more correct name (#195) 2023-04-06 17:44:22 +04:00
a10zn8 0f7af999d9 releases ci changes (#194) 2023-04-05 19:37:00 +04:00
a10zn8 5aa324ec11 release 0.30 (#193) 2023-04-04 20:20:08 +04:00
a10zn8 13efe73a22 add gzip compression to JsonRpcHttpClient (#192) 2023-04-03 18:44:35 +04:00
a10zn8 dcf360a7d7 add empty tag reactor_scheduler_id for metric correctness (#190) 2023-03-29 21:19:30 +04:00
a10zn8 e9061be3d7 remove schedulers metrics prefix (#188) 2023-03-29 18:44:39 +04:00
a10zn8 8a2455fcd1 Clients stream should be sequentially concated (#187)
* Clients stream should be sequentially concated
* remove debug log
2023-03-28 21:28:22 +04:00
a10zn8 67ca1b85ea added protection for grpc head and grpc received blocks metric (#184) 2023-03-24 18:49:46 +04:00
a10zn8 783aaaef05 enable grpc reflection (#183) 2023-03-24 15:19:44 +04:00
a10zn8 f41ee1e577 health endpoint should check available for requests endpoint (#180) 2023-03-21 16:58:08 +03:00
a10zn8 9d81bbae65 Less logs in QuorumRpcReader (#179) 2023-03-21 13:25:07 +03:00
a10zn8 dfaee716bb Log every health request (#176) 2023-03-20 09:25:04 +03:00
a10zn8 b1f302aa60 Now grpchead have correct name (#175) 2023-03-19 18:59:03 +03:00
a10zn8 d281cd8857 subscribeNodeStatus should write fewer logs (#174) 2023-03-19 17:21:26 +03:00
a10zn8 de9ac6a845 In case empty selector in SubscribeNative we should use default dynamic merged head - also valid for anyLabelSelector (#173) 2023-03-19 16:33:08 +03:00
a10zn8 a47607d03d In case empty selector in SubscribeNative we should use default dynamic merged head. (#172) 2023-03-19 16:07:14 +03:00
a10zn8 064a3e40c6 release 0.29 (#171) 2023-03-17 19:14:59 +03:00
a10zn8 153e5115ff head lag observer throttling - fix test (#170) 2023-03-17 18:42:09 +03:00
a10zn8 1ef8b7499c head lag observer throttling (#169) 2023-03-17 17:57:19 +03:00
a10zn8 d34848fb87 Log errors and info about node status subscription (#168) 2023-03-17 17:00:12 +03:00
a10zn8 1bca196387 New default chain settings for Arbitrum and Optimism and their testnets (#164) 2023-03-17 14:00:22 +03:00
a10zn8 4fcff6a8e0 rework of grpc head connection retries (#166) 2023-03-16 19:17:26 +03:00
a10zn8 7c1e8a00df In case disabled enrichment and native subscription without proxy we should have fallback enrichment of blocks (#159) 2023-03-14 15:04:11 +03:00
a10zn8 3a48eceaed disable enhancement grpc blocks (#158) 2023-03-14 13:54:40 +03:00
a10zn8 03cbf25d87 Add optimism and arbitrum testnets - fix typo (#152) 2023-03-01 13:09:25 +03:00
a10zn8 f025a68b72 Add optimism and arbitrum testnets (#151) 2023-03-01 13:06:03 +03:00
a10zn8 a036920c98 Update documentation sections about ethereum PoS connection (#150) 2023-03-01 12:27:24 +03: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
a10zn8 1698bf7002 Upstream enhancement improvement: (#147)
- now we don't enrich PoS blocks - now is default
2023-02-23 14:33:35 +05: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
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
a10zn8 acf559f3e1 exit jvm on OOM (#143) 2023-02-20 13:02:07 +04:00
a10zn8 2c33410d0a change max interval of ws reconnect to 1 minute (#142) 2023-02-17 16:12:14 +04: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
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
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
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
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
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
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
a10zn8 f64fc28fcd Merge pull request #121 from p2p-org/g1-gc-fix
use g1 gc only
2023-01-24 17:33:37 +04:00
a10zn8 0823d6d961 use g1 gc only 2023-01-23 20:54:02 +04:00
a10zn8 78a27c9782 Merge pull request #118 from p2p-org/remove-old-log
remove excessive logging
2023-01-20 19:13:15 +04:00
a10zn8 6148d96499 remove excessive logging 2023-01-20 19:12:34 +04:00
a10zn8 b00f14d928 Merge pull request #110 from p2p-org/stable-multistreams
Stabilisation of upstreams
2023-01-19 18:31:24 +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 36e28af874 Merge pull request #117 from p2p-org/logging-for-grpc-upstream-description-processing
Added log for grpc upstreams processing
2023-01-19 16:14:45 +04:00
a10zn8 d18d96513d Added log for grpc upstreams processing 2023-01-19 16:08:46 +04:00
a10zn8 f6a6ee9757 Merge pull request #116 from p2p-org/feature-revert-test-head-metric 2023-01-18 19:37:29 +04:00
a10zn8 d4b1e8ee1c revert old metric that can cause gc problems 2023-01-18 19:12:42 +04:00
a10zn8 3a1ea1b975 Merge pull request #115 from p2p-org/less-memory
use fixed heap 1gb
2023-01-18 18:55:33 +04:00
a10zn8 722fe53293 use fixed heap 1gb 2023-01-18 18:49:40 +04:00
a10zn8 66c732563b Merge pull request #112 from p2p-org/fix-extra-cpu-usage-2
Fix extra cpu usage
- added fixed channel executor thread pool
- lag observer should be created only in case there are more than 1 upstreams exists
- fixed small typos in thread pools names
2023-01-17 20:21:37 +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 656b3952a8 Merge pull request #111 from p2p-org/fix-extra-cpu-usage-1
Small improvements after dynamic head introduction
2023-01-16 17:48:29 +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
a10zn8 4831059999 Merge pull request #105 from p2p-org/missing-responses
missing responses through a WS connection
2023-01-11 15:48:14 +04:00
a10zn8 65fc2bfe7b missing responses through a WS connection 2023-01-11 15:39:35 +04:00
a10zn8 ad0cb4be1c Merge pull request #101 from p2p-org/subscriptions-refactoring
small renaming refactoring and supported subscription feature
2022-12-28 15:42:11 +04:00
a10zn8 7cb9b1cac8 update api 2022-12-28 15:36:03 +04:00
a10zn8 031ee74bbc rename readers/routers according to their functions 2022-12-28 13:10:42 +04:00