status-go/geth/rpc
Adam Babik 281b304edb Extract e2e tests to a separate package (#375)
This change moves our e2e tests into a separate package to make room for proper unit and integration tests.

This is Phase 1 described in #371.

Changes:

Makefile has separate directives to run unit/integration tests and e2e tests,
CI runs unit/integration tests first and then e2e tests,
E2e tests are in reliability order, i.e. the least reliable tests are run in the end to be sure that nothing else is broken,
Some tests are fixed or quarantined.
2017-10-11 17:20:51 +03:00
..
README.md Add support for JSON-RPC batched calls (#341) 2017-09-18 17:24:35 +03:00
call_raw.go Fix null result field bug for JSON-RPC raw response (#362) 2017-09-26 12:19:17 +02:00
call_raw_test.go Fix null result field bug for JSON-RPC raw response (#362) 2017-09-26 12:19:17 +02:00
client.go Fixed eth_sendTransaction routing to the local node (#351) 2017-09-25 18:04:40 +02:00
doc.go Add support for JSON-RPC batched calls (#341) 2017-09-18 17:24:35 +03:00
route.go Forward net_* rpc commands to the upstream (#377) 2017-09-29 17:09:41 +02:00
route_test.go Forward net_* rpc commands to the upstream (#377) 2017-09-29 17:09:41 +02:00

README.md

rpc GoDoc

Package rpc - JSON-RPC client with custom routing.

Download:

go get github.com/status-im/status-go/geth/rpc

Package rpc - JSON-RPC client with custom routing.

Package rpc implements status-go JSON-RPC client and handles requests to different endpoints: upstream or local node.

Every JSON-RPC request coming from either JS code or any other part of status-go should use this package to be handled and routed properly.

Routing rules are following:

  • if Upstream is disabled, everything is routed to local ethereum-go node
  • otherwise, some requests (from the list, see below) are routed to upstream, others - locally.

List of methods to be routed is currently available here: https://docs.google.com/spreadsheets/d/1N1nuzVN5tXoDmzkBLeC9_mwIlVH8DGF7YD2XwxA8BAE/edit#gid=0

Note, upon creation of a new client, it ok to be offline - client will keep trying to reconnect in background.


Automatically generated by autoreadme on 2017.09.18