aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi
Commit message (Collapse)AuthorAgeFilesLines
* internal/ethapi: add missing output fieldsFelix Lange2016-08-041-24/+33
| | | | | | | | - returned headers didn't include mixHash - returned transactions didn't include signature fields - empty transaction input was returned as "", but should be "0x" - returned receipts didn't include the bloom filter - "root" in receipts was missing 0x prefix
* internal/ethapi: Fix bug in opCodeWrapper usageNick Johnson2016-08-242-6/+23
|
* internal/ethapi: Improve tracer error reporting and serializationNick Johnson2016-08-242-11/+26
|
* core/vm, eth: Add support for javascript trace functionsNick Johnson2016-08-232-0/+486
|
* core/vm: Refactor tracing to make Tracer the main interfaceNick Johnson2016-08-221-54/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #2909 from fjl/account-manager-cleanupFelix Lange2016-08-183-73/+90
|\ | | | | all: clean up tech debt left behind by the API split
| * common/compiler: simplify solc wrapperFelix Lange2016-08-173-73/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | rpc: refactor subscriptions and filtersBas van Kervel2016-08-171-122/+4
|/
* eth/api: rename signAndSendTransaction to sendTransactionBas van Kervel2016-07-221-2/+8
|
* core: added CheckNonce() to Message interfacezsfelfoldi2016-07-111-2/+2
|
* eth: separate common and full node-specific API and backend servicezsfelfoldi2016-06-162-0/+1661