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
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