Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | release, all: integrate the release service into geth | Péter Szilágyi | 2016-05-02 | 14 | -583/+822 |
| | | |||||
| * | common/releases: rewrite release version contract + use native dapps | Péter Szilágyi | 2016-05-02 | 6 | -367/+1107 |
| | | |||||
| * | common/versions, cmd/utils: add geth version contract | Gustav Simonsson | 2016-05-02 | 4 | -0/+375 |
|/ | |||||
* | Merge pull request #2493 from almindor/develop | Felix Lange | 2016-04-30 | 3 | -7/+38 |
|\ | | | | | eth: add personal_importRawKey | ||||
| * | eth: add personal_importRawKey for runtime private key import | Ales Katona | 2016-04-28 | 3 | -7/+38 |
| | | |||||
* | | Merge pull request #2504 from Arachnid/public-vmconfig | Péter Szilágyi | 2016-04-29 | 1 | -0/+3 |
|\ \ | | | | | | | Provide a public accessor for ChainConfig | ||||
| * | | core: Provide a public accessor for ChainConfig | Nicholas Johnson | 2016-04-29 | 1 | -0/+3 |
| | | | | | | | | | | | | This is necessary for external users of the go-ethereum code who want to, for instance, build a custom node that plays back transactions, as core.ApplyTransaction requires a ChainConfig as a parameter. | ||||
* | | | Merge pull request #2485 from karalabe/fakepow | Péter Szilágyi | 2016-04-29 | 3 | -5/+16 |
|\ \ \ | |/ / |/| | | cmd: add a `--fakepow` flag to help benchmarking database changes | ||||
| * | | cmd: add a `--fakepow` flag to help benchmarking database changes | Péter Szilágyi | 2016-04-21 | 3 | -5/+16 |
| | | | |||||
* | | | Merge pull request #2435 from obscuren/abi-array-fixes | Péter Szilágyi | 2016-04-28 | 8 | -362/+733 |
|\ \ \ | | | | | | | | | accounts/abi: refactored ABI package | ||||
| * | | | accounts/abi: fixed string and fixed size bytes packing | Jeffrey Wilcke | 2016-04-28 | 6 | -85/+137 |
| | | | | |||||
| * | | | accounts/abi: added unpacking "anything" in to interface{} | Jeffrey Wilcke | 2016-04-28 | 2 | -0/+11 |
| | | | | |||||
| * | | | accounts/abi: fixed strict go-like unpacking | Jeffrey Wilcke | 2016-04-28 | 2 | -27/+158 |
| | | | | |||||
| * | | | accouns/abi: refactored ABI package | Jeffrey Wilcke | 2016-04-20 | 8 | -314/+491 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the abi package parsing and type handling. Relying mostly on package reflect as opposed to most of our own type reflection. Our own type reflection is still used however for cases such as Bytes and FixedBytes (abi: bytes•). This also inclused several fixes for slice handling of arbitrary and fixed size for all supported types. This also further removes implicit type casting such as assigning, for example `[2]T{} = []T{1}` will fail, however `[2]T{} == []T{1, 2}` (notice assigning *slice* to fixed size *array*). Assigning arrays to slices will always succeed if they are of the same element type. Incidentally also fixes #2379 | ||||
* | | | Merge pull request #2499 from bas-vk/reorg-logs | Jeffrey Wilcke | 2016-04-28 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | eth/filters: ignore logs that don't match filter criteria on chain reorg | ||||
| * | | | eth/filters: ignore logs that don't match filter criteria on chain reorg | Bas van Kervel | 2016-04-28 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #2491 from obscuren/genesis-config-fix | Jeffrey Wilcke | 2016-04-28 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | core, eth: added json tag field for proper unmarshalling | ||||
| * | | | core, eth: added json tag field for proper unmarshalling | Jeffrey Wilcke | 2016-04-25 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | According to our own instructions the genesis config attribute should be "config". The genesis definition in the go code, however, has a field called `ChainConfig`. This field now has a `json:"config"` struct tag so that the json is properly unmarshalled. This fixes #2482 | ||||
* | | | Merge pull request #2496 from karalabe/abibind-missing-contract-error | Péter Szilágyi | 2016-04-27 | 5 | -4/+75 |
|\ \ \ | | | | | | | | | accounts/abi/bind, eth: add contract non-existent error | ||||
| * | | | accounts/abi/bind, eth: add contract non-existent error | Péter Szilágyi | 2016-04-27 | 5 | -4/+75 |
|/ / / | |||||
* | | | Merge pull request #2492 from fjl/accounts-arm64 | Péter Szilágyi | 2016-04-26 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | accounts: disable file system watch on linux/arm64 | ||||
| * | | | accounts: disable file system watch on linux/arm64 | Felix Lange | 2016-04-25 | 2 | -2/+2 |
| | |/ | |/| | |||||
* | | | Merge pull request #2484 from pcasaretto/address-test-coverage | Péter Szilágyi | 2016-04-26 | 2 | -3/+37 |
|\ \ \ | | | | | | | | | Improve Address test coverage | ||||
| * | | | common: Add tests for Address#UnmarshalJSON | Paulo L F Casaretto | 2016-04-26 | 2 | -3/+37 |
| | |/ | |/| | |||||
* | | | Merge pull request #2478 from fjl/geth-js-tweak | Felix Lange | 2016-04-26 | 3 | -13/+34 |
|\ \ \ | |_|/ |/| | | cmd/geth, jsre: improve the js command | ||||
| * | | cmd/geth, jsre: improve the js command | Felix Lange | 2016-04-21 | 3 | -13/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | geth js stopped the JS runtime after running the first input file and blocked for pending callbacks. This commit makes it process all files and enables quitting with Ctrl-C regardless of callbacks. Error reporting is also improved. If a script fails to load, the error is printed and includes the backtrace. package jsre now ensures that otto is aware of the filename, the backtrace will contain them. Before: $ geth js bad.js; echo "exit $?" ... log messages ... exit 0 After: $ geth js bad.js; echo "exit $?" ... log messages ... Fatal: JavaScript Error: Invalid number of input parameters at web3.js:3109:20 at web3.js:4917:15 at web3.js:4960:5 at web3.js:4984:23 at checkWork (bad.js:11:9) at bad.js:19:1 exit 1 | ||||
* | | | Merge pull request #2481 from fjl/bootnode-fixup | Felix Lange | 2016-04-25 | 1 | -28/+18 |
|\ \ \ | |_|/ |/| | | cmd/bootnode: fix -genkey, add logging options | ||||
| * | | cmd/bootnode: fix -genkey, add logging options | Felix Lange | 2016-04-22 | 1 | -28/+18 |
| |/ | |||||
* / | VERSION, cmd/geth: bumped version | Jeffrey Wilcke | 2016-04-20 | 2 | -3/+3 |
|/ | |||||
* | Merge pull request #2463 from fjl/rpc-context-key | Péter Szilágyi | 2016-04-19 | 6 | -12/+18 |
|\ | | | | | rpc: remove NotifierContextKey | ||||
| * | rpc: remove NotifierContextKey | Felix Lange | 2016-04-16 | 6 | -12/+18 |
| | | | | | | | | | | | | | | Context keys must have a unique type in order to prevent any unintented clashes. The code used int(1) as key. Fix it by implementing the pattern recommended by package context. | ||||
* | | Merge pull request #2462 from fjl/rpc-remove-js | Felix Lange | 2016-04-16 | 2 | -13/+12 |
|\ \ | | | | | | | rpc: move web3.js extensions to internal/web3ext | ||||
| * | | rpc: move web3.js extensions to internal/web3ext | Felix Lange | 2016-04-15 | 2 | -13/+12 |
| |/ | |||||
* | | Merge pull request #2461 from karalabe/fix-simulator-estimates | Péter Szilágyi | 2016-04-15 | 1 | -1/+1 |
|\ \ | |/ |/| | accounts/abi/bind/backends: estimate needed gas, not used | ||||
| * | accounts/abi/bind/backends: estimate needed gas, not used | Péter Szilágyi | 2016-04-15 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2458 from fjl/go-vet | Felix Lange | 2016-04-15 | 51 | -118/+130 |
|\ | | | | | all: fix go vet warnings | ||||
| * | Makefile: enable go vet on Travis CI | Felix Lange | 2016-04-15 | 1 | -0/+1 |
| | | |||||
| * | all: fix go vet warnings | Felix Lange | 2016-04-15 | 41 | -93/+83 |
| | | |||||
| * | core/state: fix TestDump | Felix Lange | 2016-04-15 | 3 | -9/+27 |
| | | | | | | | | Lazy "I'll just put return here instead of fixing the test" found by go vet. | ||||
| * | logger/glog: fix go vet issues | Felix Lange | 2016-04-15 | 2 | -9/+9 |
| | | | | | | | | | | logging.printf triggered a format string warning. Silence it by renaming the function. | ||||
| * | core, core/types, eth: add and use Block.Body | Felix Lange | 2016-04-15 | 5 | -7/+10 |
| | | | | | | | | | | This fixes a few uses of unkeyed Body literals which go vet was complaining about. | ||||
* | | Merge pull request #2460 from fjl/whisper-expiration-test-delay | Péter Szilágyi | 2016-04-15 | 2 | -9/+5 |
|\ \ | |/ |/| | whisper: deflake Test*MessageExpiration | ||||
| * | whisper: deflake Test*MessageExpiration | Felix Lange | 2016-04-15 | 2 | -9/+5 |
|/ | | | | | | These tests have become a common annoyance on CI. Fix them by allowing messages with expiration == now into the cache and delaying the check for expired message handling slightly. | ||||
* | Merge pull request #2457 from fjl/license-update-1.4 | Felix Lange | 2016-04-15 | 61 | -88/+373 |
|\ | | | | | all: update license information | ||||
| * | all: update license information | Felix Lange | 2016-04-15 | 60 | -82/+357 |
| | | |||||
| * | build: tweak update-license.go | Felix Lange | 2016-04-15 | 1 | -6/+16 |
|/ | |||||
* | Merge pull request #2456 from bas-vk/rpc-arg-whitespace | Péter Szilágyi | 2016-04-14 | 1 | -2/+12 |
|\ | | | | | cmd/utils: strip excessive whitespace from api command line arguments | ||||
| * | cmd/utils: strip excessive whitespace from api command line arguments | Bas van Kervel | 2016-04-14 | 1 | -2/+12 |
| | | |||||
* | | Merge pull request #2454 from karalabe/trace-fix | Péter Szilágyi | 2016-04-14 | 2 | -53/+65 |
|\ \ | |/ |/| | eth: fix single transaction tracing (run prev mutations) | ||||
| * | eth, rpc: make trace configs optional | Péter Szilágyi | 2016-04-14 | 2 | -13/+19 |
| | | |||||
| * | eth: fix single transaction tracing (run prev mutations) | Péter Szilágyi | 2016-04-14 | 1 | -41/+47 |
|/ | |||||
* | Merge pull request #2235 from fjl/chaindb-api-and-console-fixes | Felix Lange | 2016-04-13 | 7 | -14/+78 |
|\ | | | | | eth: add chaindbProperty to debug API (+ console fixes) | ||||
| * | internal/debug: add memStats and gcStats to API | Felix Lange | 2016-04-13 | 2 | -0/+25 |
| | | |||||
| * | eth: add chaindbProperty to debug API | Felix Lange | 2016-04-13 | 2 | -0/+24 |
| | | |||||
| * | jsre: hide fields with prefix _ when pretty-printing | Felix Lange | 2016-04-13 | 1 | -1/+1 |
| | | | | | | | | This makes web3 internals like _requestManager invisible. | ||||
| * | jsre: fix <tab><tab> completion magic | Felix Lange | 2016-04-13 | 2 | -4/+17 |
| | | |||||
| * | jsre: expose Do | Felix Lange | 2016-04-13 | 2 | -9/+11 |
|/ | |||||
* | Merge pull request #2450 from karalabe/fix-ios-kqueue | Péter Szilágyi | 2016-04-13 | 2 | -2/+2 |
|\ | | | | | accounts: disable filesystem notifications on iOS | ||||
| * | accounts: disable filesystem notifications on ios | Péter Szilágyi | 2016-04-13 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #2448 from fjl/jsre-bignum | Felix Lange | 2016-04-13 | 1 | -5/+13 |
|\ | | | | | jsre: print BigNumber objects with custom constructor as number | ||||
| * | jsre: print BigNumber objects with custom constructor as number | Felix Lange | 2016-04-12 | 1 | -5/+13 |
|/ | |||||
* | Merge pull request #2446 from karalabe/console-unlock-fix | Felix Lange | 2016-04-12 | 1 | -3/+2 |
|\ | | | | | cmd/utils: fix accounts merge error on console unlock | ||||
| * | cmd/utils: fix accounts merge error on console unlock | Péter Szilágyi | 2016-04-12 | 1 | -3/+2 |
|/ | |||||
* | Merge pull request #2284 from fjl/accounts-addr-cache | Péter Szilágyi | 2016-04-12 | 96 | -1213/+7346 |
|\ | | | | | accounts: cache key addresses | ||||
| * | accounts: ensure TimedUnlock does not override indefinite unlock timeout | Felix Lange | 2016-04-12 | 2 | -10/+16 |
| | | |||||
| * | accounts: improve API and add documentation | Felix Lange | 2016-04-12 | 6 | -58/+97 |
| | | | | | | | | | | - Sign takes common.Address, not Account - Import/Export methods work with encrypted JSON keys | ||||
| * | cmd/geth: add recovery procedure for AmbiguousAddrError | Felix Lange | 2016-04-12 | 6 | -2/+110 |
| | | |||||
| * | cmd/utils: fix --password on Windows | Felix Lange | 2016-04-12 | 1 | -9/+14 |
| | | | | | | | | | | Text files created on Windows typically have \r\n line endings. Trim them when reading password files. | ||||
| * | cmd/geth: print actual error when --unlock fails | Felix Lange | 2016-04-12 | 2 | -4/+4 |
| | | |||||
| * | eth: report unlock errors to RPC clients | Felix Lange | 2016-04-12 | 1 | -4/+3 |
| | | |||||
| * | accounts: add ErrDecrypt | Felix Lange | 2016-04-12 | 6 | -9/+8 |
| | | |||||
| * | accounts: cache key addresses | Felix Lange | 2016-04-12 | 18 | -368/+1057 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to avoid disk thrashing for Accounts and HasAccount, address->key file mappings are now cached in memory. This makes it no longer necessary to keep the key address in the file name. The address of each key is derived from file content instead. There are minor user-visible changes: - "geth account list" now reports key file paths alongside the address. - If multiple keys are present for an address, unlocking by address is not possible. Users are directed to remove the duplicate files instead. Unlocking by index is still possible. - Key files are overwritten written in place when updating the password. | ||||
| * | Godeps: add github.com/rjeczalik/notify | Felix Lange | 2016-04-12 | 37 | -0/+4702 |
| | | |||||
| * | cmd/geth: add tests for account commands | Felix Lange | 2016-04-12 | 17 | -1/+550 |
| | | |||||
| * | Godeps: add github.com/cspeare/cp | Felix Lange | 2016-04-12 | 4 | -0/+90 |
| | | |||||
| * | accounts: streamline API | Felix Lange | 2016-04-12 | 11 | -144/+79 |
| | | | | | | | | | | | | - Manager.Accounts no longer returns an error. - Manager methods take Account instead of common.Address. - All uses of Account with unkeyed fields are converted. | ||||
| * | cmd/geth: move account commands to accountcmd.go | Felix Lange | 2016-04-12 | 2 | -258/+286 |
| | | |||||
| * | accounts: fix go vet warnings | Felix Lange | 2016-04-12 | 3 | -5/+5 |
| | | |||||
| * | accounts, crypto: move keystore to package accounts | Felix Lange | 2016-04-12 | 19 | -241/+256 |
| | | | | | | | | | | | | | | | | | | | | The account management API was originally implemented as a thin layer around crypto.KeyStore, on the grounds that several kinds of key stores would be implemented later on. It turns out that this won't happen so KeyStore is a superflous abstraction. In this commit crypto.KeyStore and everything related to it moves to package accounts and is unexported. | ||||
| * | cmd/geth, cmd/utils: improve input handling | Felix Lange | 2016-04-12 | 7 | -121/+128 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes make prompting behave consistently on all platforms: * The input buffer is now global. Buffering was previously set up for each prompt, which can cause weird behaviour, e.g. when running "geth account update <input.txt" where input.txt contains three lines. In this case, the first password prompt would fill up the buffer with all lines and then use only the first one. * Print the "unsupported terminal" warning only once. Now that stdin prompting has global state, we can use it to track the warning there. * Work around small liner issues, particularly on Windows. Prompting didn't work under most of the third-party terminal emulators on Windows because liner assumes line editing is always available. | ||||
| * | tests: remove eth, node, accounts dependencies | Felix Lange | 2016-04-12 | 3 | -56/+18 |
| | | | | | | | | Unlocking the accounts in the test doesn't help with anything. | ||||
* | | Merge pull request #2444 from karalabe/gethrpctest-chainconfig-panic | Péter Szilágyi | 2016-04-12 | 2 | -0/+7 |
|\ \ | |/ |/| | cmd/gethrpctest: add missing chain configuration config field | ||||
| * | eth: gracefully fail if chain config is missing | Péter Szilágyi | 2016-04-12 | 1 | -0/+4 |
| | | |||||
| * | cmd/gethrpctest: add missing chain configuration config field | Péter Szilágyi | 2016-04-12 | 1 | -0/+3 |
|/ | |||||
* | Merge pull request #2359 from bas-vk/rpc-optional-args | Jeffrey Wilcke | 2016-04-12 | 23 | -639/+3431 |
|\ | | | | | rpc: several fixes and support for optional arguments | ||||
| * | rpc: various fixes/enhancements | Bas van Kervel | 2016-04-12 | 23 | -639/+3431 |
| | | | | | | | | | | | | | | | | rpc: be less restrictive on the request id rpc: improved documentation console: upgrade web3.js to version 0.16.0 rpc: cache http connections rpc: rename wsDomains parameter to wsOrigins | ||||
* | | Merge pull request #2431 from bas-vk/js-preload | Jeffrey Wilcke | 2016-04-12 | 4 | -0/+38 |
|\ \ | | | | | | | cmd/geth: add JS preload parameter | ||||
| * | | cmd/geth: add JS preload parameter | Bas van Kervel | 2016-04-11 | 4 | -0/+38 |
| |/ | |||||
* | | Merge pull request #2440 from karalabe/update-ethash | Jeffrey Wilcke | 2016-04-12 | 7 | -36/+36 |
|\ \ | | | | | | | Update ethash | ||||
| * | | eth: fix GPU miner chain config regression | Péter Szilágyi | 2016-04-11 | 1 | -2/+1 |
| | | | |||||
| * | | Godeps: pull in the ethash opencl fix | Péter Szilágyi | 2016-04-11 | 6 | -34/+35 |
|/ / | |||||
* | | Merge pull request #2430 from bas-vk/chaincmd | Péter Szilágyi | 2016-04-11 | 1 | -7/+11 |
|\ \ | | | | | | | cmd/utils: bugfix where database is opened multiple times | ||||
| * | | cmd/utils: bugfix where database is opened multiple times | Bas van Kervel | 2016-04-07 | 1 | -7/+11 |
| |/ | |||||
* | | Merge pull request #2427 from bas-vk/pending-tx-console-format | Péter Szilágyi | 2016-04-11 | 1 | -1/+9 |
|\ \ | | | | | | | console: use transaction output formatter for eth.pendingTransactions… | ||||
| * | | console: use transaction output formatter for eth.pendingTransactions output | Bas van Kervel | 2016-04-06 | 1 | -1/+9 |
| |/ | |||||
* | | Merge pull request #2423 from karalabe/abigen-support-arrays | Péter Szilágyi | 2016-04-11 | 2 | -16/+67 |
|\ \ | |/ |/| | accounts/abi/bind: support generating bindings for various arrays | ||||
| * | accounts/abi/bind: support generating bindings for various arrays | Péter Szilágyi | 2016-04-05 | 2 | -16/+67 |
|/ | |||||
* | Merge pull request #2417 from fjl/rpc-go-winio | Jeffrey Wilcke | 2016-04-05 | 13 | -622/+1849 |
|\ | | | | | rpc: use go-winio instead of vendoring a named pipe implementation | ||||
| * | rpc: use go-winio instead of vendoring a named pipe implementation | Felix Lange | 2016-04-04 | 13 | -622/+1849 |
| | | |||||
* | | Merge pull request #2407 from bas-vk/rpc-notifications | Jeffrey Wilcke | 2016-04-05 | 16 | -310/+844 |
|\ \ | | | | | | | RPC pub sub | ||||
| * | | rpc: add pub/sub support | Bas van Kervel | 2016-04-02 | 16 | -310/+844 |
| | | | |||||
* | | | Merge pull request #2416 from karalabe/kill-canary | Jeffrey Wilcke | 2016-04-05 | 2 | -63/+8 |
|\ \ \ | | | | | | | | | core, miner: remove Frontier canary |