Commit Graph

425 Commits

Author SHA1 Message Date
Vyacheslav Shebanov
2cf8451e4a Revert "Native subscribe filter" 2022-09-22 10:56:49 +03:00
Maxksim Fomenkov
2bafc3200d tests 2022-09-20 18:30:45 +03:00
Maxksim Fomenkov
d74f858a74 fixed integration tests 2022-09-14 16:32:01 +03:00
Maxksim Fomenkov
f4f34f071e fixed tests 2022-09-14 16:00:10 +03:00
Maxksim Fomenkov
08826ecbc4 added signature for native subscribe 2022-09-14 10:14:34 +03:00
Maxksim Fomenkov
a0a99f6a60 Merge remote-tracking branch 'origin/master' into native_subscribe_filter
# Conflicts:
#	src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeSubscribe.kt
2022-09-12 23:03:16 +03:00
terminal
b90644b06a fix ehtereum constants, fix tests 2022-09-12 18:49:33 +03:00
Maxksim Fomenkov
f508c38dc7 fix tests and lint 2022-09-12 15:22:48 +03:00
terminal
9b400d8b2a block validator as s param for default ethereum head 2022-09-05 18:08:33 +03:00
Maxksim Fomenkov
7eea1cc6f1 added total difficulty & blocks sequence checks 2022-08-25 13:40:40 +03:00
Maxksim Fomenkov
6c96d54cfa add Ethereum block validation for HEAD subscription 2022-08-23 18:59:39 +03:00
terminal
cef33d5092 fix integration test 2022-08-18 21:25:48 +04:00
Maxksim Fomenkov
b9866fe19a Support gRPC upstream labels 2022-08-17 13:45:14 +03:00
terminal
cf04f50ab6 merge master 2022-08-06 14:09:05 +04:00
Igor Artamonov
a34da8b4a3 problem: head check doesn't use upstream WS metrics 2022-08-05 21:26:35 -04:00
Igor Artamonov
eacb769c62 problem: no response for requests that produce very large results which causes the upstream to break the WS connection 2022-08-01 19:56:04 -04:00
terminal
3a50c67152 merge 2022-08-01 13:40:35 +04:00
terminal
1df7221c68 add grpc support for PoS Ethereum 2022-07-29 17:42:19 +04:00
terminal
eb95c591f7 refactoring fork choice rules out of abstract head and priority fork choice support for PoS Ethereum 2022-07-29 15:32:48 +04:00
terminal
92218623f2 extract ethereum connectors from ethereum upstreams and add ethereum pos config 2022-07-25 20:07:47 +04:00
Igor Artamonov
d65a217535 problem: Bitcoin listunspent is not working when the upstream do not provide it, though have other sources of unspent data
solution: wrapper for listunspent requests that uses Dshackle mechanism to gather data
2022-07-21 22:09:37 -04:00
Igor Artamonov
ede552be59 problem: Bitcoin head check may lag because it checks it only once in 15 seconds
solution: use ZeroMQ connection to listen for new blocks
2022-06-25 21:26:10 -04:00
Igor Artamonov
cdf3e90877 problem: when an upstream grpc returns error it isn't handled and dshackle returns the default error with "no available upstream" 2022-06-23 21:34:07 -04:00
Igor Artamonov
3ecccfe6ce problem: failing unit test
rel: [6aae65c]
2022-06-23 21:28:35 -04:00
Vyacheslav Shebanov
de5720897a problem: cannot verify signature in browser
solution: support NIST P-256 curve which is supported by browser's webcrypto
2022-06-16 22:08:18 -04:00
Vyacheslav Shebanov
d1ad77a345 problem: users want to verify that response are coming from their nodes
solution: edge node can sign received valued
Co-authored-by: Igor Artamonov <igor@artamonov.ru>
2022-05-26 23:00:01 -04:00
terminal
c3285354c1 add cors headers to http proxy 2022-04-21 13:03:54 +03:00
Vyacheslav Shebanov
4f1216b14f problem: some JSON RPC client cannot use IDs and process response by their order
solution: add option to preserve batch request-response correspondence order
rel: #148
2022-04-20 22:08:27 -04:00
Igor Artamonov
feb2bb89f7 problem: many timeouts on CI 2022-04-02 16:47:58 -04:00
Igor Artamonov
10960aa99f problem: doesn't increment error metrics for WS calls
rel: #150
2022-03-16 22:14:37 -04:00
Igor Artamonov
eac2bbb2d5 problem: doesn't increment error metrics for HTTP call with invalid JSON
rel: #150
2022-03-16 21:35:14 -04:00
Igor Artamonov
94289399d5 solution: [optionally] provide request/response value with access log 2022-02-10 20:58:43 -05:00
Igor Artamonov
8b6fc0c5d6 problem: no response for some requests, possible bug in Quorum selector
solution: refactor Quorum selector to make it easier to debug; no bug, issue on upstream side
2022-02-09 18:35:02 -05:00
Igor Artamonov
88fecff429 problem: doesn't return ERC20 balance 2022-01-20 22:14:56 -05:00
Igor Artamonov
c060aeda31 problem: suboptimal routing for upstreams in different datacenters
solution: additional role to separate primary and secondary upstreams
fix: #141
2022-01-05 18:42:35 -05:00
Igor Artamonov
f2b471c56f problem: eth_chainId is not available 2021-12-24 18:10:03 -05:00
Igor Artamonov
8526c2a3ee problem: null-pointer and high memory use on subscribe
rel: #133
2021-12-23 18:50:28 -05:00
Igor Artamonov
2a3d7ecb24 problem: produces no response for unavailable methods 2021-12-22 21:47:31 -05:00
Igor Artamonov
6cbb3a6fe1 solution: refactor Ethereum WS Connection to a separate class to improve logging and debugging 2021-12-17 20:47:04 -05:00
Igor Artamonov
0bdb4a3a75 problem: failing tests
rel: [e10525d]
2021-12-15 21:29:05 -05:00
Igor Artamonov
8de75003a8 solution: initial code for fee estimation 2021-12-06 23:15:29 -05:00
Igor Artamonov
e1170dd055 problem: ERC20 Balancer subsription checks balancer on each block, even if no transfer happened
solution: use ERC20 Logs to determine changes to ERC20 balance
2021-11-24 19:26:34 -05:00
Igor Artamonov
acdb450fdf problem: doesn't use hardcoded methods on Bitcoin 2021-11-17 21:39:17 -05:00
Igor Artamonov
df805ee4a9 problem: uses only one Head Subscription for Dshackle Upstream even if multiple are provided 2021-11-12 20:14:04 -05:00
Rafael Matias
ee5b14b300 problem: doesn't work for private ethereum networks
solution: allow configuring methods with static responses
rel: #96
2021-11-12 12:55:41 -05:00
Igor Artamonov
f1720ad354 solution: websocket unsubscribe 2021-10-29 16:12:54 -04:00
Igor Artamonov
e001913acb solution: AccessLog for Websocket requests 2021-10-28 23:46:32 -04:00
Igor Artamonov
92657cf635 solution: test ProxyServer 2021-10-27 21:19:32 -04:00
Igor Artamonov
89eec9958a problem: Proxy doesn't render internal exceptions to JSON RPC errors 2021-10-27 21:18:58 -04:00
Igor Artamonov
133937822c solution: configuration for Websocket proxy 2021-10-27 20:34:04 -04:00