- Mar 24, 2017
-
-
Péter Szilágyi authored
-
- Mar 22, 2017
-
-
Felix Lange authored
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.
-
- Mar 16, 2017
-
-
Micah Zoltu authored
Fixes #3762. Details about parameter: https://github.com/rs/cors/blob/a62a804a8a009876ca59105f7899938a1349f4b3/cors.go#L50-L54
-
- Feb 23, 2017
-
-
Péter Szilágyi authored
-
- Jan 25, 2017
-
-
Felix Lange authored
This change makes client subscriptions compatible with the new Subscription semantics introduced in the previous commit.
-
- Jan 09, 2017
-
-
Felix Lange authored
go get github.com/gordonklaus/ineffassign ineffassign .
-
- Jan 06, 2017
-
-
Péter Szilágyi authored
-
Felix Lange authored
-
- Dec 20, 2016
-
-
Felix Lange authored
This change couldn't be automated because HexNumber was used for numbers of all sizes.
-
Felix Lange authored
-
Felix Lange authored
The message now includes the index of the invalid arg.
-
- Nov 01, 2016
-
-
Kenji Siu authored
-
- Oct 03, 2016
-
-
Jonathan Brown authored
-
- Sep 01, 2016
-
-
Bas van Kervel authored
-
- Aug 17, 2016
-
-
Bas van Kervel authored
-
- Aug 05, 2016
-
-
Felix Lange authored
It's inconsistent not to pass it and most callers will work with contexts anyway.
-
Felix Lange authored
I initially made the client block if the 100-element buffer was exceeded. It turns out that this is inconvenient for simple uses of the client which subscribe and perform calls on the same goroutine, e.g. client, _ := rpc.Dial(...) ch := make(chan int) // note: no buffer sub, _ := client.EthSubscribe(ch, "something") for event := range ch { client.Call(...) } This innocent looking code will lock up if the server suddenly decides to send 2000 notifications. In this case, the client's main loop won't accept the call because it is trying to deliver a notification to ch. The issue is kind of hard to explain in the docs and few people will actually read them. Buffering is the simple option and works with close to no overhead for subscribers that always listen.
-
Felix Lange authored
-
- Aug 03, 2016
-
-
Felix Lange authored
- returned headers didn't include mixHash - returned transactions didn't include signature fields - empty transaction input was returned as "", but should be "0x" - returned receipts didn't include the bloom filter - "root" in receipts was missing 0x prefix
-
- Jul 22, 2016
-
-
Felix Lange authored
The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
-
Felix Lange authored
If a batch request contained an invalid method, the server would reply with a non-batch error response. Fix this by tracking an error for each batch element.
-
Felix Lange authored
The server delayed closing of connections for 3s when stopping. This was supposed to allow for slow handlers, but it didn't really work. When geth quits, it will just exit immediately after quitting the server. Removing the timer makes testing easier because all connections will be closed after Stop returns.
-
- Jul 14, 2016
-
-
Felix Lange authored
The named pipe implementation from go-winio has some issues that need to be addressed before we can use it again.
-
- Jun 21, 2016
-
-
Fabio Berger authored
-
- May 30, 2016
-
-
Péter Szilágyi authored
-
- May 11, 2016
-
-
Péter Szilágyi authored
-
- May 10, 2016
-
-
Bas van Kervel authored
-
- Apr 15, 2016
-
-
Felix Lange authored
Context keys must have a unique type in order to prevent any unintented clashes. The code used int(1) as key. Fix it by implementing the pattern recommended by package context.
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
-
- Apr 14, 2016
-
-
Péter Szilágyi authored
-
- Apr 13, 2016
-
-
Felix Lange authored
-
Felix Lange authored
-
- Apr 12, 2016
-
-
Bas van Kervel authored
rpc: be less restrictive on the request id rpc: improved documentation console: upgrade web3.js to version 0.16.0 rpc: cache http connections rpc: rename wsDomains parameter to wsOrigins
-
- Apr 06, 2016
-
-
Bas van Kervel authored
-
- Apr 04, 2016
-
-
Felix Lange authored
-
- Apr 01, 2016
-
-
Bas van Kervel authored
-
- Mar 23, 2016
-
-
Jeffrey Wilcke authored
Implemented the following block debugging RPC calls * Block(RLP) * BlockByFile(fileName) * BlockByNumber(number) * BlockByHash(hash)
-
Bas van Kervel authored
-