status-go/geth/rpc
Igor Mandrigin 31cf2297d2 Implement block filters API for the RPC mode.
Some operations (like deploying contracts) require filter APIs to work.
Since these operations aren't supported on Infura anymore, and we don't
run LES, a separate implemenation of filters is required.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-08 19:46:25 +02:00
..
README.md Add support for JSON-RPC batched calls (#341) 2017-09-18 17:24:35 +03:00
call_raw.go Move status-go over to go-ethereum/log #717 (#727) 2018-03-20 19:35:28 +01:00
call_raw_test.go Improve JSON-RPC handling for raw requests/responses, Fixes #364 (#458) 2017-11-27 19:53:33 +01:00
client.go Implement `personal_sign`. 2018-04-17 11:18:58 +02:00
doc.go Add support for JSON-RPC batched calls (#341) 2017-09-18 17:24:35 +03:00
route.go Implement block filters API for the RPC mode. 2018-05-08 19:46:25 +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