Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core/vm: move Log to core/types | Felix Lange | 2017-01-06 | 1 | -1/+1 |
| | | | | | | | | This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal. | ||||
* | params: avoid importing p2p/discover for bootnodes | Felix Lange | 2017-01-06 | 1 | -17/+14 |
| | | | | | params is imported by leaf-ish library packages and should not pull in the p2p stack. | ||||
* | core/vm: improved EVM run loop & instruction calling (#3378) | Jeffrey Wilcke | 2017-01-05 | 1 | -12/+9 |
| | | | | | | | | | | | | | | | The run loop, which previously contained custom opcode executes have been removed and has been simplified to a few checks. Each operation consists of 4 elements: execution function, gas cost function, stack validation function and memory size function. The execution function implements the operation's runtime behaviour, the gas cost function implements the operation gas costs function and greatly depends on the memory and stack, the stack validation function validates the stack and makes sure that enough items can be popped off and pushed on and the memory size function calculates the memory required for the operation and returns it. This commit also allows the EVM to go unmetered. This is helpful for offline operations such as contract calls. | ||||
* | cmd/utils: disallow `--fakepow` for live operation (#3512) | Péter Szilágyi | 2017-01-05 | 1 | -1/+0 |
| | |||||
* | cmd/utils, eth, les: bubble --fakepow flag into eth/les too | Péter Szilágyi | 2017-01-04 | 1 | -0/+1 |
| | |||||
* | cmd/disasm: fix off-by-one error and improve error handling (#3482) | Valentin Wüstholz | 2016-12-22 | 1 | -2/+7 |
| | |||||
* | Merge pull request #3421 from ethersphere/s/swarm-cmd | Péter Szilágyi | 2016-12-14 | 3 | -59/+173 |
|\ | | | | | cmd/swarm: one command with subcommands | ||||
| * | cmd/swarm: testnet bootnodes IP address change | zelig | 2016-12-14 | 1 | -5/+5 |
| | | |||||
| * | cmd/swarm: improve uploader output and add defaultpath option | zelig | 2016-12-13 | 2 | -22/+68 |
| | | |||||
| * | cmd/swarm: ethapi not required | zelig | 2016-12-13 | 1 | -6/+4 |
| | | |||||
| * | cmd/swarm: trim trailing slash from bzzapi url | zelig | 2016-12-13 | 1 | -1/+1 |
| | | |||||
| * | cmd/swarm: add default bootnodes for testnet 3 | zelig | 2016-12-13 | 1 | -6/+13 |
| | | |||||
| * | swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten) | zelig | 2016-12-13 | 1 | -1/+1 |
| | | |||||
| * | cmd/swarm: subsume cmd/bzz* as subcommands under swarm | zelig | 2016-12-13 | 3 | -27/+90 |
| | | | | | | | | cmd/swarm: subsume cmd/bzz* under cmd/swarm as subcommands | ||||
* | | Merge pull request #3427 from Arachnid/gzipdump | Péter Szilágyi | 2016-12-14 | 1 | -3/+28 |
|\ \ | | | | | | | cmd/utils, eth: Add gzip support for chain dump and restore | ||||
| * | | cmd/utils, eth: Add gzip support for chain dump and restore | Nick Johnson | 2016-12-14 | 1 | -3/+28 |
| |/ | |||||
* / | cmd/geth: drop legacy android code | Péter Szilágyi | 2016-12-14 | 3 | -126/+0 |
|/ | |||||
* | core, core/vm: implemented a generic environment (#3348) | Jeffrey Wilcke | 2016-12-06 | 1 | -114/+25 |
| | | | | | | | | Environment is now a struct (not an interface). This reduces a lot of tech-debt throughout the codebase where a virtual machine environment had to be implemented in order to test or run it. The new environment is suitable to be used en the json tests, core consensus and light client. | ||||
* | cmd/geth: tidied up the source (#3385) | Péter Szilágyi | 2016-11-30 | 3 | -133/+174 |
| | | | cmd/geth: tidied up the source | ||||
* | cmd/utils: update helpscreen's testnet description (#3377) | Luca Zeug | 2016-11-29 | 1 | -1/+1 |
| | |||||
* | cmd: drop DAO related choice flags since ETC diverged | Péter Szilágyi | 2016-11-29 | 3 | -88/+17 |
| | |||||
* | cmd/bzzd: swarm daemon fixes (#3359) | Viktor Trón | 2016-11-28 | 2 | -19/+34 |
| | | | | | | | | | | | | * cmd/bzzd: add missing p2p/discovery flags * cmd/bzzd: fix two bugs crashing bzzd if bootnodes flag given * cmd/bzzd: make no swap default, renamed flag bzznoswap->bzzswap * internal/web3ext: correct methods for bzz IPC module * cmd/bzzd: ethapi param not mandatory. Warning if no blockchain * cmd/bzzd: correct default IPC modules in help string * cmd/utils: fix help description for networkId - add Ropsten * cmd/bzz, swarm/api, swarm/network: add swarm networkId flag * cmd/bzzd: change nosync flag to sync and BootTFlag | ||||
* | cmd, ethstats, les, mobile, params: native netstats (#3336) | Péter Szilágyi | 2016-11-25 | 5 | -79/+59 |
| | |||||
* | Merge pull request #3325 from fjl/p2p-netrestrict | Felix Lange | 2016-11-25 | 4 | -2/+29 |
|\ | | | | | Prevent relay of invalid IPs, add --netrestrict | ||||
| * | cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrict | Felix Lange | 2016-11-23 | 4 | -2/+29 |
| | | |||||
* | | cmd/utils, internal/web3ext: removed httpGet | Jeffrey Wilcke | 2016-11-25 | 1 | -1/+1 |
| | | |||||
* | | cmd/utils, VERSION: 1.5.4 unstable | Felix Lange | 2016-11-25 | 1 | -4/+4 |
| | | |||||
* | | cmd/utils: 1.5.3 stable | Felix Lange | 2016-11-25 | 1 | -4/+4 |
| | | |||||
* | | core: implemented new ropsten testnet | Jeffrey Wilcke | 2016-11-23 | 2 | -25/+12 |
| | | |||||
* | | cmd/geth, core, light, mobile: removed state account StartingNonce | Jeffrey Wilcke | 2016-11-23 | 3 | -11/+0 |
| | | | | | | | | All account's nonce start at 0. | ||||
* | | cmd/bzzup: trim directory in the manifest entry path (#3299) | Aron Fischer | 2016-11-18 | 1 | -2/+2 |
|/ | |||||
* | cmd/utils, VERSION: 1.5.3 unstable (#3306) | Nick Johnson | 2016-11-18 | 1 | -2/+2 |
| | |||||
* | cmd/utils: Set version string to stable (#3304) | Nick Johnson | 2016-11-18 | 1 | -1/+1 |
| | |||||
* | cmd/utils, VERSION: 1.5.2 unstable | Felix Lange | 2016-11-17 | 1 | -4/+4 |
| | |||||
* | utils: bump stable | Jeffrey Wilcke | 2016-11-16 | 1 | -4/+4 |
| | |||||
* | cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272) | Péter Szilágyi | 2016-11-16 | 1 | -49/+28 |
| | |||||
* | cmd/utils: remove jit flag handling (#3273) | Felix Lange | 2016-11-16 | 1 | -14/+0 |
| | | | | The jit config options are not handled, but random selection still took place, printing confusing messages. | ||||
* | utils: unstable 1.5.1 | Jeffrey Wilcke | 2016-11-15 | 1 | -4/+4 |
| | |||||
* | utils: stable 1.5.0 | Jeffrey Wilcke | 2016-11-15 | 1 | -4/+4 |
| | |||||
* | core, core/types: refactored tx chain id checking (#3257) | Jeffrey Wilcke | 2016-11-15 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | | | * core, core/types: refactored tx chain id checking Refactored explicit chain id checking in to the Sender deriviation method * cmd/utils, params: define chain ids | ||||
| * | cmd/utils, params: define chain ids | Jeffrey Wilcke | 2016-11-15 | 1 | -0/+7 |
| | | |||||
* | | cmd/utils, mobile: place bootnodes in LGPL packages | Péter Szilágyi | 2016-11-15 | 2 | -55/+3 |
| | | |||||
* | | mobile: port wrappers to EIP155 and EIP158 fork | Péter Szilágyi | 2016-11-15 | 1 | -20/+0 |
| | | |||||
* | | cmd, mobile, node, p2p: surface the discovery V5 bootnodes | Péter Szilágyi | 2016-11-15 | 2 | -2/+36 |
| | | |||||
* | | cmd/utils, mobile: update to reprice HF and light client | Péter Szilágyi | 2016-11-14 | 1 | -6/+10 |
| | | |||||
* | | mobile: initial wrappers for mobile support | Péter Szilágyi | 2016-11-14 | 3 | -13/+44 |
|/ | |||||
* | tests: updated | Jeffrey Wilcke | 2016-11-14 | 1 | -1/+2 |
| | |||||
* | cmd/utils: set temporary HF number | Jeffrey Wilcke | 2016-11-13 | 1 | -13/+28 |
| | |||||
* | core/types, params: EIP#155 | Jeffrey Wilcke | 2016-11-13 | 1 | -0/+4 |
| | |||||
* | core, core/state, trie: EIP158, reprice & skip empty account write | Jeffrey Wilcke | 2016-11-13 | 4 | -36/+36 |
| | | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org> | ||||
* | cmd/bzzhash: add swarm hashing tool | Felix Lange | 2016-11-11 | 1 | -0/+49 |
| | |||||
* | cmd/bzzup: add swarm upload tool | Felix Lange | 2016-11-11 | 1 | -0/+161 |
| | |||||
* | cmd/bzzd: add swarm server daemon | Felix Lange | 2016-11-11 | 1 | -0/+246 |
| | |||||
* | cmd/v5test: delete the v5test tool | Felix Lange | 2016-11-11 | 1 | -101/+0 |
| | |||||
* | cmd/geth: improve command help messages (#3227) | Kenji Siu | 2016-11-10 | 5 | -87/+132 |
| | |||||
* | cmd/geth: reinstate dropped --cache flag | Péter Szilágyi | 2016-11-10 | 1 | -0/+1 |
| | |||||
* | cmd/geth: use a loop in TestDAOForkBlockNewChain (#3222) | xiekeyang | 2016-11-09 | 1 | -84/+68 |
| | |||||
* | all: update license information | Felix Lange | 2016-11-09 | 2 | -2/+2 |
| | |||||
* | p2p/discv5: added new topic discovery package | Zsolt Felfoldi | 2016-11-09 | 5 | -37/+125 |
| | |||||
* | cmd, eth: added light client and light server modes | zsfelfoldi | 2016-11-09 | 4 | -6/+88 |
| | |||||
* | all: remove weird files | Felix Lange | 2016-10-30 | 9 | -108/+0 |
| | |||||
* | Merge pull request #3195 from karalabe/fix-testnet-fastsync | Péter Szilágyi | 2016-10-29 | 2 | -24/+40 |
|\ | | | | | cmd/utils, core, params: explicitly pick reprice fork for fast sync | ||||
| * | cmd, params: only set default fork configs for test and mainnet | Péter Szilágyi | 2016-10-29 | 2 | -30/+39 |
| | | |||||
| * | cmd/utils, core, params: explicitly pick reprice fork for fast sync | Péter Szilágyi | 2016-10-29 | 1 | -0/+7 |
| | | |||||
* | | whisper: project restructured, version 5 introduced (#3022) | gluk256 | 2016-10-29 | 2 | -2/+2 |
|/ | | | | | | | whisper: project restructured, version 5 introduced This commits adds a draft version of the new shh v5 protocol. The new version is not on by default, --shh still selects version 2. | ||||
* | cmd/evm: Allow stdin and files as sources of bytecode (#3172) | Nick Johnson | 2016-10-29 | 1 | -4/+32 |
| | | | | | | | | * cmd/evm: Allow stdin and files as sources of bytecode * cmd/evm: Print and exit instead of panicing * cmd/evm: fix compile and vet errors | ||||
* | Godeps, vendor: convert dependency management to trash (#3198) | Péter Szilágyi | 2016-10-29 | 3 | -49/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | This commit converts the dependency management from Godeps to the vendor folder, also switching the tool from godep to trash. Since the upstream tool lacks a few features proposed via a few PRs, until those PRs are merged in (if), use github.com/karalabe/trash. You can update dependencies via trash --update. All dependencies have been updated to their latest version. Parts of the build system are reworked to drop old notions of Godeps and invocation of the go vet command so that it doesn't run against the vendor folder, as that will just blow up during vetting. The conversion drops OpenCL (and hence GPU mining support) from ethash and our codebase. The short reasoning is that there's noone to maintain and having opencl libs in our deps messes up builds as go install ./... tries to build them, failing with unsatisfied link errors for the C OpenCL deps. golang.org/x/net/context is not vendored in. We expect it to be fetched by the user (i.e. using go get). To keep ci.go builds reproducible the package is "vendored" in build/_vendor. | ||||
* | cmd/geth, code, eth/downloader: tune import logs and mem stats | Péter Szilágyi | 2016-10-21 | 1 | -22/+49 |
| | |||||
* | cmd/geth, trie: report on trie cache unloads, also add debug log | Péter Szilágyi | 2016-10-19 | 1 | -1/+2 |
| | |||||
* | cmd, core/state: allow configurable trie cache generations | Péter Szilágyi | 2016-10-19 | 4 | -7/+24 |
| | |||||
* | cmd/geth, trie: track and report trie cache misses | Péter Szilágyi | 2016-10-19 | 1 | -4/+14 |
| | |||||
* | cmd/geth: compact and print database stats after an import | Péter Szilágyi | 2016-10-18 | 1 | -4/+21 |
| | |||||
* | core, core/vm: added gas price variance table | Jeffrey Wilcke | 2016-10-15 | 3 | -1/+12 |
| | | | | | | | | | | | | | This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code. | ||||
* | core/state: implement reverts by journaling all changes | Felix Lange | 2016-10-06 | 1 | -16/+16 |
| | | | | | | | | | | This commit replaces the deep-copy based state revert mechanism with a linear complexity journal. This commit also hides several internal StateDB methods to limit the number of ways in which calling code can use the journal incorrectly. As usual consultation and bug fixes to the initial implementation were provided by @karalabe, @obscuren and @Arachnid. Thank you! | ||||
* | cmd, core, internal, light, tests: avoid hashing the code in the VM | Péter Szilágyi | 2016-10-01 | 1 | -1/+4 |
| | |||||
* | Merge pull request #2914 from fjl/node-coinhabit | Felix Lange | 2016-09-29 | 8 | -72/+96 |
|\ | | | | | cmd/utils, node: make datadir reusable for bzzd | ||||
| * | common, node: move datadir defaults into package node | Felix Lange | 2016-09-16 | 3 | -15/+24 |
| | | |||||
| * | node: ensure datadir can be co-inhabited by different instances | Felix Lange | 2016-09-16 | 7 | -57/+72 |
| | | | | | | | | | | This change ensures that nodes started with different Name but same DataDir values don't use the same nodekey and IPC socket. | ||||
* | | cmd/utils: don't check for stderr redirect on windows | Felix Lange | 2016-09-26 | 1 | -4/+11 |
|/ | | | | | | | | The redirect check did not work on Go 1.6 and below because Stat returned an error for stdout and stderr. In Go 1.7 Stat works on stdout but doesn't return anything meaningful, causing cmd/geth test failures because the message is printed to stderr only. Fix it by printing to stdout only. | ||||
* | cmd, eth: drop the blockchain version from cli/eth configs | Péter Szilágyi | 2016-09-15 | 3 | -8/+0 |
| | |||||
* | cmd/geth: fix port clash in genesis test | Felix Lange | 2016-09-05 | 1 | -1/+4 |
| | |||||
* | cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utils | Felix Lange | 2016-09-05 | 6 | -75/+120 |
| | |||||
* | contracts/release: move package release to contracts/ | Felix Lange | 2016-08-30 | 2 | -2/+2 |
| | | | | | | This change also deletes generator.go, moving the only interesting line in it into release.go. The binding has been regenerated with abigen from develop and solc v0.3.6. | ||||
* | cmd/geth: set correct initial nonce on testnet for import/init subcommands ↵ | Hellsegga | 2016-08-23 | 2 | -0/+8 |
| | | | | (#2924) | ||||
* | Merge pull request #2928 from obscuren/remove-dao-message | Felix Lange | 2016-08-22 | 1 | -17/+0 |
|\ | | | | | cmd/utils: removed DAO oppose / support message | ||||
| * | cmd/utils: removed DAO oppose / support message | Jeffrey Wilcke | 2016-08-22 | 1 | -17/+0 |
| | | |||||
* | | Merge pull request #2927 from obscuren/license | Péter Szilágyi | 2016-08-22 | 2 | -0/+25 |
|\ \ | | | | | | | cmd/geth: added copyright and license information | ||||
| * | | cmd/geth: added copyright and license information | Jeffrey Wilcke | 2016-08-22 | 2 | -0/+25 |
| |/ | | | | | | | | | | | As per GNU GPL requirement I've added the copyright and the license information as a subcommand as well as a copyright notice when displaying the help command. | ||||
* / | core/vm: Refactor tracing to make Tracer the main interface | Nick Johnson | 2016-08-22 | 1 | -8/+4 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | This CL makes several refactors: - Define a Tracer interface, implementing the `CaptureState` method - Add the VM environment as the first argument of `Tracer.CaptureState` - Rename existing functionality `StructLogger` an make it an implementation of `Tracer` - Delete `StructLogCollector` and make `StructLogger` collect the logs directly - Change all callers to use the new `StructLogger` where necessary and extract logs from that. - Deletes the apparently obsolete and likely nonfunctional 'TraceCall' from the eth API. Callers that only wish accumulated logs can use the `StructLogger` implementation straightforwardly. Callers that wish to efficiently capture VM traces and operate on them without excessive copying can now implement the `Tracer` interface to receive VM state at each step and do with it as they wish. This CL also removes the accumulation of logs from the vm.Environment; this was necessary as part of the refactor, but also simplifies it by removing a responsibility that doesn't directly belong to the Environment. | ||||
* | common/compiler: simplify solc wrapper | Felix Lange | 2016-08-17 | 1 | -12/+1 |
| | | | | | | | | | | | | | Support for legacy version 0.9.x is gone. The compiler version is no longer cached. Compilation results (and the version) are read directly from stdout using the --combined-json flag. As a workaround for ethereum/solidity#651, source code is written to a temporary file before compilation. Integration of solc in package ethapi and cmd/abigen is now much simpler because the compiler wrapper is no longer passed around as a pointer. Fixes #2806, accidentally | ||||
* | cmd/utils, node: create account manager in package node | Felix Lange | 2016-08-17 | 5 | -148/+109 |
| | | | | | | | | | | | | | | | The account manager was previously created by packge cmd/utils as part of flag processing and then passed down into eth.Ethereum through its config struct. Since we are starting to create nodes which do not have eth.Ethereum as a registered service, the code was rearranged to register the account manager as its own service. Making it a service is ugly though and it doesn't really fix the root cause: creating nodes without eth.Ethereum requires duplicating lots of code. This commit splits utils.MakeSystemNode into three functions, making creation of other node/service configurations easier. It also moves the account manager into Node so it can be used by those configurations without requiring package eth. | ||||
* | rpc: add new client, use it everywhere | Felix Lange | 2016-07-23 | 3 | -86/+27 |
| | | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum. | ||||
* | Merge pull request #2821 from Arachnid/discover-enode | Felix Lange | 2016-07-20 | 1 | -12/+16 |
|\ | | | | | cmd/bootnode: Add support for outputting a node's ID on the command line | ||||
| * | cmd/bootnode: Add support for outputting a node's ID on the command line | Nick Johnson | 2016-07-15 | 1 | -12/+16 |
| | | |||||
* | | cmd/utils, eth: display the user's current fork, minor text tweak | Péter Szilágyi | 2016-07-16 | 1 | -1/+19 |
| | | |||||
* | | cmd, core, eth, miner, params, tests: finalize the DAO fork | Péter Szilágyi | 2016-07-15 | 2 | -7/+8 |
| | | |||||
* | | core, params, tests: add DAO hard-fork balance moves | Péter Szilágyi | 2016-07-15 | 1 | -2/+2 |
| | | |||||
* | | cmd, core, miner: add extradata validation to consensus rules | Péter Szilágyi | 2016-07-15 | 3 | -212/+138 |
| | | |||||
* | | cmd/geth, miner, params: special extradata for DAO fork start | Péter Szilágyi | 2016-07-15 | 1 | -0/+1 |
| | | |||||
* | | core: gracefully handle missing homestead block config | Péter Szilágyi | 2016-07-15 | 1 | -0/+105 |
| | | |||||
* | | cmd, core, eth, params: implement flags to control dao fork blocks | Péter Szilágyi | 2016-07-15 | 4 | -44/+348 |
|/ | |||||
* | cmd/geth: print version on geth start (#2622) | Matthew Di Ferrante | 2016-07-12 | 1 | -0/+2 |
| | |||||
* | cmd, common, console, eth, release: drop redundant "full"s | Péter Szilágyi | 2016-06-30 | 2 | -2/+2 |
| | |||||
* | Merge pull request #2159 from zsfelfoldi/light-backend | Péter Szilágyi | 2016-06-30 | 3 | -4/+15 |
|\ | | | | | eth: separate common and full node-specific API and backend service | ||||
| * | eth: separate common and full node-specific API and backend service | zsfelfoldi | 2016-06-16 | 3 | -4/+15 |
| | | |||||
* | | Merge pull request #2750 from sybiload/develop | Péter Szilágyi | 2016-06-29 | 1 | -1/+1 |
|\ \ | | | | | | | cmd/geth: fix the import error message | ||||
| * | | cmd/geth: fix the import error message | Yohann LEON | 2016-06-29 | 1 | -1/+1 |
| | | | | | | | | | | | | cmd/geth: include the error message on import failure | ||||
* | | | Revert "test, cmd/evm, core, core/vm: illegal code hash implementation" | Péter Szilágyi | 2016-06-29 | 2 | -17/+0 |
| | | | | | | | | | | | | This reverts commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d. | ||||
* | | | Revert "core: add voting and result tracking for the dao soft-fork" | Péter Szilágyi | 2016-06-29 | 1 | -7/+7 |
| | | | | | | | | | | | | This reverts commit c4de28938ff8c688c4444c8b3e8e28a52cbc62ff. | ||||
* | | | Revert "core: update DAO soft-fork number, clean up the code" | Péter Szilágyi | 2016-06-29 | 3 | -9/+16 |
|/ / | | | | | | | This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0. | ||||
* | | core: update DAO soft-fork number, clean up the code | Péter Szilágyi | 2016-06-23 | 3 | -16/+9 |
| | | |||||
* | | core: add voting and result tracking for the dao soft-fork | Péter Szilágyi | 2016-06-23 | 1 | -7/+7 |
| | | |||||
* | | test, cmd/evm, core, core/vm: illegal code hash implementation | Jeffrey Wilcke | 2016-06-22 | 2 | -0/+17 |
| | | | | | | | | | | | | | | | | 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 #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. | ||||
* / | cmd/utils: add space between "to" and filename | Tosh Camille | 2016-06-15 | 1 | -5/+5 |
|/ | |||||
* | Merge pull request #2455 from zsfelfoldi/chaindb | Jeffrey Wilcke | 2016-06-13 | 2 | -2/+2 |
|\ | | | | | core: improved chain db performance by using sequential keys | ||||
| * | core: improved chainDb using sequential keys | zsfelfoldi | 2016-06-07 | 2 | -2/+2 |
| | | |||||
* | | cmd: fix CLI package deprecation warnings | Péter Szilágyi | 2016-06-10 | 8 | -27/+55 |
| | | |||||
* | | cmd/geth: codegansta/cli package renamed to urfave/cli | Bas van Kervel | 2016-06-09 | 11 | -11/+11 |
| | | |||||
* | | cmd/geth: fix the keystore path in the accounts help text | Péter Szilágyi | 2016-06-08 | 1 | -1/+1 |
| | | |||||
* | | cmd/geth: truly randomize console test RPC endpoints | Péter Szilágyi | 2016-06-08 | 1 | -4/+12 |
|/ | |||||
* | 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 | ||||
* | cmd/geth, console: fix reviewer issues | Péter Szilágyi | 2016-05-31 | 3 | -4/+4 |
| | |||||
* | cmd, console: split off the console into a reusable package | Péter Szilágyi | 2016-05-30 | 12 | -1464/+356 |
| | |||||
* | eth: enable bad block reports | Felix Lange | 2016-05-25 | 1 | -0/+6 |
| | | | | | | | | | | | | 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. | ||||
* | eth: add new RPC method (personal.) SignAndSendTransaction | Bas van Kervel | 2016-05-20 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | 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 |
| | | |||||
* | | cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner | Péter Szilágyi | 2016-05-11 | 1 | -1/+1 |
|/ | |||||
* | cmd/utils: fix build on *BSD | Felix Lange | 2016-05-09 | 2 | -1/+55 |
| | |||||
* | 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. | ||||
* | cmd/geth: fixed to use proper version string for output | Jeffrey Wilcke | 2016-05-03 | 1 | -1/+1 |
| | |||||
* | cmd/geth, release: polish and deploy live release contract | Péter Szilágyi | 2016-05-02 | 1 | -1/+1 |
| | |||||
* | release, all: integrate the release service into geth | Péter Szilágyi | 2016-05-02 | 2 | -30/+43 |
| | |||||
* | common/versions, cmd/utils: add geth version contract | Gustav Simonsson | 2016-05-02 | 1 | -0/+7 |
| | |||||
* | 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 #2478 from fjl/geth-js-tweak | Felix Lange | 2016-04-26 | 2 | -12/+26 |
|\ \ | | | | | | | cmd/geth, jsre: improve the js command | ||||
| * | | cmd/geth, jsre: improve the js command | Felix Lange | 2016-04-21 | 2 | -12/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -2/+2 |
|/ | |||||
* | rpc: move web3.js extensions to internal/web3ext | Felix Lange | 2016-04-15 | 1 | -1/+2 |
| | |||||
* | all: fix go vet warnings | Felix Lange | 2016-04-15 | 4 | -9/+10 |
| | |||||
* | all: update license information | Felix Lange | 2016-04-15 | 4 | -22/+22 |
| | |||||
* | cmd/utils: strip excessive whitespace from api command line arguments | Bas van Kervel | 2016-04-14 | 1 | -2/+12 |
| | |||||
* | 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 | 16 | -444/+1092 |
|\ | | | | | accounts: cache key addresses | ||||
| * | accounts: improve API and add documentation | Felix Lange | 2016-04-12 | 1 | -1/+6 |
| | | | | | | | | | | - 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 | 3 | -2/+107 |
| | | |||||
| * | 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 |
| | | |||||
| * | accounts: add ErrDecrypt | Felix Lange | 2016-04-12 | 2 | -2/+2 |
| | | |||||
| * | accounts: cache key addresses | Felix Lange | 2016-04-12 | 2 | -8/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | cmd/geth: add tests for account commands | Felix Lange | 2016-04-12 | 7 | -1/+522 |
| | | |||||
| * | accounts: streamline API | Felix Lange | 2016-04-12 | 5 | -33/+15 |
| | | | | | | | | | | | | - 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, crypto: move keystore to package accounts | Felix Lange | 2016-04-12 | 3 | -34/+20 |
| | | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | | | | | | | | Unlocking the accounts in the test doesn't help with anything. | ||||
* | | 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 | 5 | -108/+83 |
|\ | | | | | rpc: several fixes and support for optional arguments | ||||
| * | rpc: various fixes/enhancements | Bas van Kervel | 2016-04-12 | 5 | -108/+83 |
| | | | | | | | | | | | | | | | | 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 |
| |/ | |||||
* / | cmd/utils: bugfix where database is opened multiple times | Bas van Kervel | 2016-04-07 | 1 | -7/+11 |
|/ | |||||
* | Merge pull request #2378 from obscuren/enable-jit-a-b | Jeffrey Wilcke | 2016-04-04 | 1 | -1/+13 |
|\ | | | | | cmd/utils, miner: A/B testing JIT VM. Disabled for miners | ||||
| * | cmd/utils, miner: A/B testing JIT VM. Disabled for miners | Jeffrey Wilcke | 2016-04-01 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | This PR introduces a 10% probability that you'll run the client with the JIT enabled testing the new client and helps us potentially catch errors when reported. This feature is **disabled** for miners (disabling the JIT completely). The JIT can however be force for miners if they enable both --jitvm and --forcejit. | ||||
* | | cmd/geth: add missing gas target flag (fixing 0 convergence issue) | Péter Szilágyi | 2016-04-04 | 2 | -1/+2 |
| | | |||||
* | | cmd/geth, eth: move --genesis deprecation warning to cmd/geth | Felix Lange | 2016-04-02 | 1 | -0/+6 |
| | | | | | | | | This prevents display of the warning for --dev and --olympic. | ||||
* | | cmd/utils: fix geth startup with empty database | Felix Lange | 2016-04-02 | 1 | -14/+13 |
|/ | |||||
* | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 6 | -32/+108 |
| | | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings. | ||||
* | accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns | Péter Szilágyi | 2016-03-26 | 1 | -0/+12 |
| | |||||
* | accounts/abi/bind, cmd/abigen: port to templates, bind to solidity | Péter Szilágyi | 2016-03-24 | 1 | -20/+64 |
| | |||||
* | accounts/abi/bind: constructor, auth utils and various backends | Péter Szilágyi | 2016-03-24 | 1 | -4/+13 |
| | |||||
* | accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI | Péter Szilágyi | 2016-03-24 | 1 | -0/+71 |
| | |||||
* | Merge pull request #2141 from obscuren/evm-init | Jeffrey Wilcke | 2016-03-24 | 5 | -19/+16 |
|\ | | | | | core, core/vm, tests: changed the initialisation behaviour of the EVM | ||||
| * | core, eth, cmd: temporary work around for enabling the jit | Jeffrey Wilcke | 2016-03-24 | 1 | -0/+2 |
| | | | | | | | | | | This commit serves as a temporary workaround for enabling the jit until the block customisation PR is merged in. | ||||
| * | core: Added EVM configuration options | Jeffrey Wilcke | 2016-03-24 | 5 | -21/+9 |
| | | | | | | | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options. | ||||
| * | core, core/vm, tests: changed the initialisation behaviour of the EVM | Jeffrey Wilcke | 2016-03-23 | 1 | -1/+8 |
| | | | | | | | | | | | | | | The EVM was previously initialised and created for every CALL, CALLCODE, DELEGATECALL and CREATE. This PR changes this behaviour so that the same EVM can be used through the session and beyond as long as the Environment sticks around. | ||||
* | | Merge pull request #2371 from hiddentao/fix_prompt_passwd_input | Jeffrey Wilcke | 2016-03-24 | 1 | -0/+1 |
|\ \ | | | | | | | Strip extraneous carriage return from end of entered password | ||||
| * | | cmd/utils: removed password line endings when not using liner. | Ramesh Nair | 2016-03-23 | 1 | -0/+1 |
| |/ | |||||
* | | Merge pull request #2259 from bas-vk/http | Jeffrey Wilcke | 2016-03-23 | 1 | -1/+1 |
|\ \ | |/ |/| | rpc/http: improve request handling | ||||
| * | rpc/http: improve request handling | Bas van Kervel | 2016-03-23 | 1 | -1/+1 |
| | | |||||
* | | cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic | Felix Lange | 2016-03-12 | 1 | -1/+2 |
|/ | | | | | Go 1.6 only prints stacks for the current goroutine by default, but for this panic we want to see all of them. | ||||
* | cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache | Péter Szilágyi | 2016-03-09 | 4 | -2/+146 |
| | |||||
* | console: allow optional password on the command line | Bas van Kervel | 2016-03-08 | 1 | -9/+15 |
| | |||||
* | cmd/utils: add --keystore | Kobi Gurkan | 2016-03-08 | 3 | -2/+19 |
| | |||||
* | cmd/utils, params: homestead block | Jeffrey Wilcke | 2016-02-29 | 1 | -0/+2 |
| | |||||
* | Merge pull request #2269 from obscuren/repl-multi-line | Jeffrey Wilcke | 2016-02-29 | 1 | -1/+0 |
|\ | | | | | cmd/geth: removed multiline support | ||||
| * | cmd/geth: removed multiline support | Jeffrey Wilcke | 2016-02-27 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | When attempting to paste very long lines of text the REPL goes completely fubar, never completing the paste. Removing the multiline support "fixes" this. Long lines of text are usually pasted when deploying contracts and as it stands right now makes creating new contracts from the REPL impossible. | ||||
* | | cmd/utils: lower the min accepted gas price for relay and GPO to 20 shannon | Jeffrey Wilcke | 2016-02-29 | 1 | -2/+2 |
|/ | |||||
* | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -1/+1 |
| | | | | As we aren't really using the standarized SHA-3 | ||||
* | parmas, crypto, core, core/vm: homestead consensus protocol changes | Gustav Simonsson | 2016-02-18 | 1 | -0/+5 |
| | | | | | | | | * change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code | ||||
* | Merge pull request #2206 from fjl/update-deps | Jeffrey Wilcke | 2016-02-17 | 2 | -91/+30 |
|\ | | | | | Godeps: update all dependencies | ||||
| * | cmd/geth, jsre: improve auto-completion | Felix Lange | 2016-02-15 | 1 | -64/+5 |
| | | |||||
| * | cmd/geth: enable multi-line mode | Felix Lange | 2016-02-12 | 1 | -0/+1 |
| | | | | | | | | | | This was requested by some users earlier but liner didn't support it at the time. It does now. | ||||
| * | cmd/geth: gofmt js.go and rename ethereum.js to web3.js | Felix Lange | 2016-02-12 | 1 | -6/+6 |
| | | | | | | | | | | Fixing the filename matters now because it will actually show up in JS backtraces. | ||||
| * | cmd/geth: update monitor to new termui code | Péter Szilágyi | 2016-02-11 | 1 | -25/+22 |
| | | |||||
* | | Merge pull request #2175 from karalabe/refactor-http-rpc | Péter Szilágyi | 2016-02-13 | 6 | -246/+83 |
|\ \ | |/ |/| | cmd, common, node, rpc: move HTTP RPC into node, drop singleton aspect | ||||
| * | cmd, node, rpc: readd inproc RPC client, expose via node | Péter Szilágyi | 2016-02-09 | 3 | -7/+4 |
| | | |||||
| * | cmd, common, node, rpc: rework naming convention to canonical one | Péter Szilágyi | 2016-02-09 | 7 | -41/+41 |
| | | |||||
| * | cmd, node, rpc: move websockets into node, break singleton | Péter Szilágyi | 2016-02-05 | 6 | -181/+55 |
| | | |||||
| * | cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspect | Péter Szilágyi | 2016-02-05 | 3 | -62/+28 |
| | | |||||
* | | cmd/utils: fix jspath flag typo | Isidoro Ghezzi | 2016-02-05 | 1 | -1/+1 |
|/ | |||||
* | cmd, common, node, rpc: move IPC into the node itself | Péter Szilágyi | 2016-02-04 | 5 | -129/+18 |
| | |||||
* | cmd, eth, rpc: fix some RPC issues with pending blocks | Péter Szilágyi | 2016-02-03 | 1 | -0/+4 |
| | |||||
* | internal/debug: APIs for profiling and tracing | Felix Lange | 2016-01-28 | 3 | -78/+23 |
| | | | | | | 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. | ||||
* | rpc: migrated the RPC insterface to a new reflection based RPC layer | Bas van Kervel | 2016-01-26 | 10 | -354/+808 |
| | |||||
* | console: add admin.sleep and admin.sleepBlocks | Bas van Kervel | 2016-01-19 | 1 | -0/+9 |
| | |||||
* | Merge pull request #2064 from fjl/remove-common-rlp | Jeffrey Wilcke | 2015-12-19 | 1 | -3/+2 |
|\ | | | | | common: remove old RLP implementation, Value and ExtPackage | ||||
| * | common: remove old RLP implementation, Value and ExtPackage | Felix Lange | 2015-12-18 | 1 | -3/+2 |
| | | | | | | | | | | In order to make this happen, kill all remaining trivial uses of common/{rlp,value}.go. The non-trivial ones have been updated earlier. | ||||
* | | 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 #2072 from karalabe/admin-debug-apis | Felix Lange | 2015-12-15 | 2 | -2/+2 |
|\ | | | | | 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 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #2070 from karalabe/android-archives | Felix Lange | 2015-12-15 | 1 | -0/+56 |
|\ \ | |/ |/| | Makefile, cmd/geth: support building Android archives | ||||
| * | Makefile, cmd/geth: support building Android archives | Péter Szilágyi | 2015-12-14 | 1 | -0/+56 |
| | | |||||
* | | Merge pull request #2035 from bas-vk/rcp-v2-rebase | Felix Lange | 2015-12-15 | 7 | -10/+207 |
|\ \ | |/ |/| | rpc: new RPC implementation with pub/sub support | ||||
| * | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 7 | -10/+207 |
| | | |||||
* | | Makefile, cmd/geth: assemble ios xcode frameworks | Péter Szilágyi | 2015-12-09 | 3 | -1/+72 |
|/ | |||||
* | 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. | ||||
* | console: fix instance name printed incorrect on start | Bas van Kervel | 2015-11-30 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1970 from karalabe/customizable-protocol-stacks | Jeffrey Wilcke | 2015-11-27 | 8 | -538/+705 |
|\ | | | | | Customizable protocol stacks | ||||
| * | cmd, eth, node, rpc, xeth: use single-instance services | Péter Szilágyi | 2015-11-27 | 5 | -16/+20 |
| | | |||||
| * | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 7 | -411/+527 |
| | | |||||
| * | cmd: drop blocktest command, create gethrpctest program | Péter Szilágyi | 2015-11-27 | 2 | -135/+182 |
| | | |||||
* | | cmd, crypto: fixed nil public keys and updated web3 | Jeffrey Wilcke | 2015-11-26 | 1 | -2/+2 |
|/ | |||||
* | cmd/geth, cmd/utils: removed legalese | Jeffrey Wilcke | 2015-11-19 | 3 | -77/+0 |
| | | | | Removed the legalese confirmation dialog. This closes #1992 | ||||
* | core, eth, rpc: split out block validator and state processor | Jeffrey Wilcke | 2015-11-18 | 1 | -2/+0 |
| | | | | | | | | | | | | 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). | ||||
* | cmd/geth, cmd/utils: surface the light KDF flag to the CLI | Péter Szilágyi | 2015-11-10 | 3 | -2/+4 |
| | |||||
* | cmd/geth: fix recover command crash if no param is supplied | Péter Szilágyi | 2015-11-05 | 1 | -2/+2 |
| | |||||
* | VERSION, cmd/geth: bumped version 1.4.0 | Jeffrey Wilcke | 2015-11-03 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1949 from karalabe/update-command-usage | Jeffrey Wilcke | 2015-10-30 | 3 | -71/+265 |
|\ | | | | | 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 | 3 | -71/+265 |
| | | |||||
* | | cmd/utils, rpc/comms: stop XEth when IPC connection ends | Felix Lange | 2015-10-30 | 1 | -7/+4 |
|/ | | | | | | | | | | | 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. | ||||
* | cmd/utils, crypto: add --lightkdf flag for lighter KDF | Drake Burroughs | 2015-10-29 | 1 | -1/+11 |
| | |||||
* | rpc api: eth_getNatSpec | zelig | 2015-10-27 | 3 | -25/+26 |
| | | | | | | | | * 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 | ||||
* | fix console history, lines with leadning whitespace NOT included | zelig | 2015-10-24 | 1 | -1/+1 |
| | |||||
* | console: | zelig | 2015-10-22 | 4 | -58/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 1 | -0/+3 |
|\ | | | | | core/vm: JIT segmentation | ||||
| * | core/vm: added JIT segmenting / optimisations | Jeffrey Wilcke | 2015-10-17 | 1 | -0/+3 |
| | | | | | | | | | | * multi-push segments * static jumps segments | ||||
* | | eth: clean out light node notions from eth | Péter Szilágyi | 2015-10-19 | 2 | -38/+5 |
| | | |||||
* | | cmd, eth: support switching client modes of operation | Péter Szilágyi | 2015-10-19 | 2 | -3/+22 |
|/ | |||||
* | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 3 | -3/+51 |
|\ | | | | | all: Add GPU mining, disabled by default | ||||
| * | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 3 | -3/+51 |
| | | |||||
* | | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 3 | -5/+13 |
| | | |||||
* | | Merge pull request #1888 from obscuren/testnet | Jeffrey Wilcke | 2015-10-09 | 2 | -0/+19 |
|\ \ | | | | | | | cmd, core, eth: added official testnet | ||||
| * | | cmd, core, eth: added official testnet | Jeffrey Wilcke | 2015-10-09 | 2 | -0/+19 |
| | | |