- Aug 29, 2016
-
-
Nick Johnson authored
-
- Aug 25, 2016
-
-
Péter Szilágyi authored
Stable Go API, part 1
-
- Aug 24, 2016
-
-
Felix Lange authored
internal/ethapi: Fix bug in opCodeWrapper usage
-
Nick Johnson authored
-
Felix Lange authored
internal/ethapi: Improve tracer error reporting and serialization
-
Nick Johnson authored
-
- Aug 23, 2016
-
-
Stein Dekker authored
-
Péter Szilágyi authored
core/vm, eth: Add support for javascript trace functions
-
Nick Johnson authored
-
Jens Agerberg authored
-
- Aug 22, 2016
-
-
Felix Lange authored
The need for these functions comes up in code that actually deploys and uses contracts. As of this commit, they can be used with both SimulatedBackend and ethclient. SimulatedBackend gains some additional methods in the process and is now safe for concurrent use.
-
Felix Lange authored
cmd/utils: removed DAO oppose / support message
-
Felix Lange authored
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.
-
Péter Szilágyi authored
cmd/geth: added copyright and license information
-
Péter Szilágyi authored
core: Refactor tracing to make Tracer the main interface
-
Jeffrey Wilcke authored
As per GNU GPL requirement I've added the copyright and the license information as a subcommand as well as a copyright notice when displaying the help command.
-
Nick Johnson authored
This CL makes several refactors: - Define a Tracer interface, implementing the `CaptureState` method - Add the VM environment as the first argument of `Tracer.CaptureState` - Rename existing functionality `StructLogger` an make it an implementation of `Tracer` - Delete `StructLogCollector` and make `StructLogger` collect the logs directly - Change all callers to use the new `StructLogger` where necessary and extract logs from that. - Deletes the apparently obsolete and likely nonfunctional 'TraceCall' from the eth API. Callers that only wish accumulated logs can use the `StructLogger` implementation straightforwardly. Callers that wish to efficiently capture VM traces and operate on them without excessive copying can now implement the `Tracer` interface to receive VM state at each step and do with it as they wish. This CL also removes the accumulation of logs from the vm.Environment; this was necessary as part of the refactor, but also simplifies it by removing a responsibility that doesn't directly belong to the Environment.
-
- Aug 21, 2016
-
-
Jeffrey Wilcke authored
-
Felix Lange authored
The remote backend is superseded by ethclient. The nil backend's stated purpose was to enable testing of accounts/abi/bind. None of its methods actually worked. A much simpler way to get a crashing backend is to simply pass nil as the backend. With a one-line change to the generator (removing two explicit interface assertions), passing nil actually works. Removing these backends means that less changes are required later.
-
- Aug 19, 2016
-
-
Péter Szilágyi authored
eth/fetcher: fix a log message formatting issue
-
Péter Szilágyi authored
-
- Aug 17, 2016
-
-
Felix Lange authored
all: clean up tech debt left behind by the API split
-
Felix Lange authored
This ensures that package core doesn't depend on package accounts and resolves an age-old TODO.
-
Felix Lange authored
Support for legacy version 0.9.x is gone. The compiler version is no longer cached. Compilation results (and the version) are read directly from stdout using the --combined-json flag. As a workaround for ethereum/solidity#651, source code is written to a temporary file before compilation. Integration of solc in package ethapi and cmd/abigen is now much simpler because the compiler wrapper is no longer passed around as a pointer. Fixes #2806, accidentally
-
Felix Lange authored
-
Felix Lange authored
The account manager was previously created by packge cmd/utils as part of flag processing and then passed down into eth.Ethereum through its config struct. Since we are starting to create nodes which do not have eth.Ethereum as a registered service, the code was rearranged to register the account manager as its own service. Making it a service is ugly though and it doesn't really fix the root cause: creating nodes without eth.Ethereum requires duplicating lots of code. This commit splits utils.MakeSystemNode into three functions, making creation of other node/service configurations easier. It also moves the account manager into Node so it can be used by those configurations without requiring package eth.
-
Felix Lange authored
rpc: refactor subscriptions and filters
-
Bas van Kervel authored
-
Nick Johnson authored
TravisCI: add Go 1.7 targets, bump PPA to 1.7 too
-
Péter Szilágyi authored
-
- Aug 16, 2016
-
-
Felix Lange authored
core: ensure the canonical block is written before the canonical hash is set
-
Bas van Kervel authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
eth/downloader: fewer headers and futures too in ancestor lookup
-
- Aug 15, 2016
-
-
Casey Detrio authored
Fixes #2872
-
- 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.
-
Péter Szilágyi authored
rpc: client bug fixes
-
Péter Szilágyi authored
eth/downloader: abort sync if master drops (timeout prev)
-
Péter Szilágyi authored
eth, eth/downloader: don't forward the DAO challenge header
-
Péter Szilágyi authored
eth, eth/downloader: better remote head tracking
-