github.com/status-im/status-go@v1.1.0/rpc/README.md (about)

     1  # rpc [![GoDoc](https://godoc.org/github.com/status-im/status-go/rpc?status.png)](https://godoc.org/github.com/status-im/status-go/rpc)
     2  Package rpc - JSON-RPC client with custom routing.
     3  
     4  Download:
     5  ```shell
     6  go get github.com/status-im/status-go/rpc
     7  ```
     8  
     9  * * *
    10  Package rpc - JSON-RPC client with custom routing.
    11  
    12  Package rpc implements status-go JSON-RPC client and handles
    13  requests to different endpoints: upstream or local node.
    14  
    15  Every JSON-RPC request coming from either JS code or any other part
    16  of status-go should use this package to be handled and routed properly.
    17  
    18  Routing rules are following:
    19  
    20  - if Upstream is disabled, everything is routed to local ethereum-go node
    21  - otherwise, some requests (from the list, see below) are routed to upstream, others - locally.
    22  
    23  List of methods to be routed is currently available here: https://docs.google.com/spreadsheets/d/1N1nuzVN5tXoDmzkBLeC9_mwIlVH8DGF7YD2XwxA8BAE/edit#gid=0
    24  
    25  Note, upon creation of a new client, it ok to be offline - client will keep trying to reconnect in background.
    26  
    27  
    28  
    29  * * *
    30  Automatically generated by [autoreadme](https://github.com/jimmyfrasche/autoreadme) on 2017.09.18