- 30 8月, 2016 3 次提交
-
-
由 Felix Lange 提交于
This change also deletes generator.go, moving the only interesting line in it into release.go. The binding has been regenerated with abigen from develop and solc v0.3.6.
-
由 Felix Lange 提交于
contracts/ens: Add ENS contract binding
-
由 Nick Johnson 提交于
-
- 29 8月, 2016 2 次提交
-
-
由 Felix Lange 提交于
contracts/chequebook: add chequebook contract wrapper
-
由 Viktor Trón 提交于
The wrapper code is adapted from the swarm/services/chequebook package with the following mostly cosmetic changes: * The code now uses the new Go API interfaces to query balances. Some minor functional changes were required to make this work. * The package no longer depends on swarm/services/swap/swap. References to swap.Promise are replaced by interface{}, the base type of Promise. This is temporary. * The contract wrapper has been regenerated with latest abigen and solc v0.3.6. * There is a new generator that creates the 'deployed code' variable. * Documentation comments now follow the recommended godoc style. * [CHEQUEBOOK] log prefixes are gone. * LGPL license headers have been added to all files.
-
- 27 8月, 2016 1 次提交
-
-
由 gregg dourgarian 提交于
-
- 25 8月, 2016 2 次提交
-
-
由 Péter Szilágyi 提交于
Stable Go API, part 1
-
由 Felix Lange 提交于
internal/ethapi: Fix bug in opCodeWrapper usage
-
- 24 8月, 2016 3 次提交
-
-
由 Nick Johnson 提交于
-
由 Felix Lange 提交于
internal/ethapi: Improve tracer error reporting and serialization
-
由 Nick Johnson 提交于
-
- 23 8月, 2016 5 次提交
-
-
由 Stein Dekker 提交于
-
由 Péter Szilágyi 提交于
core/vm, eth: Add support for javascript trace functions
-
由 Nick Johnson 提交于
-
由 Hellsegga 提交于
-
由 Felix Lange 提交于
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.
-
- 22 8月, 2016 7 次提交
-
-
由 Felix Lange 提交于
cmd/utils: removed DAO oppose / support message
-
由 Felix Lange 提交于
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 提交于
cmd/geth: added copyright and license information
-
由 Péter Szilágyi 提交于
core: Refactor tracing to make Tracer the main interface
-
由 Jeffrey Wilcke 提交于
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 提交于
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.
-
由 Jeffrey Wilcke 提交于
-
- 21 8月, 2016 1 次提交
-
-
由 Felix Lange 提交于
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.
-
- 19 8月, 2016 2 次提交
-
-
由 Péter Szilágyi 提交于
eth/fetcher: fix a log message formatting issue
-
由 Péter Szilágyi 提交于
-
- 18 8月, 2016 1 次提交
-
-
由 Felix Lange 提交于
all: clean up tech debt left behind by the API split
-
- 17 8月, 2016 9 次提交
-
-
由 Felix Lange 提交于
This ensures that package core doesn't depend on package accounts and resolves an age-old TODO.
-
由 Felix Lange 提交于
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 提交于
-
由 Felix Lange 提交于
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 提交于
rpc: refactor subscriptions and filters
-
由 Bas van Kervel 提交于
-
由 Nick Johnson 提交于
TravisCI: add Go 1.7 targets, bump PPA to 1.7 too
-
由 Péter Szilágyi 提交于
-
由 Felix Lange 提交于
core: ensure the canonical block is written before the canonical hash is set
-
- 16 8月, 2016 4 次提交
-
-
由 Bas van Kervel 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
eth/downloader: fewer headers and futures too in ancestor lookup
-
由 cdetrio 提交于
Fixes #2872
-