- Nov 08, 2018
-
-
tamirms authored
ethereum/go-ethereum#16734 introduced BlockHash to the FilterQuery struct. However, ethclient was not updated to include BlockHash in the actual RPC request.
-
- Jun 11, 2018
-
-
Steven Roose authored
The error produced when using a Parity RPC was the following: ERROR: transaction did not get mined: failed to get tx for txid 0xbdeb094b3278019383c8da148ff1cb5b5dbd61bf8731bc2310ac1b8ed0235226: json: cannot unmarshal non-string into Go struct field txExtraInfo.blockHash of type common.Hash
-
- Apr 19, 2018
-
-
Lorenzo Manacorda authored
DialContext allows users to pass a Context object for cancellation. Close closes the underlying RPC connection.
-
- Apr 09, 2018
-
-
Ivo Georgiev authored
-
- Jan 03, 2018
-
-
Péter Szilágyi authored
-
- Oct 01, 2017
-
-
Felix Lange authored
* core/types: make Signer derive address instead of public key There are two reasons to do this now: The upcoming ethclient signer doesn't know the public key, just the address. EIP 208 will introduce a new signer which derives the 'entry point' address for transactions with zero signature. The entry point has no public key. Other changes to the interface ease the path make to moving signature crypto out of core/types later. * ethclient, mobile: add TransactionSender The new method can get the right signer without any crypto, and without knowledge of the signature scheme that was used when the transaction was included.
-
- Aug 01, 2017
-
-
Jim McDonald authored
There is currently no simple way to obtain the network ID from a Client. This adds a NetworkID method that wraps the net_version JSON-RPC call.
-
- Jul 17, 2017
-
-
Péter Szilágyi authored
Implements ethereum/EIPs#98
-
- Jun 21, 2017
-
-
Jim McDonald authored
As per #14661 TransactionByHash always returns false for pending. This uses blockNumber rather than blockHash to ensure that it returns the correct value for pending and will not suffer side-effects if eth_getTransactionByHash is fixed in future.
-
- 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.
-
- Jan 06, 2017
-
-
Felix Lange authored
This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal.
-
- Jan 03, 2017
-
-
Bas van Kervel authored
-
- Dec 22, 2016
-
-
Bas van Kervel authored
-
- Dec 05, 2016
-
-
Felix Lange authored
ethclient now returns ethereum.NotFound if the server returns null and no error while accessing blockchain data. The light client cannot provide arbitrary transactions. The change to split transaction access into its own interface emphasizes that transactions should not be relied on and recommends use of logs.
-
- Dec 04, 2016
-
-
Felix Lange authored
-
Felix Lange authored
It should never return null for a known uncle, but even if it does we can't just crash.
-
- Nov 28, 2016
-
-
Felix Lange authored
-
Felix Lange authored
-
- Nov 13, 2016
-
-
Jeffrey Wilcke authored
-
- Oct 27, 2016
-
-
Steven Roose authored
Fixes #3203
-
- Sep 21, 2016
-
-
Bas van Kervel authored
-
- Sep 08, 2016
-
-
Péter Szilágyi authored
-
- Sep 06, 2016
-
-
Péter Szilágyi authored
-
- Aug 09, 2016
-
-
Felix Lange authored
ethclient implements the proposed Ethereum Go API. There are no tests at the moment, a suite that excercises all implementations of the API will be added later.
-