aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd, core, miner: add extradata validation to consensus rulesPéter Szilágyi2016-07-151-27/+26
|
* cmd, core, eth, params: implement flags to control dao fork blocksPéter Szilágyi2016-07-151-36/+40
|
* eth: separate common and full node-specific API and backend servicezsfelfoldi2016-06-161-0/+7
|
* Merge pull request #2455 from zsfelfoldi/chaindbJeffrey Wilcke2016-06-131-1/+1
|\ | | | | core: improved chain db performance by using sequential keys
| * core: improved chainDb using sequential keyszsfelfoldi2016-06-071-1/+1
| |
* | cmd/geth: codegansta/cli package renamed to urfave/cliBas van Kervel2016-06-091-1/+1
|/
* cmd, console: split off the console into a reusable packagePéter Szilágyi2016-05-301-1/+18
|
* release, all: integrate the release service into gethPéter Szilágyi2016-05-021-8/+6
|
* common/versions, cmd/utils: add geth version contractGustav Simonsson2016-05-021-0/+7
|
* cmd: add a `--fakepow` flag to help benchmarking database changesPéter Szilágyi2016-04-211-3/+10
|
* cmd/utils: strip excessive whitespace from api command line argumentsBas van Kervel2016-04-141-2/+12
|
* cmd/utils: fix --password on WindowsFelix Lange2016-04-121-9/+14
| | | | | Text files created on Windows typically have \r\n line endings. Trim them when reading password files.
* accounts: streamline APIFelix Lange2016-04-121-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 accountsFelix Lange2016-04-121-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.
* Merge pull request #2359 from bas-vk/rpc-optional-argsJeffrey Wilcke2016-04-121-4/+4
|\ | | | | rpc: several fixes and support for optional arguments
| * rpc: various fixes/enhancementsBas van Kervel2016-04-121-4/+4
| | | | | | | | | | | | | | | | 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-preloadJeffrey Wilcke2016-04-121-0/+4
|\ \ | | | | | | cmd/geth: add JS preload parameter
| * | cmd/geth: add JS preload parameterBas van Kervel2016-04-111-0/+4
| |/
* / cmd/utils: bugfix where database is opened multiple timesBas van Kervel2016-04-071-7/+11
|/
* Merge pull request #2378 from obscuren/enable-jit-a-bJeffrey Wilcke2016-04-041-1/+13
|\ | | | | cmd/utils, miner: A/B testing JIT VM. Disabled for miners
| * cmd/utils, miner: A/B testing JIT VM. Disabled for minersJeffrey Wilcke2016-04-011-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 databaseFelix Lange2016-04-021-14/+13
|/
* core: added basic chain configurationJeffrey Wilcke2016-04-011-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-initJeffrey Wilcke2016-03-241-11/+2
|\ | | | | core, core/vm, tests: changed the initialisation behaviour of the EVM
| * core, eth, cmd: temporary work around for enabling the jitJeffrey Wilcke2016-03-241-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 optionsJeffrey Wilcke2016-03-241-11/+0
| | | | | | | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options.
* | rpc/http: improve request handlingBas van Kervel2016-03-231-1/+1
|/
* cmd, eth, ethdb, node: prioritise chaindata for resources, bump cachePéter Szilágyi2016-03-091-2/+20
|
* cmd/utils: add --keystoreKobi Gurkan2016-03-081-2/+17
|
* cmd/utils, params: homestead blockJeffrey Wilcke2016-02-291-0/+2
|
* cmd/utils: lower the min accepted gas price for relay and GPO to 20 shannonJeffrey Wilcke2016-02-291-2/+2
|
* Merge pull request #2175 from karalabe/refactor-http-rpcPéter Szilágyi2016-02-131-56/+38
|\ | | | | cmd, common, node, rpc: move HTTP RPC into node, drop singleton aspect
| * cmd, common, node, rpc: rework naming convention to canonical onePéter Szilágyi2016-02-091-26/+26
| |
| * cmd, node, rpc: move websockets into node, break singletonPéter Szilágyi2016-02-051-25/+15
| |
| * cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspectPéter Szilágyi2016-02-051-28/+20
| |
* | cmd/utils: fix jspath flag typoIsidoro Ghezzi2016-02-051-1/+1
|/
* cmd, common, node, rpc: move IPC into the node itselfPéter Szilágyi2016-02-041-59/+12
|
* internal/debug: APIs for profiling and tracingFelix Lange2016-01-281-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 layerBas van Kervel2016-01-261-69/+88
|
* core, eth, node, rpc: port the admin and debug APIPéter Szilágyi2015-12-151-1/+1
|
* rpc: new RPC implementation with pub/sub supportBas van Kervel2015-12-141-5/+47
|
* cmd/utils: restore starting geth without any accounts and etherbaseFelix Lange2015-12-011-19/+13
| | | | Also remove some duplication around address/index parsing.
* cmd, eth, node, rpc, xeth: use single-instance servicesPéter Szilágyi2015-11-271-3/+7
|
* cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-271-124/+281
|
* core, eth, rpc: split out block validator and state processorJeffrey Wilcke2015-11-181-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 CLIPéter Szilágyi2015-11-101-2/+2
|
* Merge pull request #1949 from karalabe/update-command-usageJeffrey Wilcke2015-10-301-67/+52
|\ | | | | cmd/geth, cmd/utils, eth: group CLI flags by purpose
| * cmd/geth, cmd/utils, eth: group CLI flags by purposePéter Szilágyi2015-10-301-67/+52
| |
* | cmd/utils, rpc/comms: stop XEth when IPC connection endsFelix Lange2015-10-301-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 KDFDrake Burroughs2015-10-291-1/+11
|
* rpc api: eth_getNatSpeczelig2015-10-271-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:zelig2015-10-221-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-optimisationsJeffrey Wilcke2015-10-221-0/+3
|\ | | | | core/vm: JIT segmentation
| * core/vm: added JIT segmenting / optimisationsJeffrey Wilcke2015-10-171-0/+3
| | | | | | | | | | * multi-push segments * static jumps segments
* | eth: clean out light node notions from ethPéter Szilágyi2015-10-191-35/+4
| |
* | cmd, eth: support switching client modes of operationPéter Szilágyi2015-10-191-3/+21
|/
* Merge pull request #1869 from Gustav-Simonsson/gpu_minerJeffrey Wilcke2015-10-161-0/+6
|\ | | | | all: Add GPU mining, disabled by default
| * all: Add GPU mining, disabled by defaultGustav Simonsson2015-10-071-0/+6
| |
* | Merge pull request #1888 from obscuren/testnetJeffrey Wilcke2015-10-091-0/+18
|\ \ | | | | | | cmd, core, eth: added official testnet
| * | cmd, core, eth: added official testnetJeffrey Wilcke2015-10-091-0/+18
| | |
* | | cmd: properly initialize Olympic for all subcommandsPéter Szilágyi2015-10-071-1/+16
|/ /
* / cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-2/+2
|/ | | | | | * 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 toPéter Szilágyi2015-10-011-3/+13
|
* all: move common.Database to package ethdbFelix Lange2015-09-151-1/+1
|
* cmd/geth, cmd/utils, eth: added dev mode flagJeffrey Wilcke2015-09-091-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/62Péter Szilágyi2015-08-251-1/+1
|
* eth, eth/downloader: handle header requests, table driven proto testsPéter Szilágyi2015-08-241-0/+17
|
* Merge pull request #1635 from bas-vk/useragentJeffrey Wilcke2015-08-141-9/+16
|\ | | | | support for user agents
| * support for user agentsBas van Kervel2015-08-121-9/+16
| |
* | cmd/evm, core/vm, tests: changed DisableVm to EnableVmJeffrey Wilcke2015-08-121-1/+1
|/
* Merge pull request #1604 from obscuren/db-mergeJeffrey Wilcke2015-08-091-12/+6
|\ | | | | core, eth, trie, xeth: merged state, chain, extra databases in one
| * core, eth, trie, xeth: merged state, chain, extra databases in oneJeffrey Wilcke2015-08-081-12/+6
| |
* | core/vm, tests: implemented semi-jit vmJeffrey Wilcke2015-08-071-4/+27
|/ | | | * changed stack and removed stack ptr. Let go decide on slice reuse.
* common: remove windows path functionsFelix Lange2015-08-061-1/+1
| | | | They were unused and their tests failed on Windows.
* miner: gas limit strategy, target 3141592 & def gas price 50 ShannonGustav Simonsson2015-08-041-3/+3
|
* cmd, core, eth: support for the olympic networkJeffrey Wilcke2015-08-041-0/+12
| | | | Added a --olympic flag which initialiser the olympic protocol settings
* cmd/util: lowered default gas priceJeffrey Wilcke2015-07-251-1/+1
|
* Merge pull request #1510 from fjl/license-fixesJeffrey Wilcke2015-07-231-2/+2
|\ | | | | all: license fixes
| * all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-2/+2
| | | | | | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* | cmd, core, eth, ethdb: cache flag to allocate memory for db internal usePéter Szilágyi2015-07-221-4/+12
|/
* cmd, core, eth, common: genesis preparationJeffrey Wilcke2015-07-101-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 errorJeffrey Wilcke2015-07-071-3/+7
| | | | | ParamsToAddress no longer aborts the process, it now returns an error instead so that the caller can handle the error properly.
* all: update license informationFelix Lange2015-07-071-0/+16
|
* cmd,eth,rpc,tests: default coinbaseJeffrey Wilcke2015-07-071-4/+24
|
* Merge pull request #1283 from ethersphere/frontier/accountsJeffrey Wilcke2015-07-041-1/+1
|\ | | | | Account management improvements
| * unlock multiple passes and obsolete primaryzelig2015-07-031-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/ipcpipeliningJeffrey Wilcke2015-07-031-5/+5
|\ \ | | | | | | Several bugfixes to IPC channel
| * | ipcpath issue fixBas van Kervel2015-07-021-5/+5
| |/
* / core, miner: miner header validation, transaction & receipt writingJeffrey Wilcke2015-07-031-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/61Péter Szilágyi2015-07-011-6/+0
|
* cmd, core, eth, metrics, p2p: require enabling metricsPéter Szilágyi2015-06-301-0/+6
|
* added RPC start/stop supportBas van Kervel2015-06-221-2/+2
|
* added batch support to console and attach actionsBas van Kervel2015-06-221-0/+4
|
* removed old rpc structure and added new inproc api clientBas van Kervel2015-06-221-2/+2
|
* refactored old rpc structure to newBas van Kervel2015-06-221-4/+15
|
* Changed miner and gpo min gas price to 1 szabozsfelfoldi2015-06-151-6/+6
|
* fixed saving receiptszsfelfoldi2015-06-151-27/+63
|
* removed obsolete console flagBas van Kervel2015-06-121-1/+0
|
* fixed windows ipc path issueBas van Kervel2015-06-121-1/+21
|
* ipc socket always used default pathBas van Kervel2015-06-121-1/+1
|
* added API/IPC commandline flagsBas van Kervel2015-06-111-0/+33
|
* core: settable genesis nonceobscuren2015-06-091-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 TxPoolFelix Lange2015-06-041-2/+1
|
* cmd/geth, cmd/utils: rename utils.Get* -> utils.Make*Felix Lange2015-05-281-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 upgradedbFelix Lange2015-05-281-26/+18
| | | | | | 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 flagPéter Szilágyi2015-05-271-1/+5
|
* automatic DAG pregeneration for smooth epoch transitionszelig2015-05-211-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 workzelig2015-05-201-0/+1
|
* core: parallelise nonce checking when processing blocksobscuren2015-05-181-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
* cmd/utils: print messages from package log through glogFelix Lange2015-05-141-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 dirGustav Simonsson2015-05-131-1/+1
|
* removed redundant newlines in import blockBas van Kervel2015-05-121-2/+1
|
* replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-6/+7
|
* cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosityobscuren2015-05-091-4/+11
|
* cmd/utils: bump default maxpeers to 25Felix Lange2015-05-081-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-dialingJeffrey Wilcke2015-05-081-0/+6
|\ | | | | p2p: throttled handshakes
| * cmd, eth, p2p: introduce pending peer cli arg, add testsPéter Szilágyi2015-05-071-0/+6
| |
* | solidity compiler and contract metadocs integrationzelig2015-05-071-0/+7
|/ | | | | | | | | | | | | * 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 cmdGustav Simonsson2015-05-051-1/+1
|
* Merge pull request #805 from obscuren/download_improvementsJeffrey Wilcke2015-04-251-1/+1
|\ | | | | eth, eth/downloader: improve downloader and remove asynchronousness
| * xeth, core, cmd/utils: Transaction can not be over block gas limitobscuren2015-04-241-1/+1
| | | | | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit
* | cli: correct bootnodes flag usage help linezelig2015-04-241-1/+1
| |
* | cli: fatal error if rpc could not be startedzelig2015-04-241-2/+2
| |
* | cli: clean up flag descriptions, usage docs, account list uses primary and ↵zelig2015-04-241-16/+16
|/ | | | indexes, add help line to account subcnd usage
* Merge pull request #755 from karalabe/command-flags-cleanupJeffrey Wilcke2015-04-211-15/+38
|\ | | | | cmd/geth, cmd/utils: add cli flags for pprof and whisper
| * cmd/geth, cmd/utils: invert --pprof once morePéter Szilágyi2015-04-211-3/+3
| |
| * cmd/geth, cmd/utils: use pprof disable flag, start globallyPéter Szilágyi2015-04-201-3/+3
| |
| * cmd/geth, cmd/utils: add cli flags for pprof and whisper.Péter Szilágyi2015-04-201-15/+38
| |
* | fixed incomplete mergezsfelfoldi2015-04-201-19/+21
| |
* | NatSpec cli option, resolver tests passingzsfelfoldi2015-04-201-20/+23
|/
* geth: added identity flag which allows to set a custom node nameobscuren2015-04-191-0/+9
|
* Added blockchain DB versioning support, closes #650Bas van Kervel2015-04-131-19/+41
|
* Merge pull request #671 from bas-vk/issue_567Jeffrey Wilcke2015-04-091-2/+2
|\ | | | | Add path expansion support for command line arguments, closes 567
| * reformat code with goimportsBas van Kervel2015-04-091-1/+1
| |
| * Add path expansion support for command line arguments, closes 567Bas van Kervel2015-04-081-3/+3
| |
* | Default log to stderrobscuren2015-04-091-1/+2
|/
* Updated loggingobscuren2015-04-071-0/+7
|
* basic glogobscuren2015-04-041-4/+0
|
* glog wipobscuren2015-04-031-0/+19
|
* Abstract http into rpc packageTaylor Gerring2015-03-301-10/+7
| | | | New RpcConfig object to pass growing config
* Add flag to control CORS header #394Taylor Gerring2015-03-301-1/+5
| | | | | * Disabled on CLI * http://localhost on Mist
* Etherbase => etherbaseobscuren2015-03-271-1/+1
|
* Merge pull request #580 from ethersphere/frontier/cli-keyJeffrey Wilcke2015-03-271-1/+7
|\ | | | | settable etherbase
| * settable etherbasezelig2015-03-271-1/+7
| | | | | | | | | | | | | | | | - etherbase flag for block reward destination - coinbase => etherbase - CLI- eth Config -> eth, xeth -> RPC / Miner - use primary instead of coinbase as the unlock magic wildcard - accounts: firstAddr/Coinbase -> Primary
* | Use ExtraDB for storage. Fixes #577Taylor Gerring2015-03-271-2/+1
|/
* max paranoia mode to UNsupport unencrypted keys entirelyzelig2015-03-271-12/+2
| | | | | | | - remove account export functionality from CLI - remove accountExport method, - remove unencrypted-keys flag from everywhere - improve documentation
* cli: help formattingzelig2015-03-271-1/+1
|
* import/export accountszelig2015-03-271-1/+7
| | | | | | | | | | | - cli: add passwordfile flag - cli: change unlock flag only takes account - cli: with unlock you are prompted for password or use passfile with password flag - cli: unlockAccount used in normal client start (run) and accountExport - cli: getPassword used in accountCreate and accountImport - accounts: Manager.Import, Manager.Export - crypto: SaveECDSA (to complement LoadECDSA) to save to file - crypto: NewKeyFromECDSA added (used in accountImport and New = generated constructor)
* Godep issue?obscuren2015-03-261-1/+1
|
* In blocktest cmd, disable network and add RPC flagGustav Simonsson2015-03-231-1/+1
|
* independent flag for json structured loggingzelig2015-03-221-5/+5
| | | | | | | | | | | | | - logjson flag remove logformat flag - passed to eth Config - logsystem not a field of Ethereum - LogSystem does not need to expose GetLogLevel/SetLogLevel - message struct just implements more generic LogMsg interface - LogMsg is a fmt.Stringer with Level() - jsonMsg ([]byte) implements LogMsg - remove "raw" systems - move level logic inside StdLogSystem - logsystems only print their kind of msg: jsonLogSystem prints jsonMsg, StdLogSystem prints stdMsg
* private network supportzelig2015-03-181-30/+41
| | | | | | - protocolversion, networkid global int flags to cli and mist - fix bug with protocolversion check using wrong db - log protocolversion & networkid in backend
* Merge remote-tracking branch 'upstream/develop' into frontier/jszelig2015-03-161-4/+4
|\ | | | | | | | | | | Conflicts: cmd/ethereum/js.go javascript/types.go
| * Moved ethutil => commonobscuren2015-03-161-4/+4
| |
* | CLI:zelig2015-03-151-0/+5
|/ | | | | | | - js subcommand for vm - console for Frontier console interactive REPL - jspath in cli - integrate jeth apiBindings
* mergeobscuren2015-03-151-3/+3
|\
| * cmd/utils: GetEthereum -> MakeEthConfigFelix Lange2015-03-141-3/+3
| | | | | | | | | | This allows changing the config before starting Ethereum with it.
* | Move MakeName to ethutilTaylor Gerring2015-03-121-2/+1
|/
* mergeobscuren2015-03-121-3/+11
|\
| * cmd/ethereum: add a flag to switch to unencrytped keystoreFelix Lange2015-03-111-1/+10
| | | | | | | | | | | | | | | | | | This is mostly for automated tests. The tests can use the following commands to start the node: ethereum --unencrypted-keys account new ... ethereum --unencrypted-keys
* | Reverted globalobscuren2015-03-111-7/+2
| |
* | Merge branch 'develop' into rpcfrontierobscuren2015-03-111-33/+90
|\| | | | | | | | | | | Conflicts: rpc/api.go rpc/args.go
| * cmd/utils: improve CLI help templatesFelix Lange2015-03-101-0/+27
| | | | | | | | Help for a specific command now shows available subcommands.
| * cmd/ethereum: show more helpful message if no accounts existFelix Lange2015-03-101-6/+2
| |
| * accounts: add {Timed,}Unlock, remove SignLockedFelix Lange2015-03-101-2/+1
| |
| * Merge ethereum/poc-9 into accounts-integrationFelix Lange2015-03-101-7/+19
| |\ | |/ |/| | | | | | | | | | | | | | | Conflicts: cmd/utils/cmd.go cmd/utils/flags.go core/manager.go eth/backend.go rpc/http/server.go xeth/xeth.go
| * rpc: add dataDir parameter and JSON-RPC handlerFelix Lange2015-03-101-0/+18
| |
| * cmd/utils: add NewAppFelix Lange2015-03-101-0/+11
| |
| * accounts: AccountManager -> ManagerFelix Lange2015-03-081-2/+2
| |
| * cmd/ethereum: add account commandsFelix Lange2015-03-071-26/+22
| |
* | Separated block db from state db. Partial fix for #416obscuren2015-03-071-3/+8
| |
* | Debug option for VM & command line flagobscuren2015-03-061-3/+10
|/
* cmd/ethereum: improve command line interfaceFelix Lange2015-03-061-0/+178
The ethereum command line interface is now structured using subcommands. These separate the different tasks it can perform. Almost all flag names are backwards compatible. The key tasks have not been ported to subcommands since they will be replaced by the new accounts infrastructure very soon.