aboutsummaryrefslogtreecommitdiffstats
path: root/internal
Commit message (Collapse)AuthorAgeFilesLines
* 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-233-1/+488
|
* 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
|/
* Merge pull request #2740 from Firescar96/removepeerFelix Lange2016-07-291-0/+5
|\ | | | | node, p2p, internal: Add ability to remove peers via admin interface
| * node, p2p, internal: Add ability to remove peers via admin interfaceFirescar962016-07-151-0/+5
| |
* | rpc: add new client, use it everywhereFelix Lange2016-07-231-1/+1
| | | | | | | | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
* | eth/api: rename signAndSendTransaction to sendTransactionBas van Kervel2016-07-222-4/+10
| |
* | core: added CheckNonce() to Message interfacezsfelfoldi2016-07-111-2/+2
| |
* | Merge pull request #2159 from zsfelfoldi/light-backendPéter Szilágyi2016-06-302-0/+1661
|\ \ | |/ |/| eth: separate common and full node-specific API and backend service
| * eth: separate common and full node-specific API and backend servicezsfelfoldi2016-06-162-0/+1661
| |
* | web3ext: Remove old natspec Admin_JS stubsJustin Clark-Casey2016-06-241-15/+0
| | | | | | | | This stops them from showing up on the javascript console.
* | build: add ci.go, use it everywhereFelix Lange2016-06-222-0/+299
|/ | | | | | The new build script, ci.go, replaces some of the older shell scripts. ci.go can compile go-ethereum, run the tests, create release archives and debian source packages.
* cmd/geth: codegansta/cli package renamed to urfave/cliBas van Kervel2016-06-091-1/+1
|
* internal/jsre: ensure Stop can be called more than onceFelix Lange2016-06-031-7/+9
| | | | This makes "geth js file.js" terminate again.
* console, internal/jsre: colorize JavaScript exceptions tooPéter Szilágyi2016-05-302-2/+20
|
* cmd, console: split off the console into a reusable packagePéter Szilágyi2016-05-307-0/+16874
|
* eth: add new RPC method (personal.) SignAndSendTransactionBas van Kervel2016-05-201-0/+6
|
* cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix minerPéter Szilágyi2016-05-111-116/+131
|
* internal/debug: also rename debug_startTrace to debug_startGoTraceFelix Lange2016-05-065-14/+14
| | | | This was missing from the previous change.
* internal/debug: rename debug_trace to debug_goTraceFelix Lange2016-05-062-4/+4
| | | | Reduces confusion with EVM execution tracing methods.
* eth: add personal_importRawKey for runtime private key importAles Katona2016-04-281-6/+21
|
* rpc: move web3.js extensions to internal/web3extFelix Lange2016-04-151-0/+463
|
* internal/debug: add memStats and gcStats to APIFelix Lange2016-04-131-0/+15
|
* cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panicFelix Lange2016-03-122-0/+51
| | | | | Go 1.6 only prints stacks for the current goroutine by default, but for this panic we want to see all of them.
* internal/debug: don't disable heap profile collection by defaultFelix Lange2016-03-121-0/+1
| | | | | Setting runtime.MemProfileRate to 0 through the flag default value makes it impossible to get an 'in-use' profile.
* internal/debug: APIs for profiling and tracingFelix Lange2016-01-284-0/+404
The debug package provides an RPC wrapper for glog settings and the debugging facilities of the Go runtime. They can be triggered through both command line flags and the IPC listener.