Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core/vm: Refactor tracing to make Tracer the main interface | Nick Johnson | 2016-08-22 | 16 | -282/+162 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-cleanup | Felix Lange | 2016-08-18 | 22 | -496/+462 |
|\ | | | | | all: clean up tech debt left behind by the API split | ||||
| * | core, miner: move Backend to miner | Felix Lange | 2016-08-17 | 3 | -22/+24 |
| | | | | | | | | | | This ensures that package core doesn't depend on package accounts and resolves an age-old TODO. | ||||
| * | common/compiler: simplify solc wrapper | Felix Lange | 2016-08-17 | 8 | -254/+225 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | eth: remove dapp database remains | Felix Lange | 2016-08-17 | 3 | -25/+6 |
| | | |||||
| * | cmd/utils, node: create account manager in package node | Felix Lange | 2016-08-17 | 11 | -195/+207 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #2885 from bas-vk/subscriptions | Felix Lange | 2016-08-17 | 15 | -1216/+1265 |
|\ \ | | | | | | | rpc: refactor subscriptions and filters | ||||
| * | | rpc: refactor subscriptions and filters | Bas van Kervel | 2016-08-17 | 15 | -1216/+1265 |
|/ / | |||||
* | | Merge pull request #2913 from karalabe/travis-go-1.7 | Nick Johnson | 2016-08-17 | 1 | -2/+5 |
|\ \ | | | | | | | TravisCI: add Go 1.7 targets, bump PPA to 1.7 too | ||||
| * | | TravisCI: add Go 1.7 targets, bump PPA to 1.7 too | Péter Szilágyi | 2016-08-17 | 1 | -2/+5 |
|/ / | |||||
* | | Merge pull request #2873 from bas-vk/canonicalblock | Felix Lange | 2016-08-17 | 5 | -20/+69 |
|\ \ | | | | | | | core: ensure the canonical block is written before the canonical hash is set | ||||
| * | | core: ensure the canonical block is written before the canonical hash is set | Bas van Kervel | 2016-08-16 | 5 | -20/+69 |
|/ / | |||||
* | | Makefile: support building for the MIPS64 platforms (#2682) | Péter Szilágyi | 2016-08-16 | 1 | -2/+12 |
| | | |||||
* | | Merge pull request #2866 from karalabe/downloader-future-ancestors | Péter Szilágyi | 2016-08-16 | 1 | -9/+17 |
|\ \ | | | | | | | eth/downloader: fewer headers and futures too in ancestor lookup | ||||
| * | | eth/downloader: fewer headers and futures too un ancestor lookup | Péter Szilágyi | 2016-07-26 | 1 | -9/+17 |
| | | | |||||
* | | | console: fix return via callbacks (#2910) | cdetrio | 2016-08-16 | 1 | -2/+2 |
| |/ |/| | | | Fixes #2872 | ||||
* | | Merge pull request #2891 from fjl/rpc-client-fixes | Péter Szilágyi | 2016-08-09 | 4 | -62/+158 |
|\ \ | | | | | | | rpc: client bug fixes | ||||
| * | | rpc: add context argument to EthSubscribe | Felix Lange | 2016-08-06 | 3 | -33/+38 |
| | | | | | | | | | | | | | | | It's inconsistent not to pass it and most callers will work with contexts anyway. | ||||
| * | | rpc: ensure client doesn't block for slow subscribers | Felix Lange | 2016-08-06 | 3 | -30/+117 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I initially made the client block if the 100-element buffer was exceeded. It turns out that this is inconvenient for simple uses of the client which subscribe and perform calls on the same goroutine, e.g. client, _ := rpc.Dial(...) ch := make(chan int) // note: no buffer sub, _ := client.EthSubscribe(ch, "something") for event := range ch { client.Call(...) } This innocent looking code will lock up if the server suddenly decides to send 2000 notifications. In this case, the client's main loop won't accept the call because it is trying to deliver a notification to ch. The issue is kind of hard to explain in the docs and few people will actually read them. Buffering is the simple option and works with close to no overhead for subscribers that always listen. | ||||
| * | | rpc: don't exceed context deadline while waiting for send lock | Felix Lange | 2016-08-05 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #2868 from karalabe/downloader-abort-master-drop | Péter Szilágyi | 2016-08-09 | 1 | -2/+15 |
|\ \ \ | | | | | | | | | eth/downloader: abort sync if master drops (timeout prev) | ||||
| * | | | eth/downloader: abort sync if master drops (timeout prev) | Péter Szilágyi | 2016-07-26 | 1 | -2/+15 |
| | |/ | |/| | |||||
* | | | Merge pull request #2867 from karalabe/dao-challenge-finish | Péter Szilágyi | 2016-08-09 | 2 | -1/+2 |
|\ \ \ | | | | | | | | | eth, eth/downloader: don't forward the DAO challenge header | ||||
| * | | | eth, eth/downloader: don't forward the DAO challenge header | Péter Szilágyi | 2016-07-26 | 2 | -1/+2 |
| |/ / | |||||
* | | | Merge pull request #2861 from karalabe/track-peer-heads-properly | Péter Szilágyi | 2016-08-09 | 6 | -50/+59 |
|\ \ \ | | | | | | | | | eth, eth/downloader: better remote head tracking | ||||
| * | | | eth, eth/downloader: better remote head tracking | Péter Szilágyi | 2016-07-25 | 6 | -50/+59 |
| | | | | |||||
* | | | | Merge pull request #2896 from karalabe/fix-xgo-crossbuilds | Felix Lange | 2016-08-09 | 3 | -50/+57 |
|\ \ \ \ | | | | | | | | | | | Makefile, build: move cross compilation into ci.go | ||||
| * | | | | Makefile, build: move cross compilation into ci.go | Péter Szilágyi | 2016-08-08 | 3 | -50/+57 |
|/ / / / | |||||
* | | | | Merge pull request #2892 from fjl/vm-hide-ecrecover-message | Felix Lange | 2016-08-06 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | core/vm: hide ecrecover error message | ||||
| * | | | | core/vm: hide ecrecover error message | Felix Lange | 2016-08-06 | 1 | -2/+2 |
| | |_|/ | |/| | | | | | | | | | | Fixes #2825 | ||||
* | | | | Merge pull request #2889 from fjl/godeps-update-notify | Felix Lange | 2016-08-06 | 4 | -5/+3 |
|\ \ \ \ | | | | | | | | | | | Godeps: update github.com/rjeczalik/notify to f627deca7a51 | ||||
| * | | | | Godeps: update github.com/rjeczalik/notify to f627deca7a51 | Felix Lange | 2016-08-05 | 4 | -5/+3 |
| |/ / / | | | | | | | | | | | | | Fixes #2829 | ||||
* | | | | Merge pull request #2740 from Firescar96/removepeer | Felix Lange | 2016-07-29 | 5 | -0/+48 |
|\ \ \ \ | | | | | | | | | | | node, p2p, internal: Add ability to remove peers via admin interface | ||||
| * | | | | node, p2p, internal: Add ability to remove peers via admin interface | Firescar96 | 2016-07-15 | 5 | -0/+48 |
| | | | | | |||||
* | | | | | Merge pull request #2870 from lukeyeager/patch-1 | Péter Szilágyi | 2016-07-27 | 1 | -1/+1 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Fix README typo | ||||
| * | | | | README: Fix typo | Luke Yeager | 2016-07-27 | 1 | -1/+1 |
|/ / / / | | | | | | | | | | | | | "fine graned" -> "fine-grained" | ||||
* | | | | Merge pull request #2862 from yep/faster-git-clone | Péter Szilágyi | 2016-07-26 | 2 | -11/+10 |
|\ \ \ \ | |_|/ / |/| | | | containers/docker: use shallow clone of single branch | ||||
| * | | | containers/docker: whitespace changes only, make future diffs more readable | yep | 2016-07-25 | 2 | -8/+8 |
| | | | | |||||
| * | | | containers/docker: use shallow clone of single branch | yep | 2016-07-25 | 2 | -3/+2 |
|/ / / | |||||
* | | | Merge pull request #2855 from karalabe/downloader-fix-stall-drop | Felix Lange | 2016-07-25 | 1 | -1/+8 |
|\ \ \ | |_|/ |/| | | eth/downloader: fix the stall checks/drops during sync | ||||
| * | | eth/downloader: fix the stall checks/drops during sync | Péter Szilágyi | 2016-07-22 | 1 | -1/+8 |
| | | | |||||
* | | | Merge pull request #2808 from fjl/rpc-client-3 | bas-vk | 2016-07-25 | 30 | -769/+2021 |
|\ \ \ | | | | | | | | | rpc: add new client, use it everywhere | ||||
| * | | | rpc: add new client, use it everywhere | Felix Lange | 2016-07-23 | 30 | -751/+2002 |
| | | | | | | | | | | | | | | | | | | | | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum. | ||||
| * | | | rpc: fix bad method error for batch requests | Felix Lange | 2016-07-23 | 3 | -9/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | If a batch request contained an invalid method, the server would reply with a non-batch error response. Fix this by tracking an error for each batch element. | ||||
| * | | | rpc: remove grace period when shutting down the server | Felix Lange | 2016-07-23 | 1 | -10/+5 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | The server delayed closing of connections for 3s when stopping. This was supposed to allow for slow handlers, but it didn't really work. When geth quits, it will just exit immediately after quitting the server. Removing the timer makes testing easier because all connections will be closed after Stop returns. | ||||
* | | | Merge pull request #2842 from fjl/downloader-remove-eth61 | Felix Lange | 2016-07-23 | 15 | -1524/+119 |
|\ \ \ | |/ / |/| | | eth, eth/downloader, eth/fetcher: delete eth/61 sync code | ||||
| * | | eth, eth/downloader, eth/fetcher: delete eth/61 code | Felix Lange | 2016-07-22 | 15 | -1524/+119 |
| | | | | | | | | | | | | | | | The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic. | ||||
* | | | Merge pull request #2712 from bas-vk/sendtx | Péter Szilágyi | 2016-07-22 | 2 | -4/+10 |
|\ \ \ | | | | | | | | | eth/api: rename signAndSendTransaction to sendTransaction | ||||
| * | | | eth/api: rename signAndSendTransaction to sendTransaction | Bas van Kervel | 2016-07-22 | 2 | -4/+10 |
|/ / / | |||||
* | | | Merge pull request #2851 from yep/alpine-3-4 | Péter Szilágyi | 2016-07-22 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | containers/docker: update to alpine 3.4 | ||||
| * | | | containers/docker: update to alpine 3.4 | yep | 2016-07-22 | 2 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #2833 from karalabe/fix-dao-challenge-annoyance | Péter Szilágyi | 2016-07-22 | 1 | -0/+7 |
|\ \ \ \ | |/ / / |/| | | | eth: cancel DAO challenge on peer drop (annoying log) | ||||
| * | | | eth: cancel DAO challenge on peer drop (annoying log) | Péter Szilágyi | 2016-07-19 | 1 | -0/+7 |
| |/ / | |||||
* | | | Merge pull request #2836 from fjl/godeps-update-leveldb | Péter Szilágyi | 2016-07-20 | 5 | -28/+63 |
|\ \ \ | | | | | | | | | Godeps: bump github.com/syndtr/goleveldb/... to ab8b5dcf104 | ||||
| * | | | Godeps: bump github.com/syndtr/goleveldb/... to ab8b5dcf104 | Felix Lange | 2016-07-20 | 5 | -28/+63 |
| |/ / | |||||
* | | | Merge pull request #2711 from hdiedrich/1.4.7-filter-races-cleanup | Felix Lange | 2016-07-20 | 2 | -28/+54 |
|\ \ \ | | | | | | | | | Fix #2710 Filter race: concurrent map read and map write | ||||
| * | | | eth: fix #2710 filter races | Henning Diedrich | 2016-07-04 | 2 | -28/+54 |
| | | | | | | | | | | | | | | | | and locking bugs found in its wake. | ||||
* | | | | Merge pull request #2821 from Arachnid/discover-enode | Felix Lange | 2016-07-20 | 1 | -12/+16 |
|\ \ \ \ | | | | | | | | | | | cmd/bootnode: Add support for outputting a node's ID on the command line | ||||
| * | | | | cmd/bootnode: Add support for outputting a node's ID on the command line | Nick Johnson | 2016-07-15 | 1 | -12/+16 |
| | | | | | |||||
* | | | | | Merge pull request #2834 from zsfelfoldi/chaindb-upgrade-fix | Péter Szilágyi | 2016-07-19 | 1 | -0/+13 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | eth: fixed chaindb upgrade | ||||
| * | | | | eth: fixed chaindb upgrade | zsfelfoldi | 2016-07-19 | 1 | -0/+13 |
|/ / / / | |||||
* | | | | Merge pull request #2814 from karalabe/dao-hard-finalcombo | Jeffrey Wilcke | 2016-07-16 | 35 | -124/+9888 |
|\ \ \ \ | | | | | | | | | | | cmd, core, eth, miner, params, tests: finalize the DAO fork | ||||
| * | | | | cmd/utils, eth: display the user's current fork, minor text tweak | Péter Szilágyi | 2016-07-16 | 2 | -1/+20 |
| | | | | | |||||
| * | | | | cmd, core, eth, miner, params, tests: finalize the DAO fork | Péter Szilágyi | 2016-07-15 | 12 | -414/+7519 |
| | | | | | |||||
| * | | | | accounts, core, eth: pass chain config for chain maker to test DAO | Péter Szilágyi | 2016-07-15 | 16 | -132/+181 |
| | | | | | |||||
| * | | | | core, params, tests: add DAO hard-fork balance moves | Péter Szilágyi | 2016-07-15 | 10 | -42/+2011 |
| | | | | | |||||
| * | | | | core, eth: enforce network split post DAO hard-fork | Péter Szilágyi | 2016-07-15 | 4 | -7/+141 |
| | | | | | |||||
| * | | | | cmd, core, miner: add extradata validation to consensus rules | Péter Szilágyi | 2016-07-15 | 7 | -216/+275 |
| | | | | | |||||
| * | | | | cmd/geth, miner, params: special extradata for DAO fork start | Péter Szilágyi | 2016-07-15 | 3 | -6/+22 |
| | | | | | |||||
| * | | | | core: gracefully handle missing homestead block config | Péter Szilágyi | 2016-07-15 | 2 | -1/+106 |
| | | | | | |||||
| * | | | | cmd, core, eth, params: implement flags to control dao fork blocks | Péter Szilágyi | 2016-07-15 | 7 | -46/+354 |
|/ / / / | |||||
* | | | | Merge pull request #2823 from karalabe/circleci-hive | Péter Szilágyi | 2016-07-15 | 1 | -0/+32 |
|\ \ \ \ | | | | | | | | | | | circleci: enable docker based hive testing | ||||
| * | | | | circleci: enable docker based hive testing | Péter Szilágyi | 2016-07-15 | 1 | -0/+32 |
| | | | | | |||||
* | | | | | Merge pull request #2724 from pirapira/fix_reset_fees | Péter Szilágyi | 2016-07-15 | 2 | -2/+2 |
|\ \ \ \ \ | |/ / / / |/| | | | | vm: Replace some SstoreClearGas with SstoreResetGas | ||||
| * | | | | vm: Replace some SstoreClearGas with SstoreResetGas | Yoichi Hirai | 2016-06-22 | 2 | -2/+2 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #2819 from fjl/rpc-back-to-npipe | Felix Lange | 2016-07-15 | 28 | -2333/+1555 |
|\ \ \ \ | | | | | | | | | | | Godeps, rpc: switch back to package npipe | ||||
| * | | | | Godeps: update golang.org/x/net/... | Felix Lange | 2016-07-15 | 9 | -486/+381 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds compatibility with Go 1.7, where context has moved into the standard library. | ||||
| * | | | | Godeps, rpc: switch back to package npipe | Felix Lange | 2016-07-15 | 20 | -1847/+1174 |
|/ / / / | | | | | | | | | | | | | | | | | The named pipe implementation from go-winio has some issues that need to be addressed before we can use it again. | ||||
* | / / | appveyor.yml: don't install Go and MinGW, they're already there (#2813) | Felix Lange | 2016-07-14 | 1 | -11/+13 |
| |/ / |/| | | |||||
* | | | Merge pull request #2799 from zsfelfoldi/api-nonce-fix2 | Péter Szilágyi | 2016-07-12 | 7 | -8/+17 |
|\ \ \ | | | | | | | | | core: added CheckNonce() to Message interface | ||||
| * | | | core: added CheckNonce() to Message interface | zsfelfoldi | 2016-07-11 | 7 | -8/+17 |
| | | | | |||||
* | | | | cmd/geth: print version on geth start (#2622) | Matthew Di Ferrante | 2016-07-12 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #2801 from karalabe/dao-hardfork-importdrop | Péter Szilágyi | 2016-07-12 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | eth/downloader: return invalid chain (peer drop) on import fails | ||||
| * | | | | eth/downloader: return invalid chain (peer drop) on import fails | Péter Szilágyi | 2016-07-12 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #2793 from karalabe/blockchain-import-mine-datarace | Péter Szilágyi | 2016-07-12 | 1 | -4/+3 |
|\ \ \ \ | | | | | | | | | | | core: solve a remote-import/local-mine data race | ||||
| * | | | | core: solve a remote-import/local-mine data race | Péter Szilágyi | 2016-07-08 | 1 | -4/+3 |
| |/ / / | |||||
* | | | | Merge pull request #2805 from karalabe/readme-running-geth | Péter Szilágyi | 2016-07-12 | 1 | -0/+191 |
|\ \ \ \ | | | | | | | | | | | README: expand with "Running Geth" section | ||||
| * | | | | README: expand with "Running Geth" section | Péter Szilágyi | 2016-07-12 | 1 | -0/+191 |
| |/ / / | |||||
* / / / | ethdb, p2p/discover: replace "alloted" with "allotted" (#2785) | villesundell | 2016-07-12 | 2 | -4/+4 |
|/ / / | |||||
* | | | Merge pull request #2782 from karalabe/docker-alpine-master-nogmp | Felix Lange | 2016-07-05 | 1 | -5/+5 |
|\ \ \ | | | | | | | | | containers/docker/master-alpine: drop gmp dependency | ||||
| * | | | containers/docker/master-alpine: drop gmp dependency | Péter Szilágyi | 2016-07-04 | 1 | -5/+5 |
|/ / / | |||||
* | | | Merge pull request #2776 from karalabe/disable-eth61 | Péter Szilágyi | 2016-07-04 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | eth: disable eth/61 to prepare for more elaborate fork sync algos | ||||
| * | | | eth: disable eth/61 to prepare for more elaborate fork sync algos | Péter Szilágyi | 2016-07-04 | 1 | -2/+2 |
|/ / / | |||||
* | | | Merge pull request #2763 from karalabe/fix-readme-type | Péter Szilágyi | 2016-07-01 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | README: fix build->built typo | ||||
| * | | | README: fix build->built typo | Try Space | 2016-07-01 | 1 | -1/+1 |
|/ / / | | | | | | | | | | (cherry picked from commit e271fd57132763f39c6993a35e6c063aac3af4f1) | ||||
* | | | Merge pull request #2759 from karalabe/drop-redundant-full-service | Péter Szilágyi | 2016-07-01 | 11 | -86/+86 |
|\ \ \ | | | | | | | | | cmd, common, console, eth, release: drop redundant "full"s | ||||
| * | | | cmd, common, console, eth, release: drop redundant "full"s | Péter Szilágyi | 2016-06-30 | 11 | -86/+86 |
|/ / / | |||||
* | | | Merge pull request #2159 from zsfelfoldi/light-backend | Péter Szilágyi | 2016-06-30 | 22 | -1805/+2296 |
|\ \ \ | | | | | | | | | eth: separate common and full node-specific API and backend service | ||||
| * | | | eth: separate common and full node-specific API and backend service | zsfelfoldi | 2016-06-16 | 22 | -1805/+2296 |
| | | | | |||||
* | | | | Merge pull request #2750 from sybiload/develop | Péter Szilágyi | 2016-06-29 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | cmd/geth: fix the import error message | ||||
| * | | | | cmd/geth: fix the import error message | Yohann LEON | 2016-06-29 | 1 | -1/+1 |
| | |_|/ | |/| | | | | | | | | | | cmd/geth: include the error message on import failure | ||||
* | | | | Merge pull request #2752 from karalabe/revert-soft-fork | Péter Szilágyi | 2016-06-29 | 14 | -473/+9 |
|\ \ \ \ | |/ / / |/| | | | Revert faulty DAO soft-fork | ||||
| * | | | Revert "test, cmd/evm, core, core/vm: illegal code hash implementation" | Péter Szilágyi | 2016-06-29 | 11 | -95/+29 |
| | | | | | | | | | | | | | | | | This reverts commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d. | ||||
| * | | | Revert "core: add voting and result tracking for the dao soft-fork" | Péter Szilágyi | 2016-06-29 | 5 | -436/+20 |
| | | | | | | | | | | | | | | | | This reverts commit c4de28938ff8c688c4444c8b3e8e28a52cbc62ff. | ||||
| * | | | Revert "core: update DAO soft-fork number, clean up the code" | Péter Szilágyi | 2016-06-29 | 10 | -49/+67 |
| | | | | | | | | | | | | | | | | This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0. | ||||
| * | | | Revert "core: update the DAO soft fork proposal to the final block" | Péter Szilágyi | 2016-06-29 | 1 | -1/+1 |
|/ / / | | | | | | | | | | This reverts commit 1e3a7d4fab36df9382d023519ef10e3c34bafa3b. | ||||
* | | | Merge pull request #2734 from karalabe/dao-final-block | Péter Szilágyi | 2016-06-24 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | core: update the DAO soft fork proposal to the final block | ||||
| * | | | core: update the DAO soft fork proposal to the final block | Péter Szilágyi | 2016-06-24 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2725 from karalabe/obscuren-softfork-dao-2 | Péter Szilágyi | 2016-06-24 | 14 | -9/+473 |
|\ \ \ | | | | | | | | | DAO soft-fork | ||||
| * | | | core: update DAO soft-fork number, clean up the code | Péter Szilágyi | 2016-06-23 | 10 | -67/+49 |
| | | | | |||||
| * | | | core: add voting and result tracking for the dao soft-fork | Péter Szilágyi | 2016-06-23 | 5 | -20/+436 |
| | | | | |||||
| * | | | test, cmd/evm, core, core/vm: illegal code hash implementation | Jeffrey Wilcke | 2016-06-22 | 11 | -29/+95 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a generic approach to enabling soft forks by allowing anyone to put in hashes of contracts that should not be interacted from. This will help "The DAO" in their endevour to stop any whithdrawals from any DAO contract by convincing the mining community to accept their code hash. | ||||
* | | | | Merge pull request #2731 from justincc/remove-old-natspec-js-stubs | Péter Szilágyi | 2016-06-24 | 1 | -15/+0 |
|\ \ \ \ | | | | | | | | | | | web3ext: Remove old natspec Admin_JS stubs | ||||
| * | | | | web3ext: Remove old natspec Admin_JS stubs | Justin Clark-Casey | 2016-06-24 | 1 | -15/+0 |
|/ / / / | | | | | | | | | | | | | This stops them from showing up on the javascript console. | ||||
* | | | | Merge pull request #2726 from fjl/appveyor | Péter Szilágyi | 2016-06-23 | 19 | -114/+938 |
|\ \ \ \ | |/ / / |/| | | | build: add ci.go, use it everywhere | ||||
| * | | | build: add ci.go, use it everywhere | Felix Lange | 2016-06-22 | 19 | -114/+938 |
| |/ / | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge pull request #2722 from fabioberger/fixTypos | Péter Szilágyi | 2016-06-22 | 4 | -8/+8 |
|\ \ \ | |_|/ |/| | | README, core, rpc: Fix typos | ||||
| * | | README, core, rpc: fix various typos | Fabio Berger | 2016-06-22 | 4 | -8/+8 |
|/ / | |||||
* | | Merge pull request #2685 from karalabe/ethash-bitengdian-fix | Péter Szilágyi | 2016-06-15 | 4 | -18/+17 |
|\ \ | | | | | | | Godeps: pull in ethash with the big endian build fix | ||||
| * | | Godeps: pull in ethash with the big endian build fix | Péter Szilágyi | 2016-06-13 | 4 | -18/+17 |
| | | | |||||
* | | | Merge pull request #2693 from obscuren/evm-bin-create | Péter Szilágyi | 2016-06-15 | 1 | -11/+34 |
|\ \ \ | | | | | | | | | cmd/evm: added --create flag indicating the exec code is to be created | ||||
| * | | | cmd/evm: added --create flag indicating the exec code is to be created | Jeffrey Wilcke | 2016-06-14 | 1 | -11/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue if you wanted to test out code deployment rather than running a piece of code with an argument. This solves it by adding a --create flag that indicates the Create function should be used rather than the Call function. This also adds a statedb.commit call so that the proper state can be dumped when requested using the --dump flag. | ||||
* | | | | Merge pull request #2697 from karalabe/CamTosh-patch-1-3 | Péter Szilágyi | 2016-06-15 | 1 | -5/+5 |
|\ \ \ \ | |/ / / |/| | | | cmd/utils: add space between "to" and filename | ||||
| * | | | cmd/utils: add space between "to" and filename | Tosh Camille | 2016-06-15 | 1 | -5/+5 |
|/ / / | |||||
* | | | Merge pull request #2680 from karalabe/abi-fix-uints | Péter Szilágyi | 2016-06-14 | 2 | -21/+33 |
|\ \ \ | | | | | | | | | accounts/abi: fix uint64 upper range encoding. | ||||
| * | | | accounts/abi: fix uint64 upper range encoding. | Péter Szilágyi | 2016-06-10 | 2 | -21/+33 |
| | | | | |||||
* | | | | Merge pull request #2686 from obscuren/issue-2542 | Péter Szilágyi | 2016-06-14 | 2 | -0/+22 |
|\ \ \ \ | |_|_|/ |/| | | | core/state, eth: Updated suicides objects when tracing transactions | ||||
| * | | | core/state, eth: Updated suicides objects when tracing transactions | Jeffrey Wilcke | 2016-06-13 | 2 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consensus rules dictate that objects can only be removed during the finalisation of the transaction (i.e. after all calls have finished). Thus calling a suicided contract twice from the same transaction: A->B(S)->ret(A)->B(S) results in 2 suicides. Calling the suicided object twice from two transactions: A->B(S), A->B, results in only one suicide and a call to an empty object. Our current debug tracing functionality replays all transaction that were executed prior to the targetted transaction in order to provide the user with an accurate trace. As a side effect to calling StateDB.IntermediateRoot it also deletes any suicides objects. Our tracing code never calls this function because it isn't interested in the intermediate root. Becasue of this it caused a bug in the tracing code where transactions that were send to priviously deleted objects resulted in two suicides rather than one suicide and a call to an empty object. Fixes #2542 | ||||
* | | | | Merge pull request #2455 from zsfelfoldi/chaindb | Jeffrey Wilcke | 2016-06-13 | 24 | -360/+840 |
|\ \ \ \ | | | | | | | | | | | core: improved chain db performance by using sequential keys | ||||
| * | | | | core: improved chainDb using sequential keys | zsfelfoldi | 2016-06-07 | 24 | -365/+726 |
| | | | | | |||||
| * | | | | core: chain read/write speed benchmarks | zsfelfoldi | 2016-06-06 | 1 | -0/+119 |
| |/ / / | |||||
* | | | | Merge pull request #2687 from karalabe/downloader-fasttest-fix | Felix Lange | 2016-06-13 | 1 | -1/+3 |
|\ \ \ \ | |_|_|/ |/| | | | eth/downloader: fix occasional fast sync critical section test fails | ||||
| * | | | eth/downloader: fix occasional fast sync critical section test fails | Péter Szilágyi | 2016-06-13 | 1 | -1/+3 |
|/ / / | |||||
* | | | Merge pull request #2681 from karalabe/fix-cli-deprecation | Péter Szilágyi | 2016-06-10 | 8 | -27/+55 |
|\ \ \ | |_|/ |/| | | cmd: fix CLI package deprecation warnings | ||||
| * | | cmd: fix CLI package deprecation warnings | Péter Szilágyi | 2016-06-10 | 8 | -27/+55 |
|/ / | |||||
* | | Merge pull request #2677 from bas-vk/cli | Péter Szilágyi | 2016-06-10 | 35 | -626/+1309 |
|\ \ | | | | | | | cmd/geth: codegansta/cli package renamed to urfave/cli | ||||
| * | | cmd/geth: codegansta/cli package renamed to urfave/cli | Bas van Kervel | 2016-06-09 | 35 | -626/+1309 |
| | | | |||||
* | | | Merge pull request #2653 from tbocek/develop | Péter Szilágyi | 2016-06-10 | 4 | -64/+10 |
|\ \ \ | | | | | | | | | Negative numbers not properly converted in ABI encoding | ||||
| * | | | accounts/abi: Negative numbers not properly converted in ABI encoding | Thomas Bocek | 2016-06-06 | 4 | -64/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When converting a negative number e.g., -2, the resulting ABI encoding should look as follows: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe. However, since the check of the type is for an uint instead of an int, it results in the following ABI encoding: 0101010101010101010101010101010101010101010101010101010101010102. The Ethereum ABI (https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI) says, that signed integers are stored in two's complement which should be of the form ffffff.... and not 01010101..... for e.g. -1. Thus, I removed the type check in numbers.go as well as the function S256 as I don't think they are correct. Or maybe I'm missing something? | ||||
* | | | | Merge pull request #2670 from bas-vk/indent | Péter Szilágyi | 2016-06-09 | 2 | -2/+91 |
|\ \ \ \ | |_|/ / |/| | | | Ignore round and curly brackets in strings for indentation level | ||||
| * | | | console: ignore round and curly brackets in strings when determining ↵ | Bas van Kervel | 2016-06-08 | 2 | -2/+91 |
| | |/ | |/| | | | | | | | indentation level | ||||
* | | | Merge pull request #2673 from karalabe/fix-accounts-usage-text | Felix Lange | 2016-06-08 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | cmd/geth: fix the keystore path in the accounts help text | ||||
| * | | | cmd/geth: fix the keystore path in the accounts help text | Péter Szilágyi | 2016-06-08 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2671 from karalabe/randomize-console-tests | Péter Szilágyi | 2016-06-08 | 1 | -4/+12 |
|\ \ \ | | | | | | | | | cmd/geth: truly randomize console test RPC endpoints | ||||
| * | | | cmd/geth: truly randomize console test RPC endpoints | Péter Szilágyi | 2016-06-08 | 1 | -4/+12 |
| |/ / | |||||
* | | | Merge pull request #2669 from karalabe/fix-windows-console-color | Péter Szilágyi | 2016-06-08 | 1 | -1/+2 |
|\ \ \ | |/ / |/| | | console: fix windows console colors | ||||
| * | | console: fix windows color transformation issue | Péter Szilágyi | 2016-06-08 | 1 | -1/+2 |
|/ / | |||||
* | | Merge pull request #2649 from karalabe/omit-startup-tx-processing | Péter Szilágyi | 2016-06-06 | 3 | -4/+13 |
|\ \ | | | | | | | eth: don't accept transactions until we sync up with the network | ||||
| * | | eth: don't accept transactions until we sync up with the network | Péter Szilágyi | 2016-06-06 | 3 | -4/+13 |
|/ / | |||||
* | | Merge pull request #2630 from karalabe/adaptive-qos-tuning | Péter Szilágyi | 2016-06-06 | 3 | -48/+235 |
|\ \ | | | | | | | eth/downloader: adaptive quality of service tuning | ||||
| * | | eth/downloader: adaptive quality of service tuning | Péter Szilágyi | 2016-06-06 | 3 | -48/+235 |
|/ / | |||||
* | | Merge pull request #2647 from karalabe/fastsync-critical-resilience | Péter Szilágyi | 2016-06-06 | 2 | -26/+109 |
|\ \ | | | | | | | eth/downloader: make fast sync resilient to critical section fails | ||||
| * | | eth/downloader: make fast sync resilient to critical section fails | Péter Szilágyi | 2016-06-02 | 2 | -26/+109 |
| |/ | |||||
* | | Merge pull request #2655 from fjl/txpool-lock | Péter Szilágyi | 2016-06-03 | 1 | -1/+10 |
|\ \ | | | | | | | core: add missing lock in TxPool.GetTransaction | ||||
| * | | core: add missing lock in TxPool.{GetTransaction,RemoveTx} | Felix Lange | 2016-06-03 | 1 | -1/+10 |
|/ / | | | | | | | Fixes #2650 | ||||
* | | Merge pull request #2656 from fjl/console-test | Felix Lange | 2016-06-03 | 3 | -35/+45 |
|\ \ | |/ |/| | cmd/geth: make console tests more robust | ||||
| * | cmd/geth: make console tests more robust | Felix Lange | 2016-06-03 | 1 | -18/+28 |
| | | | | | | | | | | | | * use --port 0 to avoid p2p port conflicts * use --maxpeers 0 so it doesn't connect to bootstrap nodes * use geth.expectExit() to wait for termination | ||||
| * | console: remove unnecessary JS evaluation in Welcome | Felix Lange | 2016-06-03 | 1 | -10/+8 |
| | | |||||
| * | internal/jsre: ensure Stop can be called more than once | Felix Lange | 2016-06-03 | 1 | -7/+9 |
|/ | | | | This makes "geth js file.js" terminate again. | ||||
* | Merge pull request #2637 from karalabe/downloader-always-cancel | Péter Szilágyi | 2016-05-31 | 2 | -1/+13 |
|\ | | | | | eth/downloader: ensure cancel channel is closed post sync | ||||
| * | eth/downloader: ensure cancel channel is closed post sync | Péter Szilágyi | 2016-05-30 | 2 | -1/+13 |
| | | |||||
* | | Merge pull request #2627 from karalabe/concurrent-head-sync | Péter Szilágyi | 2016-05-31 | 3 | -30/+41 |
|\ \ | | | | | | | eth/downloader, trie: pull head state concurrently with chain | ||||
| * | | eth/downloader, trie: pull head state concurrently with chain | Péter Szilágyi | 2016-05-27 | 3 | -30/+41 |
| | | | |||||
* | | | Merge pull request #2535 from karalabe/modularize-console | Péter Szilágyi | 2016-05-31 | 26 | -1519/+1592 |
|\ \ \ | | | | | | | | | cmd, console: split off the console into a reusable package | ||||
| * | | | cmd/geth, console: fix reviewer issues | Péter Szilágyi | 2016-05-31 | 6 | -49/+68 |
| | | | | |||||
| * | | | console, internal/jsre: colorize JavaScript exceptions too | Péter Szilágyi | 2016-05-30 | 4 | -12/+37 |
| | | | | |||||
| * | | | cmd, console: split off the console into a reusable package | Péter Szilágyi | 2016-05-30 | 26 | -1519/+1548 |
| | |/ | |/| | |||||
* | | | Merge pull request #2585 from karalabe/trie-dirty-tracking | Jeffrey Wilcke | 2016-05-31 | 9 | -133/+244 |
|\ \ \ | |/ / |/| | | core, core/state, trie: enterprise hand-tuned multi-level caching | ||||
| * | | core, core/state, trie: enterprise hand-tuned multi-level caching | Péter Szilágyi | 2016-05-26 | 9 | -133/+244 |
| |/ | |||||
* | | Merge pull request #2626 from karalabe/fix-testnet-zero-nonce | Péter Szilágyi | 2016-05-27 | 1 | -1/+1 |
|\ \ | |/ |/| | core/state: return the starting nonce for non-existent accs (testnet) | ||||
| * | core/state: return the starting nonce for non-existent accs (testnet) | Péter Szilágyi | 2016-05-27 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2614 from fjl/bad-block-report | Jeffrey Wilcke | 2016-05-26 | 7 | -87/+104 |
|\ | | | | | eth: enable bad block reports | ||||
| * | eth: enable bad block reports | Felix Lange | 2016-05-25 | 7 | -87/+104 |
| | | | | | | | | | | | | | | | | | | | | | | | | We used to have reporting of bad blocks, but it was disabled before the Frontier release. We need it back because users are usually unable to provide the full RLP data of a bad block when it occurs. A shortcoming of this particular implementation is that the origin peer is not tracked for blocks received during eth/63 sync. No origin peer info is still better than no report at all though. | ||||
* | | Merge pull request #2617 from obulpathi/develop | Jeffrey Wilcke | 2016-05-25 | 1 | -1/+1 |
|\ \ | | | | | | | misc: fix spelling mistake | ||||
| * | | misc: fix spelling mistake | Obulapathi N Challa | 2016-05-25 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #2612 from remyroy/fix-eth-getCompilers | Jeffrey Wilcke | 2016-05-25 | 1 | -1/+1 |
|\ \ | | | | | | | eth/api: fixed GetCompilers when there is no error creating Solc | ||||
| * | | eth/api: fixed GetCompilers when there is no error creating Solc | Rémy Roy | 2016-05-25 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #2613 from remyroy/rel-path-solc | Jeffrey Wilcke | 2016-05-25 | 1 | -1/+0 |
|\ \ | |/ |/| | common/compiler: support relative path to solc | ||||
| * | common/compiler: support relative path to solc | Rémy Roy | 2016-05-25 | 1 | -1/+0 |
|/ | |||||
* | Merge pull request #2603 from Digital-Contraptions-Imaginarium/develop | Felix Lange | 2016-05-23 | 1 | -0/+4 |
|\ | | | | | README: make it clear how to build all executables | ||||
| * | Just to make it clear how to build all executables | Gianfranco Cecconi | 2016-05-23 | 1 | -0/+4 |
| | | |||||
* | | Merge pull request #2564 from bas-vk/submit-tx | Jeffrey Wilcke | 2016-05-23 | 6 | -71/+165 |
|\ \ | |/ |/| | eth: add new RPC method (personal.) SignAndSendTransaction | ||||
| * | eth: add new RPC method (personal.) SignAndSendTransaction | Bas van Kervel | 2016-05-20 | 6 | -71/+165 |
| | | |||||
* | | Merge pull request #2597 from fabioberger/develop | Jeffrey Wilcke | 2016-05-23 | 1 | -2/+2 |
|\ \ | | | | | | | core: Simplify bloom9 tests | ||||
| * | | core: Simplify bloom9 tests with available convenience method `TestBytes` | Fabio Berger | 2016-05-23 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #2575 from bas-vk/filter | Jeffrey Wilcke | 2016-05-23 | 2 | -38/+234 |
|\ \ \ | |/ / |/| | | eth/filter: bugfix which can cause a nil pointer crash when parsing f… | ||||
| * | | eth/filter: bugfix which can cause a nil pointer crash when parsing filter ↵ | Bas van Kervel | 2016-05-17 | 2 | -38/+234 |
| | | | | | | | | | | | | arguments | ||||
* | | | Merge pull request #2589 from karalabe/estimate-remove-codecheck | Jeffrey Wilcke | 2016-05-20 | 7 | -28/+112 |
|\ \ \ | | | | | | | | | accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call | ||||
| * | | | accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call | Péter Szilágyi | 2016-05-20 | 7 | -28/+112 |
| | |/ | |/| | |||||
* | | | Merge pull request #2315 from karalabe/concurrent-headers-2 | Jeffrey Wilcke | 2016-05-20 | 4 | -211/+643 |
|\ \ \ | |/ / |/| | | eth/downloader: concurrent header downloads | ||||
| * | | eth/downloader: fix reviewer comments | Péter Szilágyi | 2016-05-20 | 2 | -9/+32 |
| | | | |||||
| * | | eth/downloader: stream partial skeleton filling to processor | Péter Szilágyi | 2016-05-17 | 3 | -19/+55 |
| | | | |||||
| * | | eth/downloader: implement concurrent header downloads | Péter Szilágyi | 2016-05-17 | 4 | -211/+584 |
| | | | |||||
* | | | Merge pull request #2582 from obscuren/fix-sign-tx | Jeffrey Wilcke | 2016-05-19 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | eth: fixed regression in eth_signTransaction fixes #2578 | ||||
| * | | | eth: fixed regression in eth_signTransaction fixes #2578 | Jeffrey Wilcke | 2016-05-18 | 1 | -1/+1 |
| | |/ | |/| | | | | | | | | | | Sign transaction returned the unsigned transaction rather than the signed one. | ||||
* | | | Merge pull request #2580 from fjl/p2p-config | Felix Lange | 2016-05-18 | 4 | -28/+36 |
|\ \ \ | |/ / |/| | | node, p2p: move network config out of Server | ||||
| * | | node, p2p: move network config out of Server | Felix Lange | 2016-05-18 | 4 | -28/+36 |
|/ / | | | | | | | This silences a go vet message about copying p2p.Server in package node. | ||||
* | | Merge pull request #2574 from karalabe/notx-during-fastsync | Jeffrey Wilcke | 2016-05-17 | 3 | -14/+23 |
|\ \ | | | | | | | eth: skip transaction handling during fast sync | ||||
| * | | eth: skip transaction handling during fast sync | Péter Szilágyi | 2016-05-17 | 3 | -14/+23 |
|/ / | |||||
* | | Merge pull request #2567 from fjl/console-history-exclude | Jeffrey Wilcke | 2016-05-17 | 1 | -6/+3 |
|\ \ | |/ |/| | cmd/geth: fix console history exclusion | ||||
| * | cmd/geth: fix console history exclusion | Felix Lange | 2016-05-14 | 1 | -6/+3 |
|/ | | | | | | Calls to 'personal' API should be excluded from console history because they can be called with an account passphrase as argument. The check for such calls was inverted and didn't work. | ||||
* | core: fixed pointer assignment | Jeffrey Wilcke | 2016-05-13 | 1 | -2/+2 |
| | | | | | | This fixes an issue where it's theoretical possible to cause a consensus failure when hitting the lower end of the difficulty, though pratically impossible it's worth a fix. | ||||
* | eth/downloader: bound fork ancestry and allow heavy short forks | Péter Szilágyi | 2016-05-13 | 2 | -43/+201 |
| | |||||
* | Merge pull request #2563 from obscuren/rpcaddr-fix | Jeffrey Wilcke | 2016-05-13 | 2 | -0/+11 |
|\ | | | | | eth: fixed double close of channel. Fixes #2555 | ||||
| * | event: fixed subscribtions to stopped event mux | Jeffrey Wilcke | 2016-05-13 | 2 | -0/+11 |
|/ | | | | | | | | | | | | | This fixes an issue where the following would lead to a panic due to a channel being closed twice: * Start mux * Stop mux * Sub to mux * Unsub This is fixed by setting the subscriptions status to closed resulting in the Unsubscribe to ignore the request when called. | ||||
* | Merge pull request #2559 from karalabe/abigen-unmarshal | Péter Szilágyi | 2016-05-12 | 3 | -5/+39 |
|\ | | | | | accounts/abi/bind: fix multi-value anonymous unmarshalling | ||||
| * | accounts/abi: fix abi test for go vet... | Péter Szilágyi | 2016-05-12 | 1 | -2/+2 |
| | | |||||
| * | accounts/abi/bind: fix multi-value anonymous unmarshalling | Péter Szilágyi | 2016-05-12 | 2 | -3/+37 |
| | | |||||
* | | Merge pull request #2560 from 6londe/patch-3 | Péter Szilágyi | 2016-05-12 | 1 | -3/+3 |
|\ \ | |/ |/| | README: fix typos | ||||
| * | README: fix typos | Changhoon Lee | 2016-05-12 | 1 | -3/+3 |
|/ | | | README: fix typos | ||||
* | Merge pull request #2551 from obscuren/abi-interface-slice-fix | Péter Szilágyi | 2016-05-12 | 3 | -31/+94 |
|\ | | | | | accounts/abi: fixed unpacking in to already sliced interfaces | ||||
| * | accounts/abi: fixed unpacking in to already slice interfaces | Jeffrey Wilcke | 2016-05-11 | 3 | -31/+94 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it was assumed that wheneven type `[]interface{}` was given that the interface was empty. The abigen rightfully assumed that interface slices which already have pre-allocated variable sets to be assigned. This PR fixes that by checking that the given `[]interface{}` is larger than zero and assigns each value using the generic `set` function (this function has also been moved to abi/reflect.go) and checks whether the assignment was possible. The generic assignment function `set` now also deals with pointers (useful for interface slice mentioned above) by dereferencing the pointer until it finds a setable type. | ||||
* | | Merge pull request #2549 from karalabe/geth-tester-text-templates | Péter Szilágyi | 2016-05-11 | 1 | -1/+1 |
|\ \ | | | | | | | cmd/geth: use text/templates in the tester, not html | ||||
| * | | cmd/geth: use text/templates in the tester, not html | Péter Szilágyi | 2016-05-11 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #2548 from karalabe/surface-rpc-endpoint | Péter Szilágyi | 2016-05-11 | 4 | -120/+136 |
|\ \ \ | |/ / |/| | | cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner | ||||
| * | | cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner | Péter Szilágyi | 2016-05-11 | 4 | -120/+136 |
|/ / | |||||
* | | Merge pull request #2515 from karalabe/multigo-travis | Jeffrey Wilcke | 2016-05-11 | 1 | -3/+5 |
|\ \ | | | | | | | travis: run CI builds against multiple Go versions | ||||
| * | | travis: run CI builds against multiple Go versions | Péter Szilágyi | 2016-05-05 | 1 | -3/+5 |
| | | | |||||
* | | | Merge pull request #2539 from bas-vk/origin-case | Jeffrey Wilcke | 2016-05-11 | 1 | -4/+4 |
|\ \ \ | | | | | | | | | rpc: HTTP origin case insensitive | ||||
| * | | | rpc: HTTP origin case insensitive | Bas van Kervel | 2016-05-11 | 1 | -4/+4 |
| | | | | |||||
* | | | | Merge pull request #2537 from obscuren/hotfix-pending-statu | Jeffrey Wilcke | 2016-05-10 | 1 | -4/+0 |
|\ \ \ \ | |_|_|/ |/| | | | miner: fixed pending state by not shutting down update loop | ||||
| * | | | miner: fixed pending state by not shutting down update loop | Jeffrey Wilcke | 2016-05-10 | 1 | -4/+0 |
|/ / / | |||||
* | | | Merge pull request #2529 from fjl/fdlimit-bsd | Péter Szilágyi | 2016-05-09 | 2 | -1/+55 |
|\ \ \ | | | | | | | | | cmd/utils: fix build on *BSD | ||||
| * | | | cmd/utils: fix build on *BSD | Felix Lange | 2016-05-09 | 2 | -1/+55 |
| | | | | |||||
* | | | | Merge pull request #2524 from fjl/windows-ci-scripts | Péter Szilágyi | 2016-05-09 | 2 | -0/+41 |
|\ \ \ \ | | | | | | | | | | | build: add CI scripts for windows | ||||
| * | | | | build: add CI scripts for windows | Felix Lange | 2016-05-08 | 2 | -0/+41 |
| |/ / / | |||||
* | | | | Merge pull request #2523 from fjl/shutdown | Péter Szilágyi | 2016-05-09 | 7 | -70/+101 |
|\ \ \ \ | | | | | | | | | | | core, eth, miner: improve shutdown synchronisation | ||||
| * | | | | core, eth, miner: improve shutdown synchronisation | Felix Lange | 2016-05-09 | 7 | -70/+101 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shutting down geth prints hundreds of annoying error messages in some cases. The errors appear because the Stop method of eth.ProtocolManager, miner.Miner and core.TxPool is asynchronous. Left over peer sessions generate events which are processed after Stop even though the database has already been closed. The fix is to make Stop synchronous using sync.WaitGroup. For eth.ProtocolManager, in order to make use of WaitGroup safe, we need a way to stop new peer sessions from being added while waiting on the WaitGroup. The eth protocol Run function now selects on a signaling channel and adds to the WaitGroup only if ProtocolManager is not shutting down. For miner.worker and core.TxPool the number of goroutines is static, WaitGroup can be used in the usual way without additional synchronisation. | ||||
* | | | | Merge pull request #2528 from karalabe/fix-web3-eth_syncing | Péter Szilágyi | 2016-05-09 | 1 | -1/+6 |
|\ \ \ \ | | | | | | | | | | | jsre: hotfix web3 for the console eth.syncing formatting | ||||
| * | | | | jsre: hotfix web3 for the console eth.syncing formatting | Péter Szilágyi | 2016-05-09 | 1 | -1/+6 |
|/ / / / | |||||
* | | | | Merge pull request #2527 from obscuren/trace-transaction-fix | Jeffrey Wilcke | 2016-05-09 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | eth: fixed tracing functions using the current header instead of parent | ||||
| * | | | | eth: fixed tracing functions using the current header instead of parent | Jeffrey Wilcke | 2016-05-09 | 1 | -2/+2 |
|/ / / / | | | | | | | | | | | | | Fixes #2525 | ||||
* | | | | Merge pull request #2520 from karalabe/makefile-cross-update | Péter Szilágyi | 2016-05-09 | 1 | -2/+4 |
|\ \ \ \ | |_|/ / |/| | | | Makefile: go build instead of install (solves cross compile issues) | ||||
| * | | | Makefile: go build instead of install (solves cross compile issues) | Péter Szilágyi | 2016-05-06 | 1 | -2/+4 |
| | | | | |||||
* | | | | Merge pull request #2514 from bas-vk/startRPC_WS | Péter Szilágyi | 2016-05-08 | 1 | -2/+10 |
|\ \ \ \ | |_|/ / |/| | | | node: start RPC/WS interface on localhost by default | ||||
| * | | | node: start RPC/WS interface on localhost by default | Bas van Kervel | 2016-05-06 | 1 | -2/+10 |
| | |/ | |/| | |||||
* | | | Merge pull request #2518 from fjl/debug-go-trace | Péter Szilágyi | 2016-05-06 | 6 | -18/+16 |
|\ \ \ | |_|/ |/| | | internal/debug: also rename debug_startTrace to debug_startGoTrace | ||||
| * | | cmd/utils: flush trace and CPU profile data when force-qutting | Felix Lange | 2016-05-06 | 1 | -4/+2 |
| | | | | | | | | | | | | Also reduce log messages a little bit. | ||||
| * | | internal/debug: also rename debug_startTrace to debug_startGoTrace | Felix Lange | 2016-05-06 | 5 | -14/+14 |
|/ / | | | | | | | This was missing from the previous change. | ||||
* | | Merge pull request #2517 from fjl/debug-go-trace | Jeffrey Wilcke | 2016-05-06 | 2 | -4/+4 |
|\ \ | |/ |/| | internal/debug: rename debug_trace to debug_goTrace | ||||
| * | internal/debug: rename debug_trace to debug_goTrace | Felix Lange | 2016-05-06 | 2 | -4/+4 |
|/ | | | | Reduces confusion with EVM execution tracing methods. | ||||
* | Merge pull request #2511 from obscuren/ver-fix | Jeffrey Wilcke | 2016-05-03 | 1 | -1/+1 |
|\ | | | | | cmd/geth: fixed to use proper version string for output | ||||
| * | cmd/geth: fixed to use proper version string for output | Jeffrey Wilcke | 2016-05-03 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2510 from fjl/p2p-fixups | Jeffrey Wilcke | 2016-05-03 | 3 | -29/+82 |
|\ | | | | | p2p/discover: prevent bonding self | ||||
| * | p2p/discover: prevent bonding self | Felix Lange | 2016-05-03 | 1 | -0/+4 |
| | | |||||
| * | p2p: improve readability of dial task scheduling code | Felix Lange | 2016-05-03 | 2 | -29/+78 |
| | | |||||
* | | Merge pull request #2505 from karalabe/make-readme-suck-less | Jeffrey Wilcke | 2016-05-03 | 1 | -25/+36 |
|\ \ | | | | | | | Make the README suck less :P | ||||
| * | | README: Polish up exec section, rewrite contrib and add license. | Péter Szilágyi | 2016-05-03 | 1 | -25/+36 |
|/ / | |||||
* | | Merge pull request #2497 from karalabe/version-contract-3 | Jeffrey Wilcke | 2016-05-03 | 13 | -53/+1407 |
|\ \ | |/ |/| | Geth release oracle | ||||
| * | cmd/geth, release: polish and deploy live release contract | Péter Szilágyi | 2016-05-02 | 2 | -2/+2 |
| | |