Commit Graph

371 Commits

Author SHA1 Message Date
Igor Artamonov
b10e4800ff solution: caching for eth_getTransactionReceipt
fix: #26
2020-07-12 23:34:23 -04:00
Igor Artamonov
3df1c0a572 solution: fallback upstreams
fix: #15
2020-07-10 23:36:35 -04:00
Igor Artamonov
b3c619e57a solution: track balance of a ERC20 token 2020-07-06 19:04:45 -04:00
Igor Artamonov
6dbe8b96ec solution: erc20 tokens config 2020-07-06 18:04:54 -04:00
Igor Artamonov
c2bc57d380 problem: eth_getBlockByNumber("latest", ...) fails with error
fix: #20
2020-07-02 22:41:34 -04:00
Igor Artamonov
fd070d5df4 problem: chainId is not a string
rel: #22
2020-07-02 21:58:42 -04:00
Igor Artamonov
a7fb805a03 problem: doesn't respond to eth_chainId method
fix: #22
2020-07-02 21:55:35 -04:00
Igor Artamonov
0d9ae3a936 problem: no feedback when verification is disabled 2020-07-02 21:12:37 -04:00
Igor Artamonov
882b7d1b2f problem: JSON RPC spec allows omitting params
fix: #19
2020-06-30 00:25:09 -04:00
Igor Artamonov
c2636cd81e problem: Proxy fails to serialize JSON
reason: expects full JSON response from upstream, which is replaces with result field only
2020-06-29 22:44:44 -04:00
Igor Artamonov
04958784ec problem: tries to connect to Redis even if specified as disabled 2020-06-29 21:49:01 -04:00
Igor Artamonov
21748b0da3 solution: improve texts 2020-05-27 17:56:55 -04:00
Igor Artamonov
04371d41cc solution: log format more clear for ops 2020-05-27 17:50:54 -04:00
Igor Artamonov
3ff61b735a problem: confusing stack trace when cannot connect to Redis 2020-05-27 17:44:14 -04:00
Igor Artamonov
948c34a0c7 problem: quorum is not applied for internal reads 2020-05-26 22:43:58 -04:00
Igor Artamonov
5584858e44 problem: single invalid response from upstream breaks whole batch
solution: handle http and json errors and convert to RPC errors
2020-05-25 18:30:55 -04:00
Igor Artamonov
d7bb121ef0 problem: getblockhash (block by height) method is not available on bitcoin 2020-05-25 16:59:57 -04:00
Igor Artamonov
cca8593a48 problem: may request balance from a lagging node 2020-05-24 20:16:14 -04:00
Igor Artamonov
47eb126a75 problem: used slow JDK TLS 2020-05-24 13:03:00 -04:00
Igor Artamonov
4a698f8c09 solution: update libs to the latest 2020-05-21 20:48:33 -04:00
Igor Artamonov
2fc6896a83 solution: refactoring, make ObjectMapper as a global object, not bean 2020-05-18 19:23:48 -04:00
Igor Artamonov
c742a62090 problem: race condition on a new block on head 2020-05-16 22:59:07 -04:00
Igor Artamonov
8d49856ffd problem: sporadic unit-test failure 2020-05-16 17:17:21 -04:00
Igor Artamonov
1d947aeb9d problem: unnecessary logging 2020-05-16 17:08:40 -04:00
Igor Artamonov
114f109722 solution: individual class for quorum based requests 2020-05-15 21:06:32 -04:00
Igor Artamonov
73f55d8d81 problem: routed api is not executed first 2020-05-14 23:47:59 -04:00
Igor Artamonov
af4aba69e7 problem: hardcoded methods are not called 2020-05-14 22:37:46 -04:00
Igor Artamonov
bbc21684ae solution: refactoring, more clean class names 2020-05-14 00:12:38 -04:00
Igor Artamonov
98330b8772 problem: CI tests fail 2020-05-13 23:24:21 -04:00
Igor Artamonov
042408b4e6 solution: refactor and redesign API access, now with AggregateUpstream providing base direct/routed apis, plus actual chain upstreams providing specific readers 2020-05-13 22:29:21 -04:00
Igor Artamonov
a539ad3b84 solution: JSON RPC client that treats result as raw 2020-05-09 22:54:41 -04:00
Igor Artamonov
0ef46b2980 problem: different places to fetch from upstream
solution: single access reader for Ethereum upstreams
2020-05-04 21:51:42 -04:00
Igor Artamonov
3a13fb3bd5 problem: sporadic unit-test failure 2020-05-03 20:06:11 -04:00
Igor Artamonov
3fcc2e6d52 problem: Ethereum Address tracking has complex non-reactive logic 2020-05-03 13:55:14 -04:00
Igor Artamonov
549b8b1b5d problem: Ethereum Tx tracking has complex non-reactive logic 2020-04-30 23:42:51 -04:00
Igor Artamonov
605c817149 solution: actualize copyrights and license 2020-04-27 21:49:01 -04:00
Igor Artamonov
bd58ba9774 problem: bitcoin mempool can be queries too often
solution: introduce data access wrappers, in this case caching mempool state in memory
2020-04-27 00:05:02 -04:00
Igor Artamonov
c9082b3cd0 problem: unit test failure 2020-04-26 20:43:46 -04:00
Igor Artamonov
101578aa5f solution: methods configuration for bitcoin 2020-04-26 20:35:19 -04:00
Igor Artamonov
63e5fb8824 problem: unit test failure 2020-04-26 19:58:42 -04:00
Igor Artamonov
2de5d8d8e4 problem: native-call doesn't accept bitcoin calls 2020-04-24 00:04:53 -04:00
Igor Artamonov
f827f5a97a problem: critical bitcoin methods are not enabled by default 2020-04-24 00:04:10 -04:00
Igor Artamonov
7ab21f9281 problem: no quorum details for bitcoin describe 2020-04-23 23:30:32 -04:00
Igor Artamonov
a41230a00a solution: track Bitcoin transactions 2020-04-22 22:54:27 -04:00
Igor Artamonov
548154609d solution: subscribe to bitcoin address balance 2020-04-20 21:43:49 -04:00
Igor Artamonov
322d9ac480 problem: Kotlin class mocking randomly fails
solution: upgrade testing libs, and open the class
2020-04-20 21:42:53 -04:00
Igor Artamonov
4f0b32f705 solution: working rpc to get bitcoin address balance 2020-04-19 20:47:16 -04:00
Igor Artamonov
ba996a8d2b solution: initial implementation for Bitcoin upstreams 2020-04-18 22:26:30 -04:00
Igor Artamonov
51b25ab55d problem: redis cached makes JSON parsing only to extract metadata, ineffective
solution: encode in protobuf with metadata included
2020-04-16 23:05:13 -04:00
Igor Artamonov
9cf1827fe1 problem: keeps data (block/tx) as business object, which requires special treating
solution: keep as bytes (json string) + meta
2020-04-14 00:25:25 -04:00