aboutsummaryrefslogtreecommitdiffstats
path: root/ethclient
Commit message (Collapse)AuthorAgeFilesLines
* core, ethclient: implement Metropolis EIP 98 (#14750)Péter Szilágyi2017-07-171-2/+0
| | | Implements ethereum/EIPs#98
* ethclient: fix TransactionByHash pending return value. (#14663)Jim McDonald2017-06-211-2/+2
| | | | | | 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.
* 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.
* core/vm: move Log to core/typesFelix Lange2017-01-061-4/+3
| | | | | | | | 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.
* Merge pull request #3505 from bas-vk/txinblockPéter Szilágyi2017-01-041-1/+1
|\ | | | | ethclient: hex encode request args for TransactionInBlock
| * ethclient: hex encode request args for TransactionInBlockBas van Kervel2017-01-031-1/+1
| |
* | ethclient: pass ptr when parsing eth_getTransactionByHash resultBas van Kervel2016-12-221-1/+1
|/
* ethclient, ethereum: add NotFound, split transactions out of ChainReaderFelix Lange2016-12-052-16/+35
| | | | | | | | | 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.
* ethclient: use package hexutil for number encodingFelix Lange2016-12-051-2/+2
|
* ethclient: don't crash if server returns null uncle headerFelix Lange2016-12-051-0/+3
| | | | | It should never return null for a known uncle, but even if it does we can't just crash.
* ethclient: "addresses" -> "address" in filter query encodingFelix Lange2016-11-281-1/+1
|
* ethclient: use package hexutil for JSON handlingFelix Lange2016-11-281-34/+35
|
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-2/+6
|
* all: update license informationFelix Lange2016-11-091-0/+16
|
* ethclient: changed TransactionByHash to only pass one argument to api method ↵Steven Roose2016-10-281-1/+1
| | | | | (#3209) Fixes #3203
* ethclient: bugfix retrieving logsBas van Kervel2016-09-211-2/+2
|
* ethclient: fix new block->header subscription endpointPéter Szilágyi2016-09-081-1/+1
|
* ethereum, ethclient: add SyncProgress API endpointPéter Szilágyi2016-09-062-0/+34
|
* ethclient: add initial implementation of the typed RPC clientFelix Lange2016-08-102-0/+399
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.