Commit Graph
100 Commits
Author SHA1 Message Date
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
a10zn8 2b5c29be17 JsonRpcReader type alias 2022-12-27 17:40:56 +04:00
a10zn8 25dde8cfdf blockchain supported subscriptions data 2022-12-27 17:31:52 +04:00
a10zn8 5f474678e4 Merge pull request #100 from p2p-org/move-to-caffeine
Move from homemade solutions to Caffeine
2022-12-23 14:50:01 +04:00
a10zn8 08b47d128c Move from homemade solutions to Caffeine 2022-12-23 14:36:46 +04:00
a10zn8 9fb302729f Merge pull request #97 from p2p-org/pending-transactions
ws subscription refactoring
2022-12-22 21:47:14 +04:00
a10zn8 8ad099c635 add eth_subscribe ethereum methods control documentation 2022-12-22 21:46:14 +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
a10zn8 44ba9b47ba now return first resolver as upstream-id in case of quorum rpc read. 2022-12-21 22:02:08 +04:00
a10zn8 ddf865788d Merge pull request #95 from p2p-org/small-health-endpoint-fixes 2022-12-19 21:59:04 +04:00
a10zn8 29d888c013 health endpoint should be stopped in case application starts to shut down 2022-12-19 19:28:36 +04:00
a10zn8 8cfb6ce250 Merge pull request #94 from p2p-org/disable-cache-doc
requests-cache-enabled docs
2022-12-19 17:27:51 +04:00
a10zn8 482b7b5e1e requests-cache-enabled docs 2022-12-19 17:25:21 +04: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
a10zn8 6d7da4fdbe Merge pull request #92 from p2p-org/revert-88-timeout-tests-ws
Revert "problem: timeout on unit tests"
2022-12-16 15:19:34 +04: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 694c2dd529 Merge pull request #86 from p2p-org/rpc-clients-fixes
Rpc clients fixes
2022-12-15 19:22:03 +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 66d33e53d1 Merge pull request #89 from p2p-org/fix-grpc-upstream-reconnection
Fix grpc head reconnection
2022-12-15 17:19:31 +04:00
a10zn8 0d5aab7e8f Fix grpc head reconnection 2022-12-15 17:06:50 +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 2d621aeef4 Merge pull request #83 from p2p-org/sync-upstream-part1
Sync upstream part 1
2022-12-13 18:30:39 +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 9edb703991 problem: switches an upstream with disabled validation to the syncing state though it doesn't check the sync for it
(cherry picked from commit 55fa1ea0d9)
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
a10zn8 25e2e32685 optimise default getBlockByNumber - skip processing requests of tx bodies 2022-12-12 17:58:59 +04:00
a10zn8 6a252029f7 Merge pull request #80 from p2p-org/ability_to_turn_off_local_router
disable local router caches
2022-12-12 17:56:03 +04:00
a10zn8 2c666eed99 disable local router caches 2022-12-12 17:42:54 +04:00
a10zn8 e144a9b0de Merge pull request #78 from p2p-org/do-not-process-unparsed-receipt-json
Skip unparsed TransactionReceiptJson responses
2022-12-10 20:47:27 +04:00
a10zn8 117bd2d294 Skip unparsed TransactionReceiptJson responses 2022-12-10 20:39:13 +04:00
a10zn8 c41d8c85ba Merge pull request #76 from p2p-org/more-debug-2
trying to find null in response - log null string value
2022-12-09 19:35:35 +04:00
a10zn8 421abc20da trying to find null in response - log null string value 2022-12-09 19:19:08 +04:00
a10zn8 66e7f76903 Merge pull request #75 from p2p-org/more-debug
trying to find null in response - log value
2022-12-09 18:20:57 +04:00
a10zn8 7b0b29980b trying to find null in response - log value 2022-12-09 18:10:53 +04:00
a10zn8 6ffcbe2e45 Merge pull request #74 from p2p-org/debug-null-nativecall-result
trying to find null in response
2022-12-09 18:01:50 +04:00
a10zn8 74e6bfe514 trying to find null in response 2022-12-09 17:46:12 +04:00
a10zn8 dca78160ba Revert "Sync upstream 7.12.2022" 2022-12-09 14:00:45 +04:00
a10zn8 20564e58ba Merge pull request #71 from p2p-org/logging-for-emptiness
logging for empty results
2022-12-08 19:45:01 +04:00
a10zn8 a1f6c9cd92 logging for empty results 2022-12-08 19:17:53 +04:00
a10zn8 70577b7ef9 Merge pull request #69 from p2p-org/sync-upstream
Sync upstream 7.12.2022
2022-12-08 17:31:09 +04:00
a10zn8 bae613e8b8 problem: unhandled exception when a remote grpc gives an http error 2022-12-07 21:46:05 +04:00
a10zn8 255a3833fd problem: timeout on unit tests 2022-12-07 21:16:37 +04:00
a10zn8 ddc6fb2a4c problem: some nodes may respond with a JSON RPC setting a non-200 status code but Dshackle ignores that JSON 2022-12-07 19:07:50 +04:00
a10zn8 7af620984a solution: reorganize test data 2022-12-07 19:03:27 +04:00
a10zn8 96264b839f problem: separate tests are not usable in the current state, better to work on improving unit tests 2022-12-07 18:36:19 +04:00
a10zn8 55fa1ea0d9 problem: switches an upstream with disabled validation to the syncing state though it doesn't check the sync for it 2022-12-07 18:30:14 +04:00
a10zn8 7b96f60228 problem: looses upstream error details 2022-12-07 18:26:01 +04:00
a10zn8 6a77a754ba Merge pull request #68 from p2p-org/schedulers-config
add schedulers config
2022-12-07 17:22:41 +04:00
a10zn8 d35fd31d9a add schedulers config 2022-12-07 01:32:22 +04:00
a10zn8 4f4ded2ab7 Merge pull request #65 from p2p-org/add-upstream-id
add upstream id to all responses
2022-12-06 17:14:11 +04:00
a10zn8 ddacffe68a add upstream id to all responses 2022-12-06 17:08:55 +04:00
a10zn8 a9763bb6a4 more metrics for grpc executor - only if extended enabled 2022-12-05 13:41:27 +04:00
a10zn8 0cef32827f more metrics for grpc executor - fix 2022-12-05 13:22:35 +04:00
a10zn8 0f1383b7f0 Merge pull request #61 from p2p-org/metrics-for-grpc-executor
more metrics for grpc executor
2022-12-03 20:55:41 +04:00
a10zn8 37a8a6b1c4 more metrics for grpc executor 2022-12-03 20:46:27 +04:00
a10zn8 f93bccf9f5 try to use another scheduler for request processing 2022-12-02 22:41:11 +04:00
a10zn8 eba9620735 temporary revert to default thread pool 2022-12-02 19:34:59 +04:00
a10zn8 2cef1a8bac remove debug log 2022-12-02 19:23:50 +04:00
a10zn8 b36c921e4d Merge pull request #53 from p2p-org/fix-npe-in-block-selector 2022-12-01 22:00:53 +04:00
a10zn8 00f1630d4a fix npe in block selector 2022-12-01 21:05:12 +04:00
a10zn8 23dafd8747 Merge pull request #51 from p2p-org/reactor-schedulers-metrics
enable scheduler metrics
2022-12-01 20:16:38 +04:00
a10zn8 6603a160c4 Added custom executor for grpc server with fixed 20 threads. Default thread pool is unbounded :( 2022-12-01 20:06:44 +04:00
a10zn8 57beb3f794 Merge pull request #49 from p2p-org/remove-unnessery-scheduler
delete unnecessary pool
2022-12-01 20:00:36 +04:00
a10zn8 f4a84d73a3 enable scheduler metrics 2022-12-01 19:03:18 +04:00
a10zn8 a82e00559d subscription now reties on it own flux only 2022-12-01 17:49:44 +04:00
a10zn8 ebddd745ac delete unnecessary pool 2022-12-01 16:48:11 +04:00
a10zn8 71a60741ed Merge pull request #47 from p2p-org/forward-selectors
Added forwarding of selectors to grpc upstreams
2022-11-30 14:08:10 +04:00
a10zn8 c4669b8e05 submodule update 2022-11-30 13:59:12 +04:00
a10zn8 d140546d0c Added forwarding of selectors to grpc upstreams 2022-11-30 13:11:49 +04:00
a10zn8 30a617f577 Merge pull request #43 from p2p-org/check-actual-upstreams-before-call
check all actual upstreams before call
2022-11-25 13:55:25 +04:00
a10zn8 c72ea5db3b check all actual upstreams before call 2022-11-25 13:48:30 +04:00
a10zn8 318c919d00 fix generated version 2022-11-24 20:07:55 +04:00
a10zn8 657c5d98b6 Merge pull request #38 from p2p-org/ganache_in_tests
Integration tests with ganache and SpringBootTest
2022-11-23 18:06:49 +04:00
a10zn8 68da5eeafb safer way to exclude excess slf4 binding 2022-11-23 16:26:04 +04:00
a10zn8 8bc1862a03 rename test profile and small changes 2022-11-23 16:09:16 +04:00
a10zn8 d1e05b0215 ganache test 2022-11-23 15:38:53 +04:00
a10zn8 84ac73e8fa Merge pull request #40 from p2p-org/remove-unnecessary-submodules
Remove unnecessary submodules and folders
2022-11-22 18:38:47 +04:00
a10zn8 e2e37ffae5 drop copy of tests task 2022-11-22 18:33:19 +04:00
a10zn8 6f3f9cf7b3 rm nix 2022-11-22 18:16:38 +04:00
a10zn8 2cb65deb90 remove another copy of proto api submodule 2022-11-22 18:16:05 +04:00
a10zn8 c1b0e758ea added proto as submodule and proto generation configured 2022-11-22 18:14:04 +04:00
a10zn8 e5ebd85c7e remove submodule 2022-11-22 17:20:15 +04:00
a10zn8 ad0c04af0b Merge pull request #39 from p2p-org/return-current-block-height
add current block height to chain description
2022-11-22 17:09:13 +04:00
a10zn8 a1a82257ee Merge pull request #37 from p2p-org/upstream_refactoring_2
Multistreams refactoring
2022-11-22 17:03:01 +04:00