aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/client_example_test.go
Commit message (Collapse)AuthorAgeFilesLines
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-1/+1
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* rpc: add context argument to EthSubscribeFelix Lange2016-08-061-26/+31
| | | | | It's inconsistent not to pass it and most callers will work with contexts anyway.
* rpc: add new client, use it everywhereFelix Lange2016-07-231-0/+83
The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.