Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd, les, eth, eth/gasprice: using new gas price oracle (#13853) | Felföldi Zsolt | 2017-04-06 | 1 | -33/+9 |
| | | | | | | | | | | | | * cmd, les, eth, eth/gasprice: using new gas price oracle * eth/gasprice: renamed source file * eth/gasprice: added security checks for gpo params * eth/gasprice: fixed naming issues * eth/gasprice: max limit, maxEmpty | ||||
* | core, consensus: pluggable consensus engines (#3817) | Péter Szilágyi | 2017-04-05 | 1 | -5/+5 |
| | | | | | This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface. | ||||
* | core: refactor genesis handling | Felix Lange | 2017-03-23 | 1 | -73/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit solves several issues concerning the genesis block: * Genesis/ChainConfig loading was handled by cmd/geth code. This left library users in the cold. They could specify a JSON-encoded string and overwrite the config, but didn't get any of the additional checks performed by geth. * Decoding and writing of genesis JSON was conflated in WriteGenesisBlock. This made it a lot harder to embed the genesis block into the forthcoming config file loader. This commit changes things so there is a single Genesis type that represents genesis blocks. All uses of Write*Genesis* are changed to use the new type instead. * If the chain config supplied by the user was incompatible with the current chain (i.e. the chain had already advanced beyond a scheduled fork), it got overwritten. This is not an issue in practice because previous forks have always had the highest total difficulty. It might matter in the future though. The new code reverts the local chain to the point of the fork when upgrading configuration. The change to genesis block data removes compression library dependencies from package core. | ||||
* | all: finish integrating Go ethash, delete C++ vendor | Péter Szilágyi | 2017-03-09 | 1 | -7/+8 |
| | |||||
* | cmd, eth, les, node, pow: disk caching and progress reports | Péter Szilágyi | 2017-03-09 | 1 | -1/+60 |
| | |||||
* | all: swap out the C++ ethash to the pure Go one (mining todo) | Péter Szilágyi | 2017-03-09 | 1 | -4/+3 |
| | |||||
* | * cmd/geth: add --nocompaction flag + multiple import files | Martin Holst Swende | 2017-03-08 | 1 | -1/+4 |
| | | | | | | | | | | * main,import: Add --nocompaction flag + multiple import files * geth/import: documentation * import: Added more info to err message * fix :P | ||||
* | Logger updates 3 (#3730) | Péter Szilágyi | 2017-03-02 | 2 | -13/+12 |
| | | | | | | | | * accounts, cmd, eth, ethdb: port logs over to new system * ethdb: drop concept of cache distribution between dbs * eth: fix some log nitpicks to make them nicer | ||||
* | cmd/utils, core, params: fork all teh things for dev mode (#3697) | Jeffrey Wilcke | 2017-03-01 | 1 | -0/+2 |
| | |||||
* | common: move big integer math to common/math (#3699) | Felix Lange | 2017-02-27 | 3 | -50/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common: remove CurrencyToString Move denomination values to params instead. * common: delete dead code * common: move big integer operations to common/math This commit consolidates all big integer operations into common/math and adds tests and documentation. There should be no change in semantics for BigPow, BigMin, BigMax, S256, U256, Exp and their behaviour is now locked in by tests. The BigD, BytesToBig and Bytes2Big functions don't provide additional value, all uses are replaced by new(big.Int).SetBytes(). BigToBytes is now called PaddedBigBytes, its minimum output size parameter is now specified as the number of bytes instead of bits. The single use of this function is in the EVM's MSTORE instruction. Big and String2Big are replaced by ParseBig, which is slightly stricter. It previously accepted leading zeros for hexadecimal inputs but treated decimal inputs as octal if a leading zero digit was present. ParseUint64 is used in places where String2Big was used to decode a uint64. The new functions MustParseBig and MustParseUint64 are now used in many places where parsing errors were previously ignored. * common: delete unused big integer variables * accounts/abi: replace uses of BytesToBig with use of encoding/binary * common: remove BytesToBig * common: remove Bytes2Big * common: remove BigTrue * cmd/utils: add BigFlag and use it for error-checked integer flags While here, remove environment variable processing for DirectoryFlag because we don't use it. * core: add missing error checks in genesis block parser * common: remove String2Big * cmd/evm: use utils.BigFlag * common/math: check for 256 bit overflow in ParseBig This is supposed to prevent silent overflow/truncation of values in the genesis block JSON. Without this check, a genesis block that set a balance larger than 256 bits would lead to weird behaviour in the VM. * cmd/utils: fixup import | ||||
* | cmd, whisper/mailserver: revert to utils.Fatalf | Péter Szilágyi | 2017-02-23 | 2 | -22/+21 |
| | |||||
* | accounts, cmd: port packages over to the new logging system | Péter Szilágyi | 2017-02-23 | 1 | -9/+0 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 2 | -38/+36 |
| | |||||
* | accounts, cmd, eth, internal, miner, node: wallets and HD APIs | Péter Szilágyi | 2017-02-13 | 1 | -1/+1 |
| | |||||
* | accounts, cmd, eth, internal, mobile, node: split account backends | Péter Szilágyi | 2017-02-13 | 1 | -7/+13 |
| | |||||
* | les, cmd/util: disable topic discovery with --nodiscover | Zsolt Felfoldi | 2017-01-27 | 1 | -2/+6 |
| | |||||
* | Merge pull request #3579 from bas-vk/natspec | Péter Szilágyi | 2017-01-17 | 1 | -5/+0 |
|\ | | | | | cmd,eth,les,internal: remove natspec support | ||||
| * | cmd,eth,les,internal: remove natspec support | Bas van Kervel | 2017-01-17 | 1 | -5/+0 |
| | | |||||
* | | cmd/geth, core: add support for recording SHA3 preimages (#3543) | Nick Johnson | 2017-01-17 | 1 | -1/+7 |
|/ | |||||
* | core: remove support for Olympic network | Bas van Kervel | 2017-01-12 | 1 | -31/+3 |
| | |||||
* | Merge pull request #3546 from fjl/deps-update | Péter Szilágyi | 2017-01-11 | 1 | -4/+1 |
|\ | | | | | vendor: update dependencies | ||||
| * | vendor: update all dependencies except Azure SDK | Felix Lange | 2017-01-11 | 1 | -4/+1 |
| | | | | | | | | | | The Azure SDK doesn't support Go 1.5 anymore. We can't upgrade it until Go 1.8 comes out. | ||||
* | | cmd/utils: fix comma-separated --bootnodes | Felix Lange | 2017-01-11 | 1 | -4/+4 |
|/ | |||||
* | all: fix ineffectual assignments and remove uses of crypto.Sha3 | Felix Lange | 2017-01-09 | 1 | -6/+1 |
| | | | | | go get github.com/gordonklaus/ineffassign ineffassign . | ||||
* | logger, pow/dagger, pow/ezp: delete dead code | Felix Lange | 2017-01-07 | 1 | -1/+0 |
| | |||||
* | all: fix issues reported by honnef.co/go/simple/cmd/gosimple | Felix Lange | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3518 from fjl/ethclient-dependency-cleanup | Péter Szilágyi | 2017-01-06 | 1 | -17/+14 |
|\ | | | | | core/types: dependency cleanup | ||||
| * | 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. | ||||
* | | Merge pull request #3515 from bas-vk/exportropsten | Péter Szilágyi | 2017-01-05 | 1 | -0/+8 |
|\ \ | |/ |/| | core,cmd/utils: bugfix for ropsten dump imports | ||||
| * | core,cmd/utils: bugfix for ropsten dump imports | Bas van Kervel | 2017-01-05 | 1 | -0/+8 |
| | | |||||
* | | 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/utils, eth: Add gzip support for chain dump and restore | Nick Johnson | 2016-12-14 | 1 | -3/+28 |
| | |||||
* | 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 | 1 | -16/+0 |
| | |||||
* | cmd/bzzd: swarm daemon fixes (#3359) | Viktor Trón | 2016-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | | * 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 | 2 | -69/+27 |
| | |||||
* | Merge pull request #3325 from fjl/p2p-netrestrict | Felix Lange | 2016-11-25 | 1 | -0/+15 |
|\ | | | | | Prevent relay of invalid IPs, add --netrestrict | ||||
| * | cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrict | Felix Lange | 2016-11-23 | 1 | -0/+15 |
| | | |||||
* | | 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 | 1 | -23/+9 |
| | | |||||
* | | cmd/geth, core, light, mobile: removed state account StartingNonce | Jeffrey Wilcke | 2016-11-23 | 1 | -3/+0 |
|/ | | | | All account's nonce start at 0. | ||||
* | 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 | 2 | -8/+26 |
|/ | |||||
* | 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 | 1 | -15/+16 |
| | | | | | | | | | | | | | | | 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> | ||||
* | all: update license information | Felix Lange | 2016-11-09 | 1 | -1/+1 |
| | |||||
* | p2p/discv5: added new topic discovery package | Zsolt Felfoldi | 2016-11-09 | 1 | -6/+11 |
| | |||||
* | cmd, eth: added light client and light server modes | zsfelfoldi | 2016-11-09 | 1 | -5/+53 |
| | |||||
* | Merge pull request #3195 from karalabe/fix-testnet-fastsync | Péter Szilágyi | 2016-10-29 | 1 | -19/+35 |
|\ | | | | | 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 | 1 | -25/+34 |
| | | |||||
| * | 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 | 1 | -1/+1 |
|/ | | | | | | | 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. | ||||
* | Godeps, vendor: convert dependency management to trash (#3198) | Péter Szilágyi | 2016-10-29 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | 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, core/state: allow configurable trie cache generations | Péter Szilágyi | 2016-10-19 | 1 | -5/+15 |
| | |||||
* | core, core/vm: added gas price variance table | Jeffrey Wilcke | 2016-10-15 | 1 | -0/+7 |
| | | | | | | | | | | | | | 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. | ||||
* | Merge pull request #2914 from fjl/node-coinhabit | Felix Lange | 2016-09-29 | 2 | -34/+46 |
|\ | | | | | cmd/utils, node: make datadir reusable for bzzd | ||||
| * | common, node: move datadir defaults into package node | Felix Lange | 2016-09-16 | 2 | -10/+20 |
| | | |||||
| * | node: ensure datadir can be co-inhabited by different instances | Felix Lange | 2016-09-16 | 1 | -24/+26 |
| | | | | | | | | | | 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 | 1 | -6/+0 |
| | |||||
* | cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utils | Felix Lange | 2016-09-05 | 2 | -11/+77 |
| | |||||
* | contracts/release: move package release to contracts/ | Felix Lange | 2016-08-30 | 1 | -1/+1 |
| | | | | | | 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/utils: removed DAO oppose / support message | Jeffrey Wilcke | 2016-08-22 | 1 | -17/+0 |
| | |||||
* | cmd/utils, node: create account manager in package node | Felix Lange | 2016-08-17 | 1 | -85/+50 |
| | | | | | | | | | | | | | | | 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 | 1 | -55/+0 |
| | | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum. | ||||
* | 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 | 1 | -4/+5 |
| | |||||
* | cmd, core, miner: add extradata validation to consensus rules | Péter Szilágyi | 2016-07-15 | 1 | -27/+26 |
| | |||||
* | cmd, core, eth, params: implement flags to control dao fork blocks | Péter Szilágyi | 2016-07-15 | 1 | -36/+40 |
| | |||||
* | Merge pull request #2159 from zsfelfoldi/light-backend | Péter Szilágyi | 2016-06-30 | 1 | -0/+7 |
|\ | | | | | 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 | 1 | -0/+7 |
| | | |||||
* | | Revert "test, cmd/evm, core, core/vm: illegal code hash implementation" | Péter Szilágyi | 2016-06-29 | 1 | -16/+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 | 1 | -7/+16 |
| | | | | | | | | This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0. | ||||
* | | core: update DAO soft-fork number, clean up the code | Péter Szilágyi | 2016-06-23 | 1 | -16/+7 |
| | | |||||
* | | 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 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | 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 | 1 | -1/+1 |
|\ | | | | | core: improved chain db performance by using sequential keys | ||||
| * | core: improved chainDb using sequential keys | zsfelfoldi | 2016-06-07 | 1 | -1/+1 |
| | | |||||
* | | cmd/geth: codegansta/cli package renamed to urfave/cli | Bas van Kervel | 2016-06-09 | 3 | -3/+3 |
|/ | |||||
* | cmd, console: split off the console into a reusable package | Péter Szilágyi | 2016-05-30 | 3 | -400/+18 |
| | |||||
* | 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. | ||||
* | release, all: integrate the release service into geth | Péter Szilágyi | 2016-05-02 | 1 | -8/+6 |
| | |||||
* | common/versions, cmd/utils: add geth version contract | Gustav Simonsson | 2016-05-02 | 1 | -0/+7 |
| | |||||
* | cmd: add a `--fakepow` flag to help benchmarking database changes | Péter Szilágyi | 2016-04-21 | 1 | -3/+10 |
| | |||||
* | all: fix go vet warnings | Felix Lange | 2016-04-15 | 1 | -6/+3 |
| | |||||
* | all: update license information | Felix Lange | 2016-04-15 | 2 | -14/+14 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | accounts: streamline API | Felix Lange | 2016-04-12 | 1 | -11/+7 |
| | | | | | | - Manager.Accounts no longer returns an error. - Manager methods take Account instead of common.Address. - All uses of Account with unkeyed fields are converted. | ||||
* | accounts, crypto: move keystore to package accounts | Felix Lange | 2016-04-12 | 1 | -12/+7 |
| | | | | | | | | | | 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 | 3 | -54/+103 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Merge pull request #2359 from bas-vk/rpc-optional-args | Jeffrey Wilcke | 2016-04-12 | 2 | -105/+80 |
|\ | | | | | rpc: several fixes and support for optional arguments | ||||
| * | rpc: various fixes/enhancements | Bas van Kervel | 2016-04-12 | 2 | -105/+80 |
| | | | | | | | | | | | | | | | | 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 | 1 | -0/+4 |
|\ \ | | | | | | | cmd/geth: add JS preload parameter | ||||
| * | | cmd/geth: add JS preload parameter | Bas van Kervel | 2016-04-11 | 1 | -0/+4 |
| |/ | |||||
* / | 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/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 | 1 | -19/+53 |
| | | | | | | | | | 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. | ||||
* | Merge pull request #2141 from obscuren/evm-init | Jeffrey Wilcke | 2016-03-24 | 1 | -11/+2 |
|\ | | | | | 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 | 1 | -11/+0 |
| | | | | | | | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options. | ||||
* | | 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 | 1 | -2/+17 |
| | |||||
* | cmd/utils, params: homestead block | Jeffrey Wilcke | 2016-02-29 | 1 | -0/+2 |
| | |||||
* | cmd/utils: lower the min accepted gas price for relay and GPO to 20 shannon | Jeffrey Wilcke | 2016-02-29 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2175 from karalabe/refactor-http-rpc | Péter Szilágyi | 2016-02-13 | 2 | -176/+39 |
|\ | | | | | 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 | 1 | -1/+0 |
| | | |||||
| * | cmd, common, node, rpc: rework naming convention to canonical one | Péter Szilágyi | 2016-02-09 | 2 | -27/+27 |
| | | |||||
| * | cmd, node, rpc: move websockets into node, break singleton | Péter Szilágyi | 2016-02-05 | 2 | -143/+15 |
| | | |||||
| * | cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspect | Péter Szilágyi | 2016-02-05 | 1 | -28/+20 |
| | | |||||
* | | 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 | 2 | -62/+13 |
| | |||||
* | internal/debug: APIs for profiling and tracing | Felix Lange | 2016-01-28 | 1 | -54/+6 |
| | | | | | | 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 | 4 | -143/+587 |
| | |||||
* | core, eth, node, rpc: port the admin and debug API | Péter Szilágyi | 2015-12-15 | 1 | -1/+1 |
| | |||||
* | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 2 | -5/+121 |
| | |||||
* | cmd/utils: restore starting geth without any accounts and etherbase | Felix Lange | 2015-12-01 | 1 | -19/+13 |
| | | | | Also remove some duplication around address/index parsing. | ||||
* | cmd, eth, node, rpc, xeth: use single-instance services | Péter Szilágyi | 2015-11-27 | 1 | -3/+7 |
| | |||||
* | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 3 | -130/+327 |
| | |||||
* | cmd/geth, cmd/utils: removed legalese | Jeffrey Wilcke | 2015-11-19 | 2 | -51/+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 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1949 from karalabe/update-command-usage | Jeffrey Wilcke | 2015-10-30 | 1 | -67/+52 |
|\ | | | | | 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 | 1 | -67/+52 |
| | | |||||
* | | 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 | 1 | -2/+8 |
| | | | | | | | | * 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 | ||||
* | console: | zelig | 2015-10-22 | 2 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 1 | -35/+4 |
| | | |||||
* | | cmd, eth: support switching client modes of operation | Péter Szilágyi | 2015-10-19 | 1 | -3/+21 |
|/ | |||||
* | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 1 | -0/+6 |
|\ | | | | | all: Add GPU mining, disabled by default | ||||
| * | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #1888 from obscuren/testnet | Jeffrey Wilcke | 2015-10-09 | 1 | -0/+18 |
|\ \ | | | | | | | cmd, core, eth: added official testnet | ||||
| * | | cmd, core, eth: added official testnet | Jeffrey Wilcke | 2015-10-09 | 1 | -0/+18 |
| | | | |||||
* | | | cmd: properly initialize Olympic for all subcommands | Péter Szilágyi | 2015-10-07 | 2 | -14/+16 |
|/ / | |||||
* / | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 2 | -8/+8 |
|/ | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
* | common: fix #1818, secondary datadir paths to fall back to | Péter Szilágyi | 2015-10-01 | 1 | -3/+13 |
| | |||||
* | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 1 | -1/+1 |
| | |||||
* | cmd/geth, cmd/utils, eth: added dev mode flag | Jeffrey Wilcke | 2015-09-09 | 1 | -1/+32 |
| | | | | | | | | | | | | Dev mode enabled some debugging flags such as: * VM debugging mode * Simpler proof of work * Whisper enabled by default * Datadir to a tmp datadir * Maxpeers set to 0 * Gas price of 0 * Random listen port | ||||
* | eth: port the synchronisation algo to eth/62 | Péter Szilágyi | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | eth, eth/downloader: handle header requests, table driven proto tests | Péter Szilágyi | 2015-08-24 | 1 | -0/+17 |
| | |||||
* | Merge pull request #1635 from bas-vk/useragent | Jeffrey Wilcke | 2015-08-14 | 1 | -9/+16 |
|\ | | | | | support for user agents | ||||
| * | support for user agents | Bas van Kervel | 2015-08-12 | 1 | -9/+16 |
| | | |||||
* | | cmd/evm, core/vm, tests: changed DisableVm to EnableVm | Jeffrey Wilcke | 2015-08-12 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1604 from obscuren/db-merge | Jeffrey Wilcke | 2015-08-09 | 1 | -12/+6 |
|\ | | | | | core, eth, trie, xeth: merged state, chain, extra databases in one | ||||
| * | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 1 | -12/+6 |
| | | |||||
* | | Merge pull request #1611 from obscuren/expdiff-olympic-fix | Jeffrey Wilcke | 2015-08-09 | 1 | -0/+2 |
|\ \ | | | | | | | cmd/utils, core: disable exp diff for olympic net | ||||
| * | | cmd/utils, core: disable exp diff for olympic net | Jeffrey Wilcke | 2015-08-06 | 1 | -0/+2 |
| | | | |||||
* | | | core/vm, tests: implemented semi-jit vm | Jeffrey Wilcke | 2015-08-07 | 1 | -4/+27 |
| |/ |/| | | | | | * changed stack and removed stack ptr. Let go decide on slice reuse. | ||||
* | | cmd/utils: fix path expansion on windows | Felix Lange | 2015-08-06 | 2 | -10/+4 |
| | | |||||
* | | common: remove windows path functions | Felix Lange | 2015-08-06 | 1 | -1/+1 |
|/ | | | | They were unused and their tests failed on Windows. | ||||
* | miner: gas limit strategy, target 3141592 & def gas price 50 Shannon | Gustav Simonsson | 2015-08-04 | 1 | -3/+3 |
| | |||||
* | cmd, core, eth: support for the olympic network | Jeffrey Wilcke | 2015-08-04 | 2 | -0/+29 |
| | | | | Added a --olympic flag which initialiser the olympic protocol settings | ||||
* | cmd/util: lowered default gas price | Jeffrey Wilcke | 2015-07-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1510 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-23 | 5 | -8/+24 |
|\ | | | | | all: license fixes | ||||
| * | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 5 | -8/+24 |
| | | | | | | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | | Merge pull request #1508 from karalabe/database-caching | Jeffrey Wilcke | 2015-07-23 | 1 | -4/+12 |
|\ \ | |/ |/| | cmd, core, eth, ethdb: cache flag to allocate memory for db internal use | ||||
| * | cmd, core, eth, ethdb: cache flag to allocate memory for db internal use | Péter Szilágyi | 2015-07-22 | 1 | -4/+12 |
| | | |||||
* | | Update disclaimer | Taylor Gerring | 2015-07-21 | 2 | -17/+28 |
|/ | |||||
* | Move text to separate file | Taylor Gerring | 2015-07-16 | 2 | -11/+15 |
| | |||||
* | Prompt user to accept legalese when datadir doesn't exist | Taylor Gerring | 2015-07-16 | 1 | -6/+17 |
| | |||||
* | cmd, core, eth, common: genesis preparation | Jeffrey Wilcke | 2015-07-10 | 1 | -2/+7 |
| | | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block. | ||||
* | cmd/geth, cmd/utils: changed ParamsToAddress to return error | Jeffrey Wilcke | 2015-07-07 | 1 | -3/+7 |
| | | | | | ParamsToAddress no longer aborts the process, it now returns an error instead so that the caller can handle the error properly. | ||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: remove @author comments | Felix Lange | 2015-07-07 | 1 | -5/+0 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 4 | -15/+63 |
| | |||||
* | cmd,eth,rpc,tests: default coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -4/+24 |
| | |||||
* | cmd/utils: fix interrupt handling to actually see subsequent interrupts | Felix Lange | 2015-07-06 | 1 | -1/+1 |
| | |||||
* | cmd/geth, cmd/utils: improve interrupt handling | Felix Lange | 2015-07-06 | 1 | -34/+16 |
| | | | | | | | | | The new strategy for interrupts is to handle them explicitly. Ethereum.Stop is now only called once, even if multiple interrupts are sent. Interrupting ten times in a row forces a panic. Fixes #869 Fixes #1359 | ||||
* | Merge pull request #1283 from ethersphere/frontier/accounts | Jeffrey Wilcke | 2015-07-04 | 1 | -1/+1 |
|\ | | | | | Account management improvements | ||||
| * | unlock multiple passes and obsolete primary | zelig | 2015-07-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * multiple passwords allowed in password file * split on "\n", sideeffect: chop trailing slashes. fixes common mistake <(echo 'pass') * remove accounts.Primary method * do not fall back to primary account for mining | ||||
* | | Merge pull request #1392 from bas-vk/ipcpipelining | Jeffrey Wilcke | 2015-07-03 | 1 | -5/+5 |
|\ \ | | | | | | | Several bugfixes to IPC channel | ||||
| * | | ipcpath issue fix | Bas van Kervel | 2015-07-02 | 1 | -5/+5 |
| |/ | |||||
* / | core, miner: miner header validation, transaction & receipt writing | Jeffrey Wilcke | 2015-07-03 | 1 | -1/+1 |
|/ | | | | | | | | * Miners do now verify their own header, not their state. * Changed old putTx and putReceipts to be exported * Moved writing of transactions and receipts out of the block processer in to the chain manager. Closes #1386 * Miner post ChainHeadEvent & ChainEvent. Closes #1388 | ||||
* | cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61 | Péter Szilágyi | 2015-07-01 | 1 | -6/+0 |
| | |||||
* | cmd, core, eth, metrics, p2p: require enabling metrics | Péter Szilágyi | 2015-06-30 | 1 | -0/+6 |
| | |||||
* | added RPC start/stop support | Bas van Kervel | 2015-06-22 | 1 | -2/+2 |
| | |||||
* | added batch support to console and attach actions | Bas van Kervel | 2015-06-22 | 1 | -0/+4 |
| | |||||
* | removed old rpc structure and added new inproc api client | Bas van Kervel | 2015-06-22 | 1 | -2/+2 |
| | |||||
* | refactored old rpc structure to new | Bas van Kervel | 2015-06-22 | 1 | -4/+15 |
| | |||||
* | Changed miner and gpo min gas price to 1 szabo | zsfelfoldi | 2015-06-15 | 1 | -6/+6 |
| | |||||
* | fixed saving receipts | zsfelfoldi | 2015-06-15 | 1 | -27/+63 |
| | |||||
* | removed obsolete console flag | Bas van Kervel | 2015-06-12 | 1 | -1/+0 |
| | |||||
* | fixed windows ipc path issue | Bas van Kervel | 2015-06-12 | 1 | -1/+21 |
| | |||||
* | ipc socket always used default path | Bas van Kervel | 2015-06-12 | 1 | -1/+1 |
| | |||||
* | added API/IPC commandline flags | Bas van Kervel | 2015-06-11 | 1 | -0/+33 |
| | |||||
* | Merge pull request #1193 from tgerring/hotbackup | Jeffrey Wilcke | 2015-06-09 | 1 | -0/+15 |
|\ | | | | | Improve export command | ||||
| * | Allow export command to take first and last args | Taylor Gerring | 2015-06-06 | 1 | -0/+15 |
| | | |||||
* | | core: settable genesis nonce | obscuren | 2015-06-09 | 1 | -1/+12 |
|/ | | | | | | | You can set the nonce of the block with `--genesisnonce`. When the genesis nonce changes and it doesn't match with the first block in your database it will fail. A new `datadir` must be given if the nonce of the genesis block changes. | ||||
* | cmd/utils, eth: core.NewBlockProcessor no longer needs TxPool | Felix Lange | 2015-06-04 | 1 | -2/+1 |
| | |||||
* | cmd/utils: use constant for import batch size | Felix Lange | 2015-05-28 | 1 | -3/+6 |
| | |||||
* | cmd/utils: skip batches with known blocks during import | Felix Lange | 2015-05-28 | 1 | -3/+16 |
| | | | | This makes block importing restartable. | ||||
* | cmd/geth, cmd/utils: make chain importing interruptible | Felix Lange | 2015-05-28 | 1 | -5/+33 |
| | | | | | | Interrupting import with Ctrl-C could cause database corruption because the signal wasn't handled. utils.ImportChain now checks for a queued interrupt on every batch. | ||||
* | cmd/utils: print errors only once if stdout and stderr are the same file | Felix Lange | 2015-05-28 | 1 | -3/+10 |
| | |||||
* | cmd/geth, cmd/utils: rename utils.Get* -> utils.Make* | Felix Lange | 2015-05-28 | 1 | -7/+12 |
| | | | | | The renaming should make it clearer that these functions create a new instance for every call. @obscuren suggested this renaming a while ago. | ||||
* | cmd/geth, cmd/utils: don't use Ethereum for import, export and upgradedb | Felix Lange | 2015-05-28 | 2 | -54/+39 |
| | | | | | | The blockchain commands don't need the full stack. With this change, p2p, miner, downloader, etc are no longer started for blockchain operations. | ||||
* | cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flag | Péter Szilágyi | 2015-05-27 | 1 | -1/+5 |
| | |||||
* | automatic DAG pregeneration for smooth epoch transitions | zelig | 2015-05-21 | 1 | -0/+5 |
| | | | | | | | | - backend: AutoDAG bool flag passed from cli/eth.Config to ethereum, autoDAG loop started if true - backend: autoDAG loop start/stop, remove previous DAG - cli: AutoDAG bool flag, off by default, but automatically ON if mining - admin jsre: add startAutoDAG stopAutoDAG and makeDAG in miner section - switch on/off DAG autogeneration when miner started/stopped on console | ||||
* | solc now in ethereum, fixes solc path setting; setSolc() didnt work | zelig | 2015-05-20 | 1 | -0/+1 |
| | |||||
* | Merge pull request #1022 from obscuren/parallel_nonce_checks | Jeffrey Wilcke | 2015-05-19 | 1 | -1/+1 |
|\ | | | | | Parallelise nonce checks | ||||
| * | core: parallelise nonce checking when processing blocks | obscuren | 2015-05-18 | 1 | -1/+1 |
| | | | | | | | | | | | | ChainManager now uses a parallel approach to block processing where all nonces are checked seperatly from the block processing process. This speeds up the process by about 3 times on my i7 | ||||
* | | Remove unused confirm() method | Taylor Gerring | 2015-05-19 | 1 | -14/+0 |
| | | |||||
* | | Refactor user prompts into utils | Taylor Gerring | 2015-05-19 | 1 | -0/+44 |
|/ | |||||
* | core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21 | obscuren | 2015-05-16 | 1 | -1/+1 |
| | |||||
* | cmd/utils: print messages from package log through glog | Felix Lange | 2015-05-14 | 1 | -0/+1 |
| | | | | | Some of the dependencies use package log. This change ensures that the log output looks uniform and respects glog flags. | ||||
* | Change default keystore dir | Gustav Simonsson | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | removed redundant newlines in import block | Bas van Kervel | 2015-05-12 | 1 | -2/+1 |
| | |||||
* | replaced several path.* with filepath.* which is platform independent | Bas van Kervel | 2015-05-12 | 1 | -6/+7 |
| | |||||
* | cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosity | obscuren | 2015-05-09 | 1 | -4/+11 |
| | |||||
* | cmd/utils: bump default maxpeers to 25 | Felix Lange | 2015-05-08 | 1 | -1/+1 |
| | | | | | This should improve ethereum block propagation times since we're not not broadcasting blocks to 100% of peers. | ||||
* | Merge pull request #840 from karalabe/throttled-dialing | Jeffrey Wilcke | 2015-05-08 | 1 | -0/+6 |
|\ | | | | | p2p: throttled handshakes | ||||
| * | cmd, eth, p2p: introduce pending peer cli arg, add tests | Péter Szilágyi | 2015-05-07 | 1 | -0/+6 |
| | | |||||
* | | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 2 | -11/+9 |
|/ | | | | | | | | | | | | | * common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions | ||||
* | Integrate new ethash API and change geth makedag cmd | Gustav Simonsson | 2015-05-05 | 1 | -1/+1 |
| | |||||
* | core: return the index of the block that failed when inserting a chain | obscuren | 2015-04-29 | 1 | -2/+2 |
| | |||||
* | Merge pull request #805 from obscuren/download_improvements | Jeffrey Wilcke | 2015-04-25 | 1 | -1/+1 |
|\ | | | | | eth, eth/downloader: improve downloader and remove asynchronousness | ||||
| * | xeth, core, cmd/utils: Transaction can not be over block gas limit | obscuren | 2015-04-24 | 1 | -1/+1 |
| | | | | | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit | ||||
* | | cli: correct bootnodes flag usage help line | zelig | 2015-04-24 | 1 | -1/+1 |
| | | |||||
* | | cli: fatal error if rpc could not be started | zelig | 2015-04-24 | 1 | -2/+2 |
| | |