Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd, common, node, rpc: move IPC into the node itself | Péter Szilágyi | 2016-02-04 | 14 | -156/+292 |
| | |||||
* | Merge pull request #2169 from karalabe/fix-http-rpc-method | Jeffrey Wilcke | 2016-02-04 | 1 | -23/+17 |
|\ | | | | | rpc: allow RPC requests on GET too | ||||
| * | rpc: allow RPC requests on GET too | Péter Szilágyi | 2016-02-03 | 1 | -23/+17 |
| | | |||||
* | | Merge pull request #2134 from karalabe/save-state-writes | Péter Szilágyi | 2016-02-03 | 4 | -10/+175 |
|\ \ | | | | | | | core/state, trie: don't leak database writes before commit | ||||
| * | | core/state, ethdb, trie: test intermediate secure key leak, fix memdb bug | Péter Szilágyi | 2016-01-20 | 3 | -3/+73 |
| | | | |||||
| * | | core/state, trie: don't leak database writes before commit | Péter Szilágyi | 2016-01-20 | 3 | -8/+103 |
| | | | |||||
* | | | Merge pull request #2154 from karalabe/rpc-fixes | Péter Szilágyi | 2016-02-03 | 5 | -114/+107 |
|\ \ \ | | | | | | | | | cmd, eth, rpc: fix some RPC issues with pending blocks | ||||
| * | | | cmd, eth, rpc: fix some RPC issues with pending blocks | Péter Szilágyi | 2016-02-03 | 5 | -114/+107 |
|/ / / | |||||
* | | | Merge pull request #2156 from ppratscher/add_replay_tx | Péter Szilágyi | 2016-02-03 | 4 | -1/+147 |
|\ \ \ | | | | | | | | | core/vm, rpc/api: added debug_replayTransaction RPC call | ||||
| * | | | core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, ↵ | Peter Pratscher | 2016-02-02 | 4 | -1/+147 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integrated feedback Integrated code review suggestions Integrated last review comments | ||||
* | | | | Merge pull request #2167 from obscuren/abi-event-fixes | Péter Szilágyi | 2016-02-03 | 6 | -31/+174 |
|\ \ \ \ | | | | | | | | | | | account/abi: implements event parsing | ||||
| * | | | | account/abi: implements event parsing | Jeffrey Wilcke | 2016-02-02 | 6 | -31/+174 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation of basic event parsing and its input types. This separates methods and events and fixes an issue with go type parsing and validation. | ||||
* | | | | | Merge pull request #2166 from obscuren/contrib | Péter Szilágyi | 2016-02-03 | 1 | -0/+9 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | CONTRIBUTING: Added a feature section | ||||
| * | | | | CONTRIBUTING: Added a feature section | Jeffrey Wilcke | 2016-02-02 | 1 | -0/+9 |
| |/ / / | |||||
* | | | | Merge pull request #2170 from karalabe/fix-miner-registration | Péter Szilágyi | 2016-02-03 | 1 | -1/+4 |
|\ \ \ \ | | | | | | | | | | | miner: register newly created remote agent in the API | ||||
| * | | | | miner: register newly created remote agent in the API | Péter Szilágyi | 2016-02-03 | 1 | -1/+4 |
|/ / / / | |||||
* | | | | Merge pull request #2098 from karalabe/rpc-txpool-queue-inspection | Jeffrey Wilcke | 2016-02-02 | 3 | -1/+113 |
|\ \ \ \ | | | | | | | | | | | core, eth, rpc/api: rpc method to inspect the txpool queue | ||||
| * | | | | core, eth, rpc/api: rpc method to inspect the txpool queue | Péter Szilágyi | 2016-02-01 | 3 | -1/+113 |
|/ / / / | |||||
* | | | | Merge pull request #2146 from fjl/discover-win32-large-packets | Jeffrey Wilcke | 2016-02-01 | 4 | -7/+124 |
|\ \ \ \ | |/ / / |/| | | | p2p/discover: fix Windows-specific issue for larger-than-buffer packets | ||||
| * | | | p2p/discover: fix Windows-specific issue for larger-than-buffer packets | Felix Lange | 2016-01-23 | 4 | -7/+124 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, UDPConn.ReadFrom returns an error for packets larger than the receive buffer. The error is not marked temporary, causing our loop to exit when the first oversized packet arrived. The fix is to treat this particular error as temporary. Fixes: #1579, #2087 Updates: #2082 | ||||
* | | | | Merge pull request #2165 from karalabe/gmp-dep-master-alpine | Péter Szilágyi | 2016-01-31 | 1 | -5/+5 |
|\ \ \ \ | | | | | | | | | | | containers/docker/master-alpine: add the legacy gmp lib back for now | ||||
| * | | | | containers/docker/master-alpine: add the legacy gmp lib back for now | Péter Szilágyi | 2016-01-31 | 1 | -5/+5 |
|/ / / / | |||||
* | | | | Merge pull request #2164 from karalabe/add-alpine-images | Péter Szilágyi | 2016-01-31 | 4 | -0/+29 |
|\ \ \ \ | |_|/ / |/| | | | containers: regroup and add Alpine images (31 MB) | ||||
| * | | | containers: regroup and add Alpine images (31 MB) | Péter Szilágyi | 2016-01-31 | 4 | -0/+29 |
|/ / / | |||||
* | | | Merge pull request #2151 from fjl/debug-api | Jeffrey Wilcke | 2016-01-28 | 12 | -116/+517 |
|\ \ \ | | | | | | | | | internal/debug: APIs for profiling and tracing | ||||
| * | | | internal/debug: APIs for profiling and tracing | Felix Lange | 2016-01-28 | 10 | -107/+502 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | logger/glog: clean up flag getters | Felix Lange | 2016-01-27 | 1 | -8/+10 |
| | | | | |||||
| * | | | logger/glog: fix TraceLocation.Set("") | Felix Lange | 2016-01-27 | 1 | -0/+4 |
| | | | | |||||
| * | | | rpc: fix success response encoding for null return value | Felix Lange | 2016-01-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | The "result" field of JSON-RPC 2.0 responses was omitted if the result was nil, causing exceptions in web3.js. | ||||
* | | | | Merge pull request #2143 from karalabe/fix-transaction-sort-2 | Jeffrey Wilcke | 2016-01-28 | 4 | -22/+131 |
|\ \ \ \ | |/ / / |/| | | | core, core/types, miner: fix transaction nonce-price combo sort | ||||
| * | | | core, core/types, miner: fix transaction nonce-price combo sort | Péter Szilágyi | 2016-01-22 | 4 | -22/+131 |
| |/ / | |||||
* | | | Merge pull request #2140 from obscuren/rpc2-console | Jeffrey Wilcke | 2016-01-26 | 132 | -14318/+4709 |
|\ \ \ | | | | | | | | | Rpc2 console | ||||
| * | | | rpc: migrated the RPC insterface to a new reflection based RPC layer | Bas van Kervel | 2016-01-26 | 132 | -14318/+4709 |
|/ / / | |||||
* | | | Merge pull request #2136 from fjl/glog-prefix | Felix Lange | 2016-01-26 | 7 | -92/+112 |
|\ \ \ | | | | | | | | | logger/glog: improve vmodule | ||||
| * | | | node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity | Felix Lange | 2016-01-21 | 5 | -41/+18 |
| | | | | |||||
| * | | | logger/glog: add SetVmodule | Felix Lange | 2016-01-21 | 1 | -0/+5 |
| | | | | |||||
| * | | | logger/glog: add directory context to output and vmodule matching | Felix Lange | 2016-01-21 | 2 | -51/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows setting the verbosity for directory prefixes using the syntax: --vmodule=eth/=6 | ||||
* | | | | Merge pull request #2145 from caktux/develop | Felix Lange | 2016-01-23 | 3 | -21/+34 |
|\ \ \ \ | |_|/ / |/| | | | separate and optimize Dockerfile for master and develop | ||||
| * | | | separate and optimize Dockerfile for master and develop | caktux | 2016-01-22 | 3 | -21/+34 |
|/ / / | |||||
* | | | Merge pull request #2115 from karalabe/vm-debug-storage | Jeffrey Wilcke | 2016-01-21 | 4 | -14/+20 |
|\ \ \ | | | | | | | | | core/vm: resolve circular dependency to debug vm storage | ||||
| * | | | core/vm: resolve circular dependency to debug vm storage | Péter Szilágyi | 2016-01-12 | 4 | -14/+20 |
| | | | | |||||
* | | | | Merge pull request #2132 from bas-vk/console-sleep | Jeffrey Wilcke | 2016-01-21 | 2 | -0/+84 |
|\ \ \ \ | | | | | | | | | | | console: add admin.sleep and admin.sleepBlocks | ||||
| * | | | | console: add admin.sleep and admin.sleepBlocks | Bas van Kervel | 2016-01-19 | 2 | -0/+84 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2130 from bas-vk/nodeinfo-format | Felix Lange | 2016-01-19 | 1 | -6/+6 |
|\ \ \ \ | |/ / / |/| | | | Nodeinfo format Genesis and Header | ||||
| * | | | eth: changed NodeInfo Genesis and Head types | Bas van Kervel | 2016-01-18 | 1 | -6/+6 |
|/ / / | |||||
* | | | Merge pull request #2119 from karalabe/statedb-batch-commit | Jeffrey Wilcke | 2016-01-14 | 1 | -1/+2 |
|\ \ \ | |/ / |/| | | core/state: always commit in batches, just finish if not needed later | ||||
| * | | core/state: always commit in batches, just finish if not needed later | Péter Szilágyi | 2016-01-13 | 1 | -1/+2 |
|/ / | |||||
* | | Merge pull request #2114 from karalabe/chain-maker-state-remake | Felix Lange | 2016-01-11 | 1 | -12/+7 |
|\ \ | |/ |/| | core: fix invalid state reuse in chain maker based tests | ||||
| * | core: fix invalid state reuse in chain maker based tests | Péter Szilágyi | 2016-01-11 | 1 | -12/+7 |
|/ | |||||
* | Merge pull request #2110 from LefterisJP/determining_home_for_ubuntu_core | Felix Lange | 2016-01-08 | 1 | -5/+6 |
|\ | | | | | common: Fix HomeDir detection | ||||
| * | common: Fix HomeDir detection | Lefteris Karapetsas | 2016-01-08 | 1 | -5/+6 |
|/ | | | | | | | | | | | | | | | | | | | I am working on porting geth to [Ubuntu Core](https://developer.ubuntu.com/en/snappy/https://developer.ubuntu.com/en/snappy/). I am testing geth on a Raspberry PI and for Ubuntu Core the $HOME directory is unique for each application. See [here](https://developer.ubuntu.com/en/snappy/guides/filesystem-layout) for more information of their filesystem layout. For some reason in Go `usr.HomeDir` returns a different value than `$HOME` in Ubuntu Core. Adding this at the end of `HomeDir()` ```go fmt.Printf("at HomeDir, user.HomeDir = %s and $HOME is %s\n", usr.HomeDir, os.Getenv("HOME")) ``` gives the following output ``` at HomeDir, user.HomeDir = /home/ubuntu and $HOME is /home/ubuntu/apps/geth.sideload/IJcODREBYbHO ``` With this commit, I propose giving precedence to the `$HOME` environment variable as is also suggested by the [homedir](https://github.com/mitchellh/go-homedir/blob/master/homedir.go) project. | ||||
* | Merge pull request #2097 from karalabe/block-state-checks | Jeffrey Wilcke | 2016-01-05 | 6 | -61/+85 |
|\ | | | | | core, eth/downloader: ensure state presence in ancestor lookup | ||||
| * | core, eth/downloader: ensure state presence in ancestor lookup | Péter Szilágyi | 2016-01-04 | 6 | -61/+85 |
| | | |||||
* | | Merge pull request #2101 from karalabe/delete-outoffund-transactions | Jeffrey Wilcke | 2016-01-05 | 2 | -44/+344 |
|\ \ | |/ |/| | core: transaction invalidation and reorganization fixes | ||||
| * | core: fix transaction reorg issues within the tx pool | Péter Szilágyi | 2016-01-05 | 2 | -44/+344 |
|/ | |||||
* | Merge pull request #2099 from karalabe/fix-throttling-test | Felix Lange | 2015-12-30 | 1 | -3/+1 |
|\ | | | | | eth/downloader: throttling tests are time-sensitive, don't run parallel | ||||
| * | eth/downloader: throttling tests are time-sensitive, don't run parallel | Péter Szilágyi | 2015-12-30 | 1 | -3/+1 |
|/ | |||||
* | Merge pull request #2064 from fjl/remove-common-rlp | Jeffrey Wilcke | 2015-12-19 | 17 | -1235/+96 |
|\ | | | | | common: remove old RLP implementation, Value and ExtPackage | ||||
| * | common: remove old RLP implementation, Value and ExtPackage | Felix Lange | 2015-12-18 | 10 | -1162/+19 |
| | | | | | | | | | | In order to make this happen, kill all remaining trivial uses of common/{rlp,value}.go. The non-trivial ones have been updated earlier. | ||||
| * | core/state, core/types use package rlp for state, receipt serialisation | Felix Lange | 2015-12-18 | 5 | -71/+67 |
| | | |||||
| * | eth/downloader: fix negative balance issue in tests | Felix Lange | 2015-12-18 | 2 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | The test chain generated by makeChainFork included invalid uncle headers, crashing the generator during the state commit. The headers were invalid because they used the iteration counter as the block number, even though makeChainFork uses a block with number > 0 as the parent. Fix this by introducing BlockGen.Number, which allows accessing the actual number of the block being generated. | ||||
* | | Merge pull request #2084 from bas-vk/rpcnilptr | Jeffrey Wilcke | 2015-12-19 | 1 | -5/+6 |
|\ \ | | | | | | | console crash on nil ptr | ||||
| * | | console: bugfix that causes the console to crash when connection to an ↵ | Bas van Kervel | 2015-12-18 | 1 | -5/+6 |
|/ / | | | | | | | endpoint without the personal api enabled | ||||
* | | Merge pull request #2019 from zsfelfoldi/light-state | Jeffrey Wilcke | 2015-12-18 | 10 | -15/+1091 |
|\ \ | |/ |/| | Light state | ||||
| * | light: implemented odr-capable trie and state structures | zsfelfoldi | 2015-12-17 | 10 | -15/+1091 |
| | | |||||
* | | Merge pull request #1925 from fjl/p2p-dial-resolve | Jeffrey Wilcke | 2015-12-18 | 10 | -208/+444 |
|\ \ | | | | | | | p2p: resolve incomplete dial targets | ||||
| * | | p2p/discover: attempt to deflake TestUDP_responseTimeouts | Felix Lange | 2015-12-18 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | The test expected the timeout to fire after a matcher for the response was added, but the timeout is random and fired sooner sometimes. | ||||
| * | | p2p: resolve incomplete dial targets | Felix Lange | 2015-12-18 | 2 | -63/+175 |
| | | | | | | | | | | | | | | | | | | This change makes it possible to add peers without providing their IP address. The endpoint of the target node is resolved using the discovery protocol. | ||||
| * | | p2p, p2p/discover: track bootstrap state in p2p/discover | Felix Lange | 2015-12-18 | 6 | -91/+110 |
| | | | | | | | | | | | | | | | | | | This change simplifies the dial scheduling logic because it no longer needs to track whether the discovery table has been bootstrapped. | ||||
| * | | p2p/discover: support incomplete node URLs, add Resolve | Felix Lange | 2015-12-18 | 7 | -54/+158 |
|/ / | |||||
* | | Merge pull request #1997 from zsfelfoldi/gasprice2 | Jeffrey Wilcke | 2015-12-17 | 4 | -5/+76 |
|\ \ | | | | | | | core: tx pool skip price validation for "owned" transactions | ||||
| * | | core: tx pool skip price validation for "owned" transactions | zsfelfoldi | 2015-12-16 | 4 | -5/+76 |
| | | | |||||
* | | | Merge pull request #2077 from karalabe/fix-header-query-duplication | Jeffrey Wilcke | 2015-12-17 | 2 | -1/+23 |
|\ \ \ | |_|/ |/| | | eth: fix #2076, where end of hash query was interpreted number query | ||||
| * | | eth: fix #2076, where end of hash query was interpreted number query | Péter Szilágyi | 2015-12-16 | 2 | -1/+23 |
| |/ | |||||
* | | Merge pull request #2061 from zsfelfoldi/rpc-context | Felix Lange | 2015-12-16 | 8 | -18/+1122 |
|\ \ | |/ |/| | rpc: optionally passing context argument to rpc v2 api methods | ||||
| * | rpc/v2: optionally passing context argument to rpc v2 api methods | zsfelfoldi | 2015-12-16 | 8 | -18/+1122 |
| | | |||||
* | | Merge pull request #2072 from karalabe/admin-debug-apis | Felix Lange | 2015-12-15 | 7 | -26/+494 |
|\ \ | | | | | | | core, eth, node, rpc: port the admin and debug API | ||||
| * | | core, eth, node, rpc: port the admin and debug API | Péter Szilágyi | 2015-12-15 | 7 | -26/+494 |
| |/ | |||||
* | | Merge pull request #2070 from karalabe/android-archives | Felix Lange | 2015-12-15 | 2 | -25/+76 |
|\ \ | |/ |/| | Makefile, cmd/geth: support building Android archives | ||||
| * | Makefile, cmd/geth: support building Android archives | Péter Szilágyi | 2015-12-14 | 2 | -25/+76 |
| | | |||||
* | | Merge pull request #2035 from bas-vk/rcp-v2-rebase | Felix Lange | 2015-12-15 | 38 | -14/+4651 |
|\ \ | | | | | | | rpc: new RPC implementation with pub/sub support | ||||
| * | | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 38 | -14/+4651 |
| | | | |||||
* | | | Merge pull request #2056 from fjl/fix-account-format | Jeffrey Wilcke | 2015-12-10 | 1 | -8/+8 |
|\ \ \ | |_|/ |/| | | crypto: "Crypto" -> "crypto" in web3 key format | ||||
| * | | crypto: "Crypto" -> "crypto" in web3 key format | Felix Lange | 2015-12-08 | 1 | -8/+8 |
| | | | |||||
* | | | Merge pull request #2058 from karalabe/geth-framework | Felix Lange | 2015-12-10 | 4 | -27/+91 |
|\ \ \ | | | | | | | | | Makefile, cmd/geth: assemble ios xcode frameworks | ||||
| * | | | Makefile, cmd/geth: assemble ios xcode frameworks | Péter Szilágyi | 2015-12-09 | 4 | -27/+91 |
| | | | | |||||
* | | | | Merge pull request #2003 from obscuren/abi-calling | Felix Lange | 2015-12-08 | 6 | -88/+243 |
|\ \ \ \ | | | | | | | | | | | accounts/abi: added output parsing & added call mechanism | ||||
| * | | | | accounts/abi: added output parsing & added call mechanism | Jeffrey Wilcke | 2015-11-25 | 6 | -88/+243 |
| | | | | | | | | | | | | | | | | | | | | Added calling mechanism and return value parsing | ||||
* | | | | | Merge pull request #2051 from karalabe/store-transaction-fastsync | Felix Lange | 2015-12-08 | 1 | -0/+12 |
|\ \ \ \ \ | |_|/ / / |/| | | | | core: write individual transactions and receipts too on fast sync | ||||
| * | | | | core: write individual transactions and receipts too on fast sync | Péter Szilágyi | 2015-12-04 | 1 | -0/+12 |
| | | | | | |||||
* | | | | | Merge pull request #2034 from karalabe/always-allow-dyndials | Jeffrey Wilcke | 2015-12-07 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | p2p: always allow dynamic dials if network not disabled | ||||
| * | | | | | p2p: always allow dynamic dials if network not disabled | Péter Szilágyi | 2015-12-03 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #2037 from fjl/no-libgmp | Péter Szilágyi | 2015-12-04 | 5 | -52/+15 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | crypto/secp256k1: remove dependency on libgmp | ||||
| * | | | | | crypto/secp256k1: remove dependency on libgmp | Felix Lange | 2015-12-04 | 5 | -52/+15 |
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | Turns out we actually don't need it, USE_NUM_NONE works because we also set USE_FIELD_INV_BUILTIN. | ||||
* | | | | | Merge pull request #2024 from obscuren/exp-logs | Jeffrey Wilcke | 2015-12-04 | 4 | -4/+68 |
|\ \ \ \ \ | |/ / / / |/| | | | | core: added a new RemovedLogEvent | ||||
| * | | | | core: added a new RemovedLogEvent | Jeffrey Wilcke | 2015-12-01 | 4 | -4/+68 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a chain reorganisation occurs we collect the logs that were deleted during the chain reorganisation. The removed logs are posted to the event mux indicating that those were deleted during the reorg. | ||||
* | | | | | Merge pull request #2036 from karalabe/ios-arm64-cross | Felix Lange | 2015-12-04 | 1 | -3/+13 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Makefile: support 64bit ARM iOS cross builds | ||||
| * | | | | Makefile: support 64bit ARM iOS cross builds | Péter Szilágyi | 2015-12-04 | 1 | -3/+13 |
|/ / / / | |||||
* | | | | Merge pull request #2032 from karalabe/linux-arm64-cross | Jeffrey Wilcke | 2015-12-03 | 1 | -2/+8 |
|\ \ \ \ | | | | | | | | | | | Makefile: enable 64-bit ARM builds on Linux | ||||
| * | | | | Makefile: enable 64-bit ARM builds on Linux | Péter Szilágyi | 2015-12-02 | 1 | -2/+8 |
|/ / / / | |||||
* | | | | Merge pull request #1862 from Gustav-Simonsson/libsecp256k1_ecdh | Jeffrey Wilcke | 2015-12-02 | 16 | -185/+334 |
|\ \ \ \ | |_|_|/ |/| | | | crypto, crypto/secp256k1: use libsecp256k1 for scalar multiplication | ||||
| * | | | crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar mult | Gustav Simonsson | 2015-11-30 | 16 | -171/+321 |
| | | | | | | | | | | | | | | | | thanks to Felix Lange (fjl) for help with design & impl | ||||
| * | | | core/secp256k1: update libsecp256k1 Go wrapper and tests | Gustav Simonsson | 2015-11-30 | 2 | -18/+17 |
| | | | | |||||
* | | | | Merge pull request #2025 from karalabe/windows-account-unlock-testfix | Felix Lange | 2015-12-01 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | accounts: increase re-lock timeout to account for slow CI servers | ||||
| * | | | | accounts: increase re-lock timeout to account for slow CI servers | Péter Szilágyi | 2015-12-01 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #2022 from karalabe/multiversion-arm-builds | Péter Szilágyi | 2015-12-01 | 1 | -33/+28 |
|\ \ \ \ \ | | | | | | | | | | | | | Makefile: build ARM v5/v6/v7, drop high API mobile clients | ||||
| * | | | | | Makefile: build ARM v5/v6/v7, drop high API mobile clients | Péter Szilágyi | 2015-12-01 | 1 | -33/+28 |
| |/ / / / | |||||
* | | | | | Merge pull request #2005 from zsfelfoldi/light-trie | Jeffrey Wilcke | 2015-12-01 | 7 | -68/+343 |
|\ \ \ \ \ | | | | | | | | | | | | | Trie error handling | ||||
| * | | | | | trie: added error handling | zsfelfoldi | 2015-12-01 | 7 | -68/+343 |
| | |/ / / | |/| | | | | | | | | | | | | | Created alternate versions of Trie and SecureTrie functions that can return a MissingNodeError (used by ODR services) | ||||
* | | | | | Merge pull request #2021 from fjl/fix-etherbase-no-accounts | Jeffrey Wilcke | 2015-12-01 | 2 | -21/+18 |
|\ \ \ \ \ | |_|/ / / |/| | | | | cmd/utils: restore starting geth without any accounts and etherbase | ||||
| * | | | | cmd/utils: restore starting geth without any accounts and etherbase | Felix Lange | 2015-12-01 | 2 | -21/+18 |
| | | | | | | | | | | | | | | | | | | | | Also remove some duplication around address/index parsing. | ||||
* | | | | | Merge pull request #2020 from bas-vk/issue2016 | Jeffrey Wilcke | 2015-12-01 | 1 | -1/+1 |
|\ \ \ \ \ | |/ / / / |/| | | | | eth package creates new event mux | ||||
| * | | | | eth: use global event mux instead | Bas van Kervel | 2015-12-01 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request #2015 from bas-vk/console-instance-name | Jeffrey Wilcke | 2015-11-30 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | console: fix instance name printed incorrect on start | ||||
| * | | | console: fix instance name printed incorrect on start | Bas van Kervel | 2015-11-30 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2014 from karalabe/enable-ios-builds | Felix Lange | 2015-11-30 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Makefile: enable iOS experimental builds (fix prev omission) | ||||
| * | | | Makefile: enable iOS experimental builds (fix prev omission) | Péter Szilágyi | 2015-11-29 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2011 from karalabe/fix-hex-address | Jeffrey Wilcke | 2015-11-28 | 1 | -2/+2 |
|\ \ \ | |/ / |/| | | common: fix #2008, wrong hex prefix check | ||||
| * | | common: fix #2008, wrong hex prefix check | Péter Szilágyi | 2015-11-28 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #1970 from karalabe/customizable-protocol-stacks | Jeffrey Wilcke | 2015-11-27 | 39 | -1023/+2494 |
|\ \ | | | | | | | Customizable protocol stacks | ||||
| * | | cmd, eth, node, rpc, xeth: use single-instance services | Péter Szilágyi | 2015-11-27 | 17 | -294/+329 |
| | | | |||||
| * | | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 30 | -939/+1041 |
| | | | |||||
| * | | cmd: drop blocktest command, create gethrpctest program | Péter Szilágyi | 2015-11-27 | 3 | -168/+182 |
| | | | |||||
| * | | node: customizable protocol and service stacks | Péter Szilágyi | 2015-11-27 | 13 | -13/+1333 |
| | | | |||||
* | | | Merge pull request #2002 from karalabe/ios-cross-builds | Jeffrey Wilcke | 2015-11-27 | 8 | -25/+63 |
|\ \ \ | | | | | | | | | Makefile: add support for iOS cross compilation | ||||
| * | | | Makefile: support library build modes | Péter Szilágyi | 2015-11-25 | 3 | -12/+15 |
| | | | | |||||
| * | | | Makefile: add support for iOS cross compilation | Péter Szilágyi | 2015-11-24 | 8 | -16/+51 |
| | |/ | |/| | |||||
* | | | Merge pull request #1999 from karalabe/javascript-timer-argcheck | Jeffrey Wilcke | 2015-11-27 | 1 | -5/+15 |
|\ \ \ | | | | | | | | | jrse: fix #1082, fail if setTimeout/setInterval lack callback | ||||
| * | | | jrse: fix #1082, fail if setTimeout/setInterval lack callback | Péter Szilágyi | 2015-11-23 | 1 | -5/+15 |
| | | | | |||||
* | | | | Merge pull request #2001 from obscuren/fixes | Jeffrey Wilcke | 2015-11-27 | 3 | -947/+6229 |
|\ \ \ \ | |_|_|/ |/| | | | cmd, crypto: updated web3 | ||||
| * | | | cmd, crypto: fixed nil public keys and updated web3 | Jeffrey Wilcke | 2015-11-26 | 3 | -947/+6229 |
| | | | | |||||
* | | | | Merge pull request #1996 from obscuren/whisper-spam-fix | Jeffrey Wilcke | 2015-11-25 | 3 | -2/+19 |
|\ \ \ \ | |_|_|/ |/| | | | whisper: fixed broadcast race | ||||
| * | | | whisper: fixed broadcast race | Jeffrey Wilcke | 2015-11-25 | 3 | -2/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whisper's expire and broadcast loops happen in two separate go routines. Whenever an envelope is being expired it's removed from the set of envelopes and it looses all information about the envelope, including the "known hash". After the envelope has been removed it can be re-accepted by a broadcasting peer putting back the envelope in the set of envelopes. Since the envelope broadcast loop is separate of the expire loop expired messages may be broadcast to other peer, resulting in messages **never** being dropped. This PR includes an expire check before adding new messages to the set of envelopes. | ||||
* | | | | Merge pull request #1988 from bas-vk/issue1971 | Jeffrey Wilcke | 2015-11-24 | 1 | -0/+11 |
|\ \ \ \ | |_|_|/ |/| | | | miner: bugfix where blockhash in receipts and logs is left empty | ||||
| * | | | miner: bugfix were blockhash in receipts and logs is left empty | Bas van Kervel | 2015-11-19 | 1 | -0/+11 |
| |/ / | |||||
* | | | Merge pull request #1991 from Gustav-Simonsson/common_tests | Gustav-Simonsson | 2015-11-23 | 3 | -39/+865 |
|\ \ \ | |_|/ |/| | | Update common test files | ||||
| * | | Update common test files | Gustav Simonsson | 2015-11-20 | 3 | -39/+865 |
| | | | |||||
* | | | Merge pull request #1666 from obscuren/create-transaction | Jeffrey Wilcke | 2015-11-21 | 3 | -7/+115 |
|\ \ \ | | | | | | | | | rpc/api, xeth: added signTransaction method | ||||
| * | | | rpc/api, xeth: added signTransaction method | Jeffrey Wilcke | 2015-11-18 | 3 | -7/+115 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SignTransaction creates a transaction but does submit it to the network. SignTransaction returns a structure which includes the transaction object details as well as the RLP encoded transaction that could possibly be submitted by the SendRawTransaction method. | ||||
* | | | | Merge pull request #1995 from karalabe/parametrize-crosscompile-go | Jeffrey Wilcke | 2015-11-21 | 1 | -9/+58 |
|\ \ \ \ | |_|/ / |/| | | | Makefile: individual platforms, configurable Go runtime | ||||
| * | | | Makefile: individual platforms, configurable Go runtime | Péter Szilágyi | 2015-11-20 | 1 | -9/+58 |
|/ / / | |||||
* | | | Merge pull request #1953 from karalabe/switch-to-fast-peers | Jeffrey Wilcke | 2015-11-20 | 3 | -246/+258 |
|\ \ \ | |_|/ |/| | | eth/downloader: fetch data proportionally to peer capacity | ||||
| * | | eth/downloader: fetch data proportionally to peer capacity | Péter Szilágyi | 2015-11-19 | 3 | -246/+258 |
|/ / | |||||
* | | Merge pull request #1993 from obscuren/remove-legalese | Jeffrey Wilcke | 2015-11-19 | 3 | -77/+0 |
|\ \ | | | | | | | cmd/geth, cmd/utils: removed legalese | ||||
| * | | cmd/geth, cmd/utils: removed legalese | Jeffrey Wilcke | 2015-11-19 | 3 | -77/+0 |
| | | | | | | | | | | | | Removed the legalese confirmation dialog. This closes #1992 | ||||
* | | | Merge pull request #1923 from karalabe/cleanup-receipt-data-access | Jeffrey Wilcke | 2015-11-19 | 11 | -235/+359 |
|\ \ \ | | | | | | | | | core, eth, miner, xeth: clean up tx/receipt db accessors | ||||
| * | | | core, eth, miner, xeth: clean up tx/receipt db accessors | Péter Szilágyi | 2015-11-19 | 11 | -235/+359 |
| |/ / | |||||
* | | | Merge pull request #1980 from fjl/downloader-deliver-hang | Jeffrey Wilcke | 2015-11-19 | 4 | -311/+336 |
|\ \ \ | |/ / |/| | | eth/downloader: don't hang for spurious deliveries | ||||
| * | | eth/downloader: run tests in parallel | Felix Lange | 2015-11-19 | 1 | -0/+29 |
| | | | |||||
| * | | eth/downloader: also drain stateCh, receiptCh in eth/61 mode | Felix Lange | 2015-11-19 | 1 | -71/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | State and receipt deliveries from a previous eth/62+ sync can hang if the downloader has moved on to syncing with eth/61. Fix this by also draining the eth/63 channels while waiting for eth/61 data. A nicer solution would be to take care of the channels in a central place, but that would involve a major rewrite. | ||||
| * | | eth: remove workaround for asynchronous processing in the downloader | Felix Lange | 2015-11-19 | 1 | -4/+0 |
| | | | |||||
| * | | eth/downloader: don't hang for spurious deliveries | Felix Lange | 2015-11-19 | 3 | -236/+230 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unexpected deliveries could block indefinitely if they arrived at the right time. The fix is to ensure that the cancellation channel is always closed when the sync ends, unblocking any deliveries. Also remove the atomic check for whether a sync is currently running because it doesn't help and can be misleading. Cancelling always seems to break the tests though. The downloader spawned d.process whenever new data arrived, making it somewhat hard to track when block processing was actually done. Fix this by running d.process in a dedicated goroutine that is tied to the lifecycle of the sync. d.process gets notified of new work by the queue instead of being invoked all the time. This removes a ton of weird workaround code, including a hairy use of atomic CAS. | ||||
* | | Merge pull request #1917 from obscuren/validator-interface | Jeffrey Wilcke | 2015-11-19 | 19 | -642/+701 |
|\ \ | | | | | | | core, eth, rpc: split out block validator and state processor | ||||
| * | | core, eth, rpc: split out block validator and state processor | Jeffrey Wilcke | 2015-11-18 | 19 | -642/+701 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1). | ||||
* | | Merge pull request #1964 from obscuren/evm-runtime | Jeffrey Wilcke | 2015-11-19 | 5 | -0/+399 |
|\ \ | | | | | | | core/vm/runtime: added simple execution runtime | ||||
| * | | core/vm/runtime: added simple execution runtime | Jeffrey Wilcke | 2015-11-18 | 5 | -0/+399 |
| |/ | | | | | | | | | | | The runtime environment can be used for simple basic execution of contract code without the requirement of setting up a full stack and operates fully in memory. | ||||
* | | Merge pull request #1990 from karalabe/fix-whisper-autocomplete | Felix Lange | 2015-11-18 | 1 | -1/+1 |
|\ \ | | | | | | | rpc/api: fix #1986, newIdentity autocomplete | ||||
| * | | rpc/api: fix #1986, newIdentity autocomplete | Péter Szilágyi | 2015-11-18 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1984 from fjl/secp256k1-recover-id-verify | Jeffrey Wilcke | 2015-11-18 | 3 | -81/+89 |
|\ \ | |/ |/| | crypto/secp256k1: verify recovery ID before calling libsecp256k1 | ||||
| * | crypto/secp256k1: drop pkgsrc paths from CFLAGS | Felix Lange | 2015-11-17 | 1 | -2/+2 |
| | | | | | | | | | | | | They cause compiler warnings for people who don't have these directories. People with pkgsrc can add the directory through CGO_CFLAGS instead. | ||||
| * | crypto/secp256k1: raise internal errors as recoverable Go panic | Felix Lange | 2015-11-17 | 2 | -0/+39 |
| | | |||||
| * | crypto/secp256k1: verify recovery ID before calling libsecp256k1 | Felix Lange | 2015-11-17 | 2 | -79/+48 |
|/ | | | | | | | | The C library treats the recovery ID as trusted input and crashes the process for invalid values, so it needs to be verified before calling into C. This will inhibit the crash in #1983. Also remove VerifySignature because we don't use it. | ||||
* | Merge pull request #1976 from karalabe/enable-light-kdf | Jeffrey Wilcke | 2015-11-11 | 3 | -2/+4 |
|\ | | | | | cmd/geth, cmd/utils: surface the light KDF flag to the CLI | ||||
| * | cmd/geth, cmd/utils: surface the light KDF flag to the CLI | Péter Szilágyi | 2015-11-10 | 3 | -2/+4 |
|/ | |||||
* | Merge pull request #1974 from karalabe/fix-rpc-regression | Jeffrey Wilcke | 2015-11-06 | 2 | -7/+4 |
|\ | | | | | rpc/api: fix #1972 api regression (nil eth panic) in attach | ||||
| * | rpc/api: fix #1972 api regression (nil eth panic) in attach | Péter Szilágyi | 2015-11-06 | 2 | -7/+4 |
|/ | |||||
* | Merge pull request #1967 from karalabe/fix-filter-test-datarace | Jeffrey Wilcke | 2015-11-06 | 1 | -12/+17 |
|\ | | | | | event/filter: fix data race in the test | ||||
| * | event/filter: fix data race in the test | Péter Szilágyi | 2015-11-05 | 1 | -12/+17 |
| | | |||||
* | | Merge pull request #1963 from karalabe/fix-database-regression | Jeffrey Wilcke | 2015-11-06 | 1 | -18/+3 |
|\ \ | | | | | | | eth: fix error casting regression during database open | ||||
| * | | eth: fix error casting regression during database open | Péter Szilágyi | 2015-11-05 | 1 | -18/+3 |
| | | | |||||
* | | | Merge pull request #1966 from karalabe/fix-recover-noparam-panic | Felix Lange | 2015-11-05 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | cmd/geth: fix recover command crash if no param is supplied | ||||
| * | | | cmd/geth: fix recover command crash if no param is supplied | Péter Szilágyi | 2015-11-05 | 1 | -2/+2 |
| | |/ | |/| | |||||
* | | | Merge pull request #1969 from karalabe/fix-whisper-tests-datarace | Felix Lange | 2015-11-05 | 1 | -2/+11 |
|\ \ \ | | | | | | | | | whisper: fix datarace in expiration test | ||||
| * | | | whisper: fix datarace in expiration test | Péter Szilágyi | 2015-11-05 | 1 | -2/+11 |
| |/ / | |||||
* | | | Merge pull request #1965 from karalabe/fix-natto-test | Felix Lange | 2015-11-05 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | jsre: fix #1876, sleep too short on a slow test server | ||||
| * | | | jsre: fix #1876, sleep too short on a slow test server | Péter Szilágyi | 2015-11-05 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #1968 from karalabe/fix-json-tests-datarace | Felix Lange | 2015-11-05 | 1 | -2/+5 |
|\ \ \ | |/ / |/| | | tests: fix data race in bad-block-report disabling during tests | ||||
| * | | tests: fix data race in bad-block-report disabling during tests | Péter Szilágyi | 2015-11-05 | 1 | -2/+5 |
|/ / | |||||
* | | Merge pull request #1960 from karalabe/fix-peer-ignore-list | Jeffrey Wilcke | 2015-11-04 | 2 | -11/+46 |
|\ \ | |/ |/| | eth/downloader: fix dysfunctional ignore list hidden by generic set | ||||
| * | eth/downloader: fix dysfunctional ignore list hidden by generic set | Péter Szilágyi | 2015-11-04 | 2 | -11/+46 |
| | | |||||
* | | Merge pull request #1934 from karalabe/polish-protocol-infos | Jeffrey Wilcke | 2015-11-04 | 11 | -85/+208 |
|\ \ | |/ |/| | eth, p2p, rpc/api: polish protocol info gathering | ||||
| * | eth, p2p, rpc/api: polish protocol info gathering | Péter Szilágyi | 2015-10-28 | 11 | -85/+208 |
| | | |||||
* | | Merge pull request #1943 from obscuren/abi-fixes | Jeffrey Wilcke | 2015-11-03 | 3 | -21/+80 |
|\ \ | | | | | | | accounts/abi: ABI fixes & added types | ||||
| * | | accounts/abi: ABI fixes & added types | Jeffrey Wilcke | 2015-10-30 | 3 | -21/+80 |
| | | | | | | | | | | | | | | | | | | | | | Changed field `input` to new `inputs`. Addad Hash and Address as input types. Added bytes[N] and N validation | ||||
* | | | Merge pull request #1948 from bas-vk/rpcfix | Jeffrey Wilcke | 2015-11-03 | 2 | -7/+12 |
|\ \ \ | | | | | | | | | Infinite loop in filters | ||||
| * | | | rpc: return an unsupported error when "pending" was used to create a filter | Bas van Kervel | 2015-10-30 | 2 | -7/+12 |
| | | | | |||||
* | | | | VERSION, cmd/geth: bumped version 1.4.0 | Jeffrey Wilcke | 2015-11-03 | 2 | -3/+3 |
| | | | | |||||
* | | | | Merge pull request #1958 from fjl/secp256k1-pkgsrc | Felix Lange | 2015-11-03 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | crypto/secp256k1: add C compiler flags for pkgsrc | ||||
| * | | | | crypto/secp256k1: add C compiler flags for pkgsrc | Felix Lange | 2015-11-03 | 1 | -2/+2 |
|/ / / / | | | | | | | | | | | | | | | | | pkgsrc is a cross-platform package manager that also supports OS X. | ||||
* | | | | Merge pull request #1954 from obscuren/regression-miner | Jeffrey Wilcke | 2015-11-01 | 1 | -5/+12 |
|\ \ \ \ | | | | | | | | | | | miner: synchronise start / stop | ||||
| * | | | | miner: synchronise start / stop | Jeffrey Wilcke | 2015-10-31 | 1 | -5/+12 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | This PR fixes an issue where the remote worker was stopped twice and not properly handled. This adds a synchronised running check to the start and stop methods preventing closing of a channel more than once. | ||||
* | | | | Merge pull request #1952 from obscuren/testnet-peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
|\ \ \ \ | | | | | | | | | | | eth: added new testnet peers | ||||
| * | | | | eth: added new testnet peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
| |/ / / | |||||
* | | | | Merge pull request #1949 from karalabe/update-command-usage | Jeffrey Wilcke | 2015-10-30 | 20 | -1830/+585 |
|\ \ \ \ | | | | | | | | | | | cmd/geth, cmd/utils, eth: group CLI flags by purpose | ||||
| * | | | | cmd/geth, cmd/utils, eth: group CLI flags by purpose | Péter Szilágyi | 2015-10-30 | 20 | -1830/+585 |
| | | | | | |||||
* | | | | | Merge pull request #1951 from fjl/godeps-upgrade-goupnp | Jeffrey Wilcke | 2015-10-30 | 16 | -2235/+10225 |
|\ \ \ \ \ | | | | | | | | | | | | | Godeps: upgrade github.com/huin/goupnp | ||||
| * | | | | | p2p/nat: add docs for discover | Felix Lange | 2015-10-30 | 1 | -0/+3 |
| | | | | | | |||||
| * | | | | | Godeps: upgrade github.com/huin/goupnp to 90f71cb5 | Felix Lange | 2015-10-30 | 16 | -2235/+10222 |
|/ / / / / | |||||
* | | | | | Merge pull request #1946 from fjl/xeth-oom | Jeffrey Wilcke | 2015-10-30 | 9 | -157/+127 |
|\ \ \ \ \ | |/ / / / |/| | | | | Fix for xeth OOM issue | ||||
| * | | | | cmd/utils, rpc/comms: stop XEth when IPC connection ends | Felix Lange | 2015-10-30 | 9 | -157/+127 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile. | ||||
* | | | | Merge pull request #1945 from bas-vk/rpcparsing | Jeffrey Wilcke | 2015-10-29 | 2 | -7/+18 |
|\ \ \ \ | | | | | | | | | | | Argument parsing can lead to panic in rpc channel | ||||
| * | | | | rpc: fixed params parsing problem which could lead to a panic | Bas van Kervel | 2015-10-29 | 2 | -7/+18 |
| |/ / / | | | | | | | | | | | | | | | | | check argument type before parsing params recover from panic in ipc channel | ||||
* | | | | Merge pull request #1939 from karalabe/fix-blocked-sync-goroutines | Jeffrey Wilcke | 2015-10-29 | 3 | -15/+27 |
|\ \ \ \ | |/ / / |/| | | | eth: don't block sync goroutines that short circuit | ||||
| * | | | core: only reset head header/fastblock if stale | Péter Szilágyi | 2015-10-28 | 1 | -11/+18 |
| | | | | |||||
| * | | | eth: don't block sync goroutines that short circuit | Péter Szilágyi | 2015-10-28 | 2 | -4/+9 |
| |/ / | |||||
* | | | Merge pull request #1940 from wildfjre/lightkdfflag | Felix Lange | 2015-10-29 | 7 | -22/+41 |
|\ \ \ | |/ / |/| | | cmd/utils, crypto: add --lightkdf flag for lighter KDF | ||||
| * | | cmd/utils, crypto: add --lightkdf flag for lighter KDF | Drake Burroughs | 2015-10-29 | 7 | -22/+41 |
|/ / | |||||
* | | Merge pull request #1937 from karalabe/make-ldflags | Jeffrey Wilcke | 2015-10-28 | 1 | -10/+6 |
|\ \ | |/ |/| | makefile: fix evm ld flags, pass them to xgo too | ||||
| * | makefile: dump mist leftover, add phony targets | Péter Szilágyi | 2015-10-28 | 1 | -6/+1 |
| | | |||||
| * | makefile: fix evm ld flags, pass them to xgo too | Péter Szilágyi | 2015-10-28 | 1 | -5/+6 |
|/ | |||||
* | Merge pull request #1919 from ethersphere/getnatspec | Jeffrey Wilcke | 2015-10-28 | 14 | -120/+120 |
|\ | | | | | rpc api: eth_getNatSpec | ||||
| * | rpc api: eth_getNatSpec | zelig | 2015-10-27 | 14 | -120/+120 |
| | | | | | | | | | | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func | ||||
* | | Merge pull request #1932 from fjl/gpo-defootgunize | Jeffrey Wilcke | 2015-10-28 | 2 | -73/+75 |
|\ \ | | | | | | | eth, xeth: fix GasPriceOracle goroutine leak | ||||
| * | | eth, xeth: fix GasPriceOracle goroutine leak | Felix Lange | 2015-10-28 | 2 | -73/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XEth.gpo was being initialized as needed. WithState copies the XEth struct including the gpo field. If gpo was nil at the time of the copy and Call or Transact were invoked on it, an additional GPO listenLoop would be spawned. Move the lazy initialization to GasPriceOracle instead so the same GPO instance is shared among all created XEths. Fixes #1317 Might help with #1930 | ||||
* | | | update Dockerfile, remove supervisord and unattended-upgrades | caktux | 2015-10-27 | 2 | -35/+2 |
| |/ |/| | |||||
* | | bump VERSION to 1.3.0 | caktux | 2015-10-26 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1928 from Gustav-Simonsson/common_tests | Jeffrey Wilcke | 2015-10-25 | 26 | -4809/+21810 |
|\ \ | | | | | | | tests: update JSON files, add new wrappers | ||||
| * | | tests: update JSON files, add new wrappers | Gustav Simonsson | 2015-10-23 | 26 | -4809/+21810 |
| |/ | |||||
* | | Merge pull request #1924 from fjl/eth-status-timeout | Jeffrey Wilcke | 2015-10-24 | 1 | -9/+27 |
|\ \ | | | | | | | eth: time out status message exchange after 5s | ||||
| * | | eth: time out status message exchange after 5s | Felix Lange | 2015-10-23 | 1 | -9/+27 |
| |/ | |||||
* | | Merge pull request #1929 from ethersphere/develop | Jeffrey Wilcke | 2015-10-24 | 1 | -1/+1 |
|\ \ | |/ |/| | fix console history, lines with leadning whitespace NOT included | ||||
| * | fix console history, lines with leadning whitespace NOT included | zelig | 2015-10-24 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1922 from karalabe/fix-receipt-storage-regression | Jeffrey Wilcke | 2015-10-23 | 1 | -3/+2 |
|\ | | | | | core: fix #1921, decode all receipt field, not just consensus | ||||
| * | core: fix #1921, decode all receipt field, not just consensus | Péter Szilágyi | 2015-10-22 | 1 | -3/+2 |
| | | |||||
* | | Merge pull request #1840 from ethersphere/console | Jeffrey Wilcke | 2015-10-23 | 18 | -151/+347 |
|\ \ | |/ |/| | console, cli, api fixes | ||||
| * | console: | zelig | 2015-10-22 | 18 | -151/+347 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests | ||||
* | Merge pull request #1883 from obscuren/jit-vm-optimisations | Jeffrey Wilcke | 2015-10-22 | 11 | -83/+472 |
|\ | | | | | core/vm: JIT segmentation | ||||
| * | core/vm: added parsing utilities | Jeffrey Wilcke | 2015-10-17 | 4 | -3/+180 |
| | | |||||
| * | core/vm: added JIT segmenting / optimisations | Jeffrey Wilcke | 2015-10-17 | 9 | -5/+205 |
| | | | | | | | | | | * multi-push segments * static jumps segments | ||||
| * | core/vm: abstracted instruction execution away from JIT | Jeffrey Wilcke | 2015-10-17 | 2 | -76/+88 |
| | | | | | | | | | | | | Moved the execution of instructions to the instruction it self. This will allow for specialised instructions (e.g. segments) to be execution in the same manner as regular instructions. | ||||
* | | Merge pull request #1889 from karalabe/fast-sync-rebase | Jeffrey Wilcke | 2015-10-22 | 53 | -1777/+5022 |
|\ \ | | | | | | | eth/63 fast synchronization algorithm | ||||
| * | | core, eth, trie: fix data races and merge/review issues | Péter Szilágyi | 2015-10-21 | 27 | -465/+765 |
| | | | |||||
| * | | eth: clean out light node notions from eth | Péter Szilágyi | 2015-10-19 | 9 | -106/+39 |
| | | | |||||
| * | | core, eth: roll back uncertain headers in failed fast syncs | Péter Szilágyi | 2015-10-19 | 6 | -15/+180 |
| | | | |||||
| * | | eth/downloader: concurrent receipt and state processing | Péter Szilágyi | 2015-10-19 | 15 | -259/+516 |
| | | | |||||
| * | | core, eth, trie: direct state trie synchronization | Péter Szilágyi | 2015-10-19 | 13 | -463/+1626 |
| | | | |||||
| * | | core, eth: receipt chain reconstruction | Péter Szilágyi | 2015-10-19 | 22 | -230/+613 |
| | | | |||||
| * | | core: differentiate receipt concensus and storage decoding | Péter Szilágyi | 2015-10-19 | 9 | -77/+110 |
| | | | |||||
| * | | core: fix block canonical mark / content write race | Péter Szilágyi | 2015-10-19 | 1 | -20/+11 |
| | | | |||||
| * | | eth/downloader: add fast and light sync strategies | Péter Szilágyi | 2015-10-19 | 11 | -809/+1437 |
| | | | |||||
| * | | core: support inserting pure header chains | Péter Szilágyi | 2015-10-19 | 9 | -346/+651 |
| | | | |||||
| * | | cmd, eth: support switching client modes of operation | Péter Szilágyi | 2015-10-19 | 8 | -35/+122 |
| |/ | |||||
* | | Merge pull request #1918 from obscuren/get-hash-fix | Jeffrey Wilcke | 2015-10-21 | 3 | -10/+10 |
|\ \ | | | | | | | core, tests: get_hash fix | ||||
| * | | core, tests: get_hash fix | Jeffrey Wilcke | 2015-10-21 | 3 | -10/+10 |
|/ / | | | | | | | | | Make sure that we're fetching the hash from the current chain and not the canonical chain. | ||||
* | | Merge pull request #1758 from fjl/coinbase | Jeffrey Wilcke | 2015-10-20 | 10 | -142/+92 |
|\ \ | |/ |/| | core, core/state: move gas tracking out of core/state | ||||
| * | core, core/state: move gas tracking out of core/state | Felix Lange | 2015-10-17 | 10 | -142/+92 |
|/ | | | | | | | The amount of gas available for tx execution was tracked in the StateObject representing the coinbase account. This commit makes the gas counter a separate type in package core, which avoids unintended consequences of intertwining the counter with state logic. | ||||
* | Merge pull request #1899 from obscuren/mipmap-bloom | Jeffrey Wilcke | 2015-10-17 | 14 | -123/+729 |
|\ | | | | | core, eth/filters, miner, xeth: Optimised log filtering | ||||
| * | core, eth/filters, miner, xeth: Optimised log filtering | Jeffrey Wilcke | 2015-10-17 | 14 | -134/+647 |
| | | | | | | | | | | | | | | Log filtering is now using a MIPmap like approach where addresses of logs are added to a mapped bloom bin. The current levels for the MIP are in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are therefor filtered in batches of 1.000. | ||||
| * | eth/filters: added benchmark | Jeffrey Wilcke | 2015-10-16 | 3 | -7/+100 |
| | | |||||
* | | Merge pull request #1907 from Gustav-Simonsson/ethash_godep | Jeffrey Wilcke | 2015-10-16 | 4 | -2/+53 |
|\ \ | | | | | | | godeps: update ethash following GPU miner merge |