Commit Graph

863 Commits

Author SHA1 Message Date
Maksim Fomenkov
214cb4fd8e fixed code style 2022-12-20 16:39:26 +03:00
Maksim Fomenkov
a1c234d3bf fixed re-subscription 2022-12-20 16:33:25 +03:00
Maksim Fomenkov
f6c6c8d4ef fixed review comments 2022-12-20 15:36:20 +03:00
Maksim
1402a1b5c4 Update build.gradle 2022-12-20 15:33:49 +03:00
Maksim Fomenkov
5894501f0c fixed labels grouping 2022-12-20 15:00:52 +03:00
Maksim Fomenkov
8f0c9d1187 added sampling 2022-12-20 12:01:34 +03: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
Maksim Fomenkov
db97b656cf fix style and tests 2022-12-19 11:41:05 +03:00
Maksim Fomenkov
1f611c8268 subscribe node status 2022-12-19 11:12:12 +03: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
MaxFomenkov
7debc4df97 Merge pull request #91 from p2p-org/fix_stuck_lag_metrics
fix upstream lag metrics stuck
2022-12-16 12:53:32 +03:00
Maksim Fomenkov
56760319e3 code style 2022-12-16 03:04:58 +03:00
Maksim Fomenkov
6fa6fa0055 fix upstream lag metrics stuck 2022-12-16 02:46:28 +03: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
MaxFomenkov
be53f90f06 Merge pull request #90 from p2p-org/fix_stuck_provider
fix handling ws + prior rpc connections
2022-12-15 17:22:23 +03: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
Maksim Fomenkov
b048182d2f code style 2022-12-15 14:51:17 +03:00
Maksim Fomenkov
627e4be16a fix handling ws + prior rpc connections 2022-12-15 12:23:41 +03: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
MaxFomenkov
98e20d08be Merge pull request #85 from p2p-org/fix_daemon_heads
fix daemon heads + head metrics
2022-12-14 13:49:50 +03:00
Maksim Fomenkov
0742c5f542 remove log 2022-12-14 13:02:48 +03:00
Maksim Fomenkov
833216b5d3 remove System.gc 2022-12-14 12:59:47 +03:00
Maksim Fomenkov
abc5242804 fix daemon heads + head metrics 2022-12-14 03:52:03 +03:00
MaxFomenkov
66dc928b83 Merge pull request #84 from p2p-org/fix_cincurrent_modification
fix concurrent modification
2022-12-13 19:08:36 +03:00
Maksim Fomenkov
fe987db1c9 fix concurrent modification 2 2022-12-13 19:05:15 +03:00
Maksim Fomenkov
b0b3819a54 fix concurrent modification 2022-12-13 18:43:04 +03: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
Igor Artamonov
1422446e1b problem: WS proxy uses binary frames (#182)
fix: #180
(cherry picked from commit 2dcb56e8c4467cfdc549fe918427fce593703ca3)
(cherry picked from commit 5df10706dd)
2022-12-13 17:40:13 +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
Igor Artamonov
73f00c49d2 problem: missing docs for upstream roles
(cherry picked from commit 7ce91e3ee2afd9333173156a821872300d082482)
(cherry picked from commit 6ddef70d6e)
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
MaxFomenkov
f6296f63ea Merge pull request #82 from p2p-org/fix_stuck_heads
Fix stuck heads
2022-12-13 15:36:52 +03:00
a10zn8
817925ea7d remove cached full block reader 2022-12-13 16:33:38 +04:00
Maksim Fomenkov
e86a976305 fix review comments 2022-12-13 14:50:00 +03:00
Maksim Fomenkov
68d94f1295 better log 2022-12-13 12:54:01 +03:00
Maksim Fomenkov
ae27c755df added metrics instance id to log 2022-12-13 12:52:31 +03:00
Maksim Fomenkov
f2c5142b1d added metrics + fix code style 2022-12-13 12:15:06 +03:00