- 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
-
- Jul 25, 2016
-
-
Felix Lange authored
eth/downloader: fix the stall checks/drops during sync
-
Bas van Kervel authored
rpc: add new client, use it everywhere
-
- Jul 22, 2016
-
-
Felix Lange authored
eth, eth/downloader, eth/fetcher: delete eth/61 sync code
-
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.
-
Péter Szilágyi authored
-
Péter Szilágyi authored
eth/api: rename signAndSendTransaction to sendTransaction
-
Felix Lange authored
The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic.
-
Bas van Kervel authored
-
Péter Szilágyi authored
containers/docker: update to alpine 3.4
-
Péter Szilágyi authored
eth: cancel DAO challenge on peer drop (annoying log)
-
yep authored
-
- Jul 20, 2016
-
-
Péter Szilágyi authored
Godeps: bump github.com/syndtr/goleveldb/... to ab8b5dcf104
-
- Jul 19, 2016
-
-
Felix Lange authored
Fix #2710 Filter race: concurrent map read and map write
-
Felix Lange authored
cmd/bootnode: Add support for outputting a node's ID on the command line
-
Felix Lange authored
-
Péter Szilágyi authored
eth: fixed chaindb upgrade
-
Zsolt Felföldi authored
-
Péter Szilágyi authored
-
- Jul 16, 2016
-
-
Jeffrey Wilcke authored
cmd, core, eth, miner, params, tests: finalize the DAO fork
-
Péter Szilágyi authored
-
- Jul 15, 2016
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
circleci: enable docker based hive testing
-
Péter Szilágyi authored
vm: Replace some SstoreClearGas with SstoreResetGas
-
Péter Szilágyi authored
-
Nick Johnson authored
-
Felix Lange authored
Godeps, rpc: switch back to package npipe
-
- Jul 14, 2016
-
-
Felix Lange authored
This adds compatibility with Go 1.7, where context has moved into the standard library.
-
Felix Lange authored
The named pipe implementation from go-winio has some issues that need to be addressed before we can use it again.
-