Commit Graph
100 Commits
Author SHA1 Message Date
Vyacheslav 8053431ada add moonbase and celo (#298) 2023-09-15 15:01:56 +03:00
Vyacheslav 04acc7f3bf now limit for return call is 1 million (#293) 2023-08-30 12:14:17 +03:00
Vyacheslav 1562cc35c6 fix head liveness validator memmory leak (#289) 2023-08-21 14:18:50 +03:00
Termina1 41c9652736 fix mulistream add upstream race 2023-08-18 12:59:32 +03:00
Vyacheslav 3b7a89f706 rework multi streams state update (#281) 2023-08-16 15:06:30 +03:00
Vyacheslav 73e3a46f23 create default method group to easily disable all methods (#282) 2023-08-16 14:34:16 +03:00
Vyacheslav e0cce9aeab Fixes head liveness check: timeout logic and periodic false negative events (#280) 2023-08-14 21:36:37 +03:00
Vyacheslav 6ff75f0e7c eth_getLogs call selector supports blockHash parameter (#279) 2023-08-12 11:15:56 +03:00
Termina1 02f5fbe680 add call result size validation for polygon 2023-08-11 14:09:55 +03:00
Vyacheslav 621d8671be better track ws capabiltity for upstream through head liveness check (#277) 2023-08-10 11:45:47 +03:00
Vyacheslav dfbdb0618f fix subscribe node status for available upstream subscriptions (#276) 2023-08-09 12:37:04 +03:00
Vyacheslav e1cda3ca2c detecting correct available subscriptions for multistream via capabilities (#274)
Helps us to distinguish which multistreams can be used for subscriptions
2023-08-07 20:17:18 +03:00
Vyacheslav 0002d2c789 Maximum value quorum for BroadcastReader (#272)
Fixes eth_getTransactionCount when tx did not propagated to all nodes
2023-08-07 15:09:40 +03:00
Termina1 1d8445b3c3 allow pending block tag for block tag methods 2023-08-02 16:23:54 +03:00
Vyacheslav 4a94058bc8 eth_getProof support (#267) 2023-08-02 10:37:23 +03:00
Vyacheslav 8b6b95e46e Enriched merge head for ethereum subscription (#262) 2023-08-01 14:11:36 +03:00
Vyacheslav ea332fb522 remove restrictive quorums for some methods where height matcher is available (#250) 2023-07-14 20:38:24 +03:00
Vyacheslav 2031d18199 Improve archive detection algorithm for node (#249) 2023-07-14 16:17:21 +03:00
Termina1 fb91effd26 add logs for auto detecting labels 2023-07-14 14:15:08 +03:00
Termina1 eab870f7eb fix tests again 2023-07-12 14:24:32 +03:00
Termina1 2a2ca14afe fix tests 2023-07-12 14:15:48 +03:00
Termina1 8ac9040736 Call limit better error and limit. 2023-07-12 14:09:45 +03:00
Vyacheslav b57153826c Checking eth_call return limit during node validation, currently 200k (#246)
Added eth_call return limit check to node validation. Currently limit is 200k
2023-07-12 13:43:54 +03:00
Termina1 f94b320b79 reduce sample rate for chain heihgts 2023-06-30 12:45:54 +03:00
Termina1 f58745c984 1000 ms 2023-06-29 19:43:31 +03:00
Termina1 5fe1c212f4 200ms for heads 2023-06-29 19:23:11 +03:00
Termina1 bf2dfa82b1 change sample time for subscribe node status to 500ms 2023-06-29 19:01:04 +03:00
Vyacheslav ad1d37bc4c change l2 lagging/syncing thresholds (#232) 2023-06-23 12:32:31 +03:00
Vyacheslav Shebanov 26d518d98e Debug methods group
Added debug methods group for easier enabling debug_* methods
2023-03-14 22:51:16 +02:00
Vyacheslav Shebanov 1ec3d44484 new upstream change type — updated, triggered when upstream methods changed (#148) 2023-02-23 20:25:46 +02:00
Vyacheslav Shebanov ef6246c4a3 Merge pull request #107 from p2p-org/fix/ehtereum-call-selector
ethereum call selector and passthrough interaction: keep same upstrea…
2023-01-12 15:11:08 +02:00
Vyacheslav Shebanov 1334ba44a5 Merge pull request #108 from p2p-org/fix-missin-events-subscribe-status
Fix missing events subscribe status
2023-01-12 15:10:56 +02:00
Termina1 5488c201c5 fix stylw 2023-01-12 13:11:02 +02:00
Termina1 f298b99251 subscribe status send current upstream state on subscription 2023-01-12 13:05:47 +02:00
Termina1 0826f9a2be ethereum call selector and passthrough interaction: keep same upstream matcher 2023-01-12 12:51:11 +02:00
Vyacheslav Shebanov 62a581a378 Merge pull request #106 from p2p-org/subscribe-status-node-id
added node id for node status
2023-01-11 19:16:14 +02:00
Termina1 72982c9284 added node id for node status 2023-01-11 18:00:52 +02:00
Vyacheslav Shebanov bddd4da1fb Merge pull request #104 from p2p-org/pasthrough-mode
passthrough mode - ignore call specific selectors
2023-01-10 21:17:07 +02:00
Termina1 1fdf816ca2 passthrough mode - ignore call specific selectors 2023-01-10 20:52:43 +02:00
Termina1 8066b88108 fix linter 2023-01-10 13:40:19 +02:00
Termina1 4aa54cb907 subscribe node status - remove head subscription and remove sampling, afraid of missing updates 2023-01-10 13:33:35 +02:00
Vyacheslav Shebanov ca77d77d16 Merge pull request #102 from p2p-org/fix-node-status-subscription
fix node status subsciption for gRPC upstreams
2023-01-09 20:53:49 +02:00
Termina1 ed9d39b733 fix stylw 2023-01-09 20:38:15 +02:00
Termina1 b769446b0e add handler for not able to emit removal event 2023-01-09 20:19:37 +02:00
Vyacheslav Shebanov 64efdbefb3 Merge pull request #103 from p2p-org/fix/request-to-json-again
fix serializing to json of json rpc request
2023-01-09 16:38:47 +02:00
Termina1 424338eb8e fix serializing to json of json rpc request 2023-01-09 16:21:51 +02:00
Termina1 38f8a6817a handle subscription updates for upstream removals separately 2023-01-06 13:58:01 +02:00
Termina1 85caff4537 fix node status subsciption for gRPC upstreams 2023-01-05 20:34:56 +02:00
Vyacheslav Shebanov b4f121e551 Merge pull request #99 from p2p-org/fix/subscribe-proxy
tryProxy does not makes sense for > than 1 upstream selectors
2022-12-21 21:00:20 +02:00
Termina1 92ac7fb9ad tryProxy does not makes sense for > than 1 upstream selectors 2022-12-21 20:55:22 +02:00
Vyacheslav Shebanov af69db7594 Merge pull request #77 from p2p-org/upstream-get-transaction-receipt
changes from upstream: removed RpcReader and use better flow for tx r…
2022-12-10 16:03:49 +02:00
Termina1 8c34a5ce2f remove unused code 2022-12-09 23:19:42 +02:00
Termina1 a4f0d44105 changes from upstream: removed RpcReader and use better flow for tx receipt 2022-12-09 23:04:50 +02:00
Vyacheslav Shebanov 823a4740c6 Merge pull request #73 from p2p-org/revert-69-sync-upstream
Revert "Sync upstream 7.12.2022"
2022-12-09 13:03:09 +02:00
Vyacheslav Shebanov 1081576a14 Merge pull request #70 from p2p-org/fix-filter-quorum
Rethink default method quorums a bit
2022-12-08 16:49:04 +02:00
Termina1 7c13902b03 adjusted quorums for default EVM methods 2022-12-08 16:28:57 +02:00
Vyacheslav Shebanov 1051f045fd Merge pull request #67 from p2p-org/fix-managed-methods-from-upstream
fix managed methods reusing old quorums
2022-12-07 12:45:20 +02:00
Termina1 5bd1ac5b7f fix managed methods reusing old quorums 2022-12-06 21:32:32 +02:00
Vyacheslav Shebanov bfc4cc620e Merge pull request #58 from p2p-org/use-another-scheduler
try to use another scheduler for request processing
2022-12-05 12:43:30 +02:00
Vyacheslav Shebanov d50684f71b Merge pull request #62 from p2p-org/fix/ws-request-selectors
Serialize WS JSONRpc requests correctly
2022-12-05 12:40:05 +02:00
Vyacheslav Shebanov c684f53778 Merge pull request #64 from p2p-org/monitor-grpc-pool-only-if-extended
more metrics for grpc executor - only if extended enabled
2022-12-05 12:15:07 +02:00
Vyacheslav Shebanov 8372799cfd Merge pull request #63 from p2p-org/fix-metric-name
more metrics for grpc executor - fix
2022-12-05 11:30:57 +02:00
Termina1 526332b15b ws rpc serialize request correctly 2022-12-03 23:59:01 +02:00
Vyacheslav Shebanov 0fd4a597fb Merge pull request #60 from p2p-org/fix-heads
Fix head updates in case of priority fork choice
2022-12-03 16:10:41 +02:00
Termina1 5e15096da5 fix priority forkchoice, in case some nodes are faster than others 2022-12-03 15:57:34 +02:00
Termina1 afa3745478 more logs for heads and better understanding of what they belong to 2022-12-03 15:57:27 +02:00
Termina1 d1021dcf63 fix formatting 2022-12-02 20:27:31 +02:00
Termina1 dea9e9ec5f more logs 2022-12-02 20:22:18 +02:00
Termina1 d371e0c475 better logs for heads 2022-12-02 20:10:22 +02:00
Termina1 e29dbccbe3 fix log 2022-12-02 19:43:45 +02:00
Vyacheslav Shebanov 7dc47d1cc2 Merge pull request #54 from p2p-org/remove-debug
remove debug log
2022-12-02 19:26:31 +02:00
Termina1 6e48c2dca0 Revert "temporary revert to default thread pool"
This reverts commit eba9620735.
2022-12-02 19:25:53 +02:00
Termina1 86b23af6c6 add logs for forkchoice 2022-12-02 19:21:29 +02:00
Vyacheslav Shebanov 60ba6358ad Merge pull request #55 from p2p-org/revert-thread
temporary revert to default thread pool
2022-12-02 17:35:48 +02:00
Vyacheslav Shebanov 3d0ca807b8 Merge pull request #50 from p2p-org/change-retry-strategy-in-grpc-head
subscription now reties on it own flux only
2022-12-01 18:16:56 +02:00
Vyacheslav Shebanov 6329b23394 Merge pull request #52 from p2p-org/custom-executor-for-grpc
Added custom executor for grpc
2022-12-01 18:16:29 +02:00
Vyacheslav Shebanov eae628afb4 Merge pull request #42 from p2p-org/fix-generated-version
fix generated version
2022-11-24 18:14:38 +02:00
Vyacheslav Shebanov 032caabf16 Merge pull request #32 from p2p-org/fix_upstream_chain_matcher
fix chain matcher
2022-10-18 19:33:42 +03:00
Vyacheslav Shebanov 50e8b05fbe Merge pull request #29 from p2p-org/fix_subscribe_fllter
fix filter
2022-10-18 18:43:56 +03:00
Termina1 198db59818 fixed update openssl version 2022-10-13 15:42:11 +03:00
Termina1 01c5f53d4d update deps 2022-10-13 13:37:33 +03:00
Termina1 50f8e13b43 update boring ssl 2022-10-13 12:49:36 +03:00
Termina1 b6eaca8edd update client ref 2022-10-13 12:34:43 +03:00
Termina1 185668c3c6 update grpc 2022-10-13 10:54:35 +03:00
Vyacheslav Shebanov 07d97029a5 Merge pull request #26 from p2p-org/fix_grpc_head_subscription_recovery
fixed head subscription recovery
2022-10-11 13:19:56 +04:00
Vyacheslav Shebanov 47a36f7831 Merge pull request #27 from p2p-org/pass_error_code_to_grpc_reply
Pass error code to grpc reply
2022-10-07 11:29:35 +03:00
Vyacheslav Shebanov d8efbcff47 Merge pull request #25 from p2p-org/handle_no_matching_upstreams
Handle no matching upstreams
2022-10-05 13:47:11 +03:00
Vyacheslav Shebanov cf91b79609 Merge pull request #21 from p2p-org/native_subscribe_sign
added signature for native subscribe
2022-10-03 16:54:27 +03:00
Vyacheslav Shebanov 2978d5f604 Merge pull request #24 from p2p-org/logging
Logging
2022-09-22 22:21:04 +03:00
Vyacheslav Shebanov 574d2027e6 Merge pull request #23 from p2p-org/revert-22-revert-19-native_subscribe_filter
Revert "Revert "Native subscribe filter""
2022-09-22 13:27:02 +03:00
Vyacheslav Shebanov ac715861cb Revert "Revert "Native subscribe filter"" 2022-09-22 13:26:55 +03:00
Vyacheslav Shebanov 283f44ac49 Merge pull request #22 from p2p-org/revert-19-native_subscribe_filter
Revert "Native subscribe filter"
2022-09-22 10:57:04 +03:00
Vyacheslav Shebanov 2cf8451e4a Revert "Native subscribe filter" 2022-09-22 10:56:49 +03:00
terminal 63d96904b3 add safe to getbyblocknumber 2022-09-19 17:29:29 +03:00
terminal 58cc10f3bb small after merge fixes: block by number finalized 2022-09-19 16:59:22 +03:00
terminal ea45462f7c fix review comments 2022-09-12 23:36:53 +03:00
Vyacheslav Shebanov 3b5320592b Merge pull request #20 from p2p-org/ethereum-mainnet-to-pos
fix ehtereum constants, fix tests
2022-09-12 18:58:08 +03:00
terminal b90644b06a fix ehtereum constants, fix tests 2022-09-12 18:49:33 +03:00
terminal 58684e034a Merge branch 'master' of github.com:p2p-org/dshackle 2022-09-12 17:21:12 +03:00
terminal 77b2307c78 update emerald api 2022-09-12 17:21:07 +03:00