plugeth/accounts
Felix Lange d62d5fe59a accounts/abi/bind: use ethereum interfaces
In this commit, contract bindings and their backend start using the
Ethereum Go API interfaces offered by ethclient. This makes ethclient a
suitable replacement for the old remote backend and gets us one step
closer to the final stable Go API that is planned for go-ethereum 1.5.

The changes in detail:

* Pending state is optional for read only contract bindings.
  BoundContract attempts to discover the Pending* methods via an
  interface assertion. There are a couple of advantages to this:
  ContractCaller is just two methods and can be implemented on top of
  pretty much anything that provides Ethereum data. Since the backend
  interfaces are now disjoint, ContractBackend can simply be declared as
  a union of the reader and writer side.

* Caching of HasCode is removed. The caching could go wrong in case of
  chain reorganisations and removing it simplifies the code a lot.
  We'll figure out a performant way of providing ErrNoCode before the
  1.5 release.

* BoundContract now ensures that the backend receives a non-nil context
  with every call.
2016-08-22 14:01:28 +02:00
..
abi accounts/abi/bind: use ethereum interfaces 2016-08-22 14:01:28 +02:00
testdata cmd/geth: add recovery procedure for AmbiguousAddrError 2016-04-12 15:59:18 +02:00
account_manager.go cmd/utils, node: create account manager in package node 2016-08-17 17:39:03 +02:00
accounts_test.go eth: add new RPC method (personal.) SignAndSendTransaction 2016-05-20 15:54:18 +02:00
addrcache_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
addrcache.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_passphrase_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_passphrase.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
key_store_plain.go all: update license information 2016-04-15 09:48:05 +02:00
key_store_test.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
key.go accounts: improve API and add documentation 2016-04-12 15:59:18 +02:00
presale.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
watch_fallback.go accounts: disable file system watch on linux/arm64 2016-04-25 13:30:28 +02:00
watch.go accounts: disable file system watch on linux/arm64 2016-04-25 13:30:28 +02:00