aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/main.go
Commit message (Collapse)AuthorAgeFilesLines
* acmd, core, eth, les: support --override.istanbulPéter Szilágyi2019-08-231-0/+1
|
* cmd/geth: set up cache and metrics when starting node (#19911)gary rong2019-08-151-40/+45
|
* cmd/geth: skip 4GB memory bump for devnetPéter Szilágyi2019-07-231-1/+1
|
* cmd, eth, les: make les flags conform to dotted stylePéter Szilágyi2019-07-101-5/+7
|
* cmd, eth, les: fix up ultra light config integrationPéter Szilágyi2019-07-101-4/+3
|
* cmd/geth: wrong memory size sanitizing on OpenBSD (#19793)Guillaume Ballet2019-07-051-5/+10
|
* cmd, eth, les, param: drop --override.constantinoplePéter Szilágyi2019-07-021-1/+0
|
* all: on-chain oracle checkpoint syncing (#19543)gary rong2019-06-281-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all: implement simple checkpoint syncing cmd, les, node: remove callback mechanism cmd, node: remove callback definition les: simplify the registrar les: expose checkpoint rpc services in the light client les, light: don't store untrusted receipt cmd, contracts, les: discard stale checkpoint cmd, contracts/registrar: loose restriction of registeration cmd, contracts: add replay-protection all: off-chain multi-signature contract params: deploy checkpoint contract for rinkeby cmd/registrar: add raw signing mode for registrar cmd/registrar, contracts/registrar, les: fixed messages * cmd/registrar, contracts/registrar: fix lints * accounts/abi/bind, les: address comments * cmd, contracts, les, light, params: minor checkpoint sync cleanups * cmd, eth, les, light: move checkpoint config to config file * cmd, eth, les, params: address comments * eth, les, params: address comments * cmd: polish up the checkpoint admin CLI * cmd, contracts, params: deploy new version contract * cmd/checkpoint-admin: add another flag for clef mode signing * cmd, contracts, les: rename and regen checkpoint oracle with abigen
* cmd: Add retesteth command (to support execution and generation of tests via ↵ledgerwatch2019-06-051-0/+2
| | | | | | | | | | | | | | | | | | retesteth) (#19631) * Add retesteth command * Remove label and insert full version * mineBlock - break the inner loop when the block is full * Fixes for touched non-reward accounts, gas limit issues * Not fail when SendTx has transaction with incorrect RLP * Fix linter (unnecessary conversion) * retesteth: add usage string to flag
* accounts/scwallet: flag to specify path to smartcard daemon (#19439)Guillaume Ballet2019-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * accounts/scwallet: Add a switch to enable smartcard support * accounts: change the meaning of the switch * disable card support in windows until tested * only activate account if pcscd socket file is present * the switch is now the path to the socket file * accounts/scwallet: holiman's review feedback * accounts/scwallet: send the path to go-pcsclite * accounts/scwallet: add default, per platform path * accounts/scwallet: fix error log warning * accounts/scwallet: update pcsc lib to latest * accounts/scwallet: use default path from pcsclite * scwallet: forgot to change switch name * cmd: minor style cleanups (error handling first, then happy path)
* cmd/geth, core/rawdb: seamless freezer consistency, friendly removedbPéter Szilágyi2019-05-161-1/+0
|
* core, cmd, vendor: fixes and database inspection tool (#15)gary rong2019-05-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | * core, eth: some fixes for freezer * vendor, core/rawdb, cmd/geth: add db inspector * core, cmd/utils: check ancient store path forceily * cmd/geth, common, core/rawdb: a few fixes * cmd/geth: support windows file rename and fix rename error * core: support ancient plugin * core, cmd: streaming file copy * cmd, consensus, core, tests: keep genesis in leveldb * core: write txlookup during ancient init * core: bump database version
* cmd, core, eth, les, node: chain freezer on top of db reworkPéter Szilágyi2019-05-161-0/+1
|
* cmd, internal/build, docker: advertise commit date in unstable build ↵C. Brown2019-05-081-1/+2
| | | | | | | | | | | | | | versions (#19522) * add-date-to unstable * fields-insteadof-split * internal/build: support building with missing git * docker: add git history back to support commit date in version * internal/build: use PR commits hashes for PR builds
* Merge pull request #19438 from karalabe/ledger-new-derivation-pathPéter Szilágyi2019-04-251-3/+5
|\ | | | | accounts: switch Ledger derivation path to canonical one
| * accounts: switch Ledger derivation path to canonical onePéter Szilágyi2019-04-101-3/+5
| |
* | cmd: special case default cache allowance (4GB mainnet, 128MB ligh)Péter Szilágyi2019-04-121-0/+14
|/
* eth, les, geth: implement cli-configurable global gas cap for RPC calls (#19401)Martin Holst Swende2019-04-081-3/+4
| | | | | | | | * eth, les, geth: implement cli-configurable global gas cap for RPC calls * graphql, ethapi: place gas cap in DoCall * ethapi: reformat log message
* cmd: nuke geth bug, nobody is using it anywayPéter Szilágyi2019-04-051-1/+0
|
* cmd/geth, internal, node, vendor: nuke geth monitorPéter Szilágyi2019-04-051-2/+0
|
* accounts, cmd, internal: disable unlock account on open HTTP (#17037)gary rong2019-04-041-10/+28
| | | | | | | | | | * cmd, accounts, internal, node, rpc, signer: insecure unlock protect * all: strict unlock API by rpc * cmd/geth: check before printing warning log * accounts, cmd/geth, internal: tiny polishes
* all: simplify timestamps to uint64 (#19372)Martin Holst Swende2019-04-031-1/+1
| | | | | | | | | | | | | | * all: simplify timestamps to uint64 * tests: update definitions * clef, faucet, mobile: leftover uint64 fixups * ethash: fix tests * graphql: update schema for timestamp * ethash: remove unused variable
* cmd, core, eth: support disabling the concurrent state prefetcherPéter Szilágyi2019-04-011-0/+1
|
* core: split out detailed trie access metrics from insertion time (#19316)Péter Szilágyi2019-03-251-1/+2
| | | | | | * core: split out detailed trie access metrics from insertion time * cmd, core, metrics: support expensive optional metrics
* cmd, core, eth, trie: get rid of trie cache generations (#19262)Péter Szilágyi2019-03-141-1/+0
| | | | | | * cmd, core, eth, trie: get rid of trie cache generations * core, trie: get rid of remainder of cache gen boilerplate
* les, les/flowcontrol: improved request serving and flow control (#18230)Felföldi Zsolt2019-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This change - implements concurrent LES request serving even for a single peer. - replaces the request cost estimation method with a cost table based on benchmarks which gives much more consistent results. Until now the allowed number of light peers was just a guess which probably contributed a lot to the fluctuating quality of available service. Everything related to request cost is implemented in a single object, the 'cost tracker'. It uses a fixed cost table with a global 'correction factor'. Benchmark code is included and can be run at any time to adapt costs to low-level implementation changes. - reimplements flowcontrol.ClientManager in a cleaner and more efficient way, with added capabilities: There is now control over bandwidth, which allows using the flow control parameters for client prioritization. Target utilization over 100 percent is now supported to model concurrent request processing. Total serving bandwidth is reduced during block processing to prevent database contention. - implements an RPC API for the LES servers allowing server operators to assign priority bandwidth to certain clients and change prioritized status even while the client is connected. The new API is meant for cases where server operators charge for LES using an off-protocol mechanism. - adds a unit test for the new client manager. - adds an end-to-end test using the network simulator that tests bandwidth control functions through the new API.
* cmd, node, p2p/simulations: fix node account manager leak (#19004)Janoš Guljaš2019-02-071-0/+1
| | | | | | | | | | | | | | | | | | * node: close AccountsManager in new Close method * p2p/simulations, p2p/simulations/adapters: handle node close on shutdown * node: move node ephemeralKeystore cleanup to stop method * node: call Stop in Node.Close method * cmd/geth: close node.Node created with makeFullNode in cli commands * node: close Node instances in tests * cmd/geth, node: minor code style fixes * cmd, console, miner, mobile: proper node Close() termination
* accounts, eth, clique, signer: support for external signer API (#18079)Martin Holst Swende2019-02-051-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * accounts, eth, clique: implement external backend + move sighash calc to backend * signer: implement account_Version on external API * accounts/external: enable ipc, add copyright * accounts, internal, signer: formatting * node: go fmt * flags: disallow --dev in combo with --externalsigner * accounts: remove clique-specific signing method, replace with more generic * accounts, consensus: formatting + fix error in tests * signer/core: remove (test-) import cycle * clique: remove unused import * accounts: remove CliqueHash and avoid dependency on package crypto * consensus/clique: unduplicate header encoding
* cmd, core, params: add support for GoerliPéter Szilágyi2019-02-041-0/+1
|
* cmd,eth: 16400 Add an option to stop geth once in sync. WIP for light mode ↵lhendre2019-01-301-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#17321) * cmd, eth: Added in the flag to step geth once sync based on input * cmd, eth: 16400 Add an option to stop geth once in sync. * cmd: 16400 Add an option to stop geth once in sync. WIP * cmd/geth/main, les/fletcher: added in light mode support * cmd/geth/main, les/fletcher: Cleaned Comments and code for light mode * cmd: 16400 Fixed formatting issue and cleaned code * cmd, eth, les: 16400 Fixed formatting issues * cmd, eth, les: Performed gofmt to update formatting * cmd, eth, les: Fixed bugs resulting formatting * cmd/geth, eth/, les: switched to downloader event * eth: Fixed styling and gen_config * eth/: Fix nil error in config file * cmd/geth: Updated countdown log * les/fetcher.go: Removed depcreated channel * eth/downloader.go: Removed deprecated select * cmd/geth, cmd/utils: Fixed minor issues * eth: Reverted config files to proper format * eth: Fixed typo in config file * cmd/geth, eth/down: Updated code to use header time stamp * eth/downloader: Changed the time threshold to 10 minutes * cmd/geth, eth/downloader: Updated downloading event to pass latest header * cmd/geth: Updated main to use right timer object * cmd/geth: Removed unused failed event * cmd/geth: added in correct time field with type assertion * cmd/geth, cmd/utils: Updated flag to use boolean * cmd/geth, cmd/utils, eth/downloader: Cleaned up code based on recommendations * cmd/geth: Removed unneeded import * cmd/geth, eth/downloader: fixed event field and suggested changes * cmd/geth, cmd/utils: Updated flag and linting issue
* cmd/utils: allow for multiple influxdb tags (#18520)Anton Evangelatov2019-01-291-2/+2
| | | | | This PR is replacing the metrics.influxdb.host.tag cmd-line flag with metrics.influxdb.tags - a comma-separated key/value tags, that are passed to the InfluxDB reporter, so that we can index measurements with multiple tags, and not just one host tag. This will be useful for Swarm, where we want to index measurements not just with the host tag, but also with bzzkey and git commit version (for long-running deployments).
* les: implement ultralight client (#16904)b00ris2019-01-241-0/+4
| | | | For more information about this light client mode, read https://hackmd.io/s/HJy7jjZpm
* GraphQL master FF for review (#18445)Kris Shinn2019-01-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial work on a graphql API * Added receipts, and more transaction fields. * Finish receipts, add logs * Add transactionCount to block * Add types and . * Update Block type to be compatible with ethql * Rename nonce to transactionCount in Account, to be compatible with ethql * Update transaction, receipt and log to match ethql * Add query operator, for a range of blocks * Added ommerCount to Block * Add transactionAt and ommerAt to Block * Added sendRawTransaction mutation * Add Call and EstimateGas to graphQL API * Refactored to use hexutil.Bytes instead of HexBytes * Replace BigNum with hexutil.Big * Refactor call and estimateGas to use ethapi struct type * Replace ethgraphql.Address with common.Address * Replace ethgraphql.Hash with common.Hash * Converted most quantities to Long instead of Int * Add support for logs * Fix bug in runFilter * Restructured Transaction to work primarily with headers, so uncle data is reported properly * Add gasPrice API * Add protocolVersion API * Add syncing API * Moved schema into its own source file * Move some single use args types into anonymous structs * Add doc-comments * Fixed backend fetching to use context * Added (very) basic tests * Add documentation to the graphql schema * Fix reversion for formatting of big numbers * Correct spelling error * s/BigInt/Long/ * Update common/types.go * Fixes in response to review * Fix lint error * Updated calls on private functions * Fix typo in graphql.go * Rollback ethapi breaking changes for graphql support Co-Authored-By: Arachnid <arachnid@notdot.net>
* cmd/geth: update cli copyright years (#18455)dragonvslinux2019-01-161-1/+1
| | | | | | | | | | * Update copyright 2018 -> 2019 * Update copyright 2018 -> 2019
* cmd/geth, core, eth: implement Constantinople override flag (#18273)Martin Holst Swende2018-12-111-0/+1
| | | | | | | | * geth/core/eth: implement constantinople override flag * les: implemnent constantinople override flag for les clients * cmd/geth, eth, les: fix typo, move flag to experimentals
* cmd, eth: Add support for `--whitelist <blocknum>=<hash>,...` flagRyan Schneider2018-12-101-0/+1
| | | | | * Rejects peers that respond with a different hash for any of the passed in block numbers. * Meant for emergency situations when the network forks unexpectedly.
* cmd, core, eth, light, trie: add trie read caching layerPéter Szilágyi2018-11-151-0/+1
|
* cmd/geth: don't set GOMAXPROCS by default (#17148)Wenbiao Zheng2018-10-161-3/+0
| | | | This is no longer needed because Go uses all CPUs by default. The change allows setting GOMAXPROCS in environment if needed.
* core/vm: add switches to select evm+ewasm interpreters (#17687)Guillaume Ballet2018-09-201-0/+2
| | | | | Interpreter initialization is left to the PRs implementing them. Options for external interpreters are passed after a colon in the `--vm.ewasm` and `--vm.evm` switches.
* whisper: add light mode check to handshake (#16725)b00ris2018-09-051-0/+1
|
* cmd, core, eth, miner, params: configurable gas floor and ceilPéter Szilágyi2018-08-291-1/+1
|
* consensus, miner: stale block mining support (#17506)gary rong2018-08-281-0/+1
| | | | | | | | | | * consensus, miner: stale block supporting * consensus, miner: refactor seal signature * cmd, consensus, eth: add miner noverify flag * cmd, consensus, miner: polish
* cmd, eth: clean up miner startup API, drop noop config fieldPéter Szilágyi2018-08-231-14/+6
|
* cmd, core, miner: add --txpool.locals and priority miningPéter Szilágyi2018-08-221-0/+1
|
* cmd, eth, miner: make recommit configurable (#17444)gary rong2018-08-221-0/+1
| | | | | | | | | | | | * cmd, eth, miner: make recommit configurable * cmd, eth, les, miner: polish a bit * miner: filter duplicate sealing work * cmd: remove uncessary conversion * miner: avoid microptimization in favor of cleaner code
* cmd: polish miner flags, deprecate olds, add upgrade pathPéter Szilágyi2018-08-151-9/+20
|
* cmd, consensus/ethash, eth: miner push notificationsPéter Szilágyi2018-08-101-1/+2
|
* cmd: prevent accidental invalid commands (#17248)a e r t h2018-07-261-0/+3
| | | | | | * cmd: stop parsing bootnodes if one is invalid * cmd/geth: require valid command as argument (or no arg)
* cmd/geth: clean up call to SelfDerive (#16970)Wenbiao Zheng2018-07-241-3/+3
|
* cmd, dashboard, log: log collection and exploration (#17097)Kurkó Mihály2018-07-111-1/+6
| | | | | | | | | | | | * cmd, dashboard, internal, log, node: logging feature * cmd, dashboard, internal, log: requested changes * dashboard, vendor: gofmt, govendor, use vendored file watcher * dashboard, log: gofmt -s -w, goimports * dashboard, log: gosimple
* cmd/geth: fixed comment typo (#17140)LeoLiao2018-07-091-1/+1
|
* cmd/geth: export metrics to InfluxDB (#16979)Anton Evangelatov2018-07-021-0/+13
| | | | | | | | * cmd/geth: add flags for metrics export * cmd/geth: update usage fields for metrics flags * metrics/influxdb: update reporter logger to adhere to geth logging convention
* cmd/geth: cap cache allowancerjl4934564422018-06-041-0/+20
|
* cmd/geth, mobile: add memsize to pprof server (#16532)Felix Lange2018-04-231-0/+2
| | | | | | | | * cmd/geth, mobile: add memsize to pprof server This is a temporary change, to be reverted before the next release. * cmd/geth: fix variable name
* cmd/geth: update the copyright year in the geth command usage (#16537)Vie2018-04-231-1/+1
|
* all: fix various typos (#16533)Wuxiang2018-04-191-1/+1
| | | | | | | | * fix typo * fix typo * fix typo
* cmd/geth: remove relOracle variable (#16434)Nguyen Sy Thanh Son2018-04-041-3/+0
|
* cmd: export preimages in RLP, support GZIP, uniform with block exportPéter Szilágyi2018-03-261-2/+2
|
* cmd: implement preimage dump and import cmdsrjl4934564422018-03-261-0/+2
|
* cmd, dashboard: use webpack dev server, remove custom assets (#16263)Kurkó Mihály2018-03-081-1/+0
| | | | | | * cmd, dashboard: remove custom assets, webpack dev server * dashboard: yarn commands, small fixes
* rpc: dns rebind protection (#15962)Martin Holst Swende2018-02-121-0/+1
| | | | | | | | | | | | | | | | * cmd,node,rpc: add allowedHosts to prevent dns rebinding attacks * p2p,node: Fix bug with dumpconfig introduced in r54aeb8e4c0bb9f0e7a6c67258af67df3b266af3d * rpc: add wildcard support for rpcallowedhosts + go fmt * cmd/geth, cmd/utils, node, rpc: ignore direct ip(v4/6) addresses in rpc virtual hostnames check * http, rpc, utils: make vhosts into map, address review concerns * node: change log messages to use geth standard (not sprintf) * rpc: fix spelling
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-061-0/+3
| | | This commit reduces database I/O by not writing every state trie to disk.
* cmd/geth: user friendly light miner errorPéter Szilágyi2018-01-121-1/+4
|
* cmd, dashboard: dashboard using React, Material-UI, Recharts (#15393)Kurkó Mihály2017-11-151-0/+5
| | | | | | | | | | | | * cmd, dashboard: dashboard using React, Material-UI, Recharts * cmd, dashboard, metrics: initial proof of concept dashboard * dashboard: delete blobs * dashboard: gofmt -s -w . * dashboard: minor text and code polishes
* cmd, consensus, core, miner: instatx clique for --dev (#15323)Péter Szilágyi2017-10-241-2/+3
| | | | | | | | * cmd, consensus, core, miner: instatx clique for --dev * cmd, consensus, clique: support configurable --dev block times * cmd, core: allow --dev to use persistent storage too
* cmd: Added support for copying data to another DB instanceNick Johnson2017-10-101-0/+1
|
* Merge pull request #14885 from karalabe/trezor-boomPéter Szilágyi2017-08-141-6/+12
|\ | | | | accounts, console, internal: support trezor hardware wallet
| * accounts: refactor API for generalized USB walletsPéter Szilágyi2017-08-091-1/+3
| |
| * accounts, console, internal: support trezor hardware walletPéter Szilágyi2017-08-091-6/+10
| |
* | cmd/geth, cmd/swarm: sort commands and flags by name (#3462)Maximilian Meister2017-08-111-0/+2
|/
* cmd: add makecache cmd, use caches during import cmdPéter Szilágyi2017-08-041-0/+1
|
* cmd, core, eth: journal local transactions to disk (#14784)Péter Szilágyi2017-07-281-0/+2
| | | | | | | | | | * core: reduce txpool event loop goroutines and sync structs * cmd, core, eth: journal local transactions to disk * core: journal replacement pending transactions too * core: separate transaction journal from pool
* cmd, core: add --txpool.nolocals to disable local price exemptionsPéter Szilágyi2017-07-051-0/+1
|
* Merge pull request #14540 from bas-vk/whisper-apiPéter Szilágyi2017-06-261-1/+7
|\ | | | | whisperv5: integrate whisper and implement API
| * whisper: move flags from whisper package to utilsBas van Kervel2017-06-211-2/+7
| |
| * whisperv5: integrate whisper and add whisper RPC simulatorBas van Kervel2017-06-151-1/+2
| |
* | cmd/geth: corrently init gas price for CLI CPU miningPéter Szilágyi2017-06-221-0/+4
|/
* cmd, core, eth: configurable txpool parametersPéter Szilágyi2017-05-291-0/+7
|
* cmd, node: support different bootnodes, fix default light portPéter Szilágyi2017-05-101-0/+2
|
* Merge pull request #14418 from karalabe/rinkeby-flagPéter Szilágyi2017-05-041-1/+2
|\ | | | | cmd, core, params: add --rinkeby flag for fast connectivity
| * cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-041-1/+2
| |
* | cmd/geth: reorganise console/attach commands/flagsBas van Kervel2017-05-031-47/+51
|/
* cmd, node: add --nosub and node.Config.NoUSB to disable hw walletsPéter Szilágyi2017-04-201-0/+1
|
* cmd/geth: update flag groups in the geth command usagePéter Szilágyi2017-04-131-1/+1
|
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-131-1/+0
| | | | | Currently http cors and websocket origins are a comma separated string in the config object. These are replaced with string arrays that are more expressive in case of a config file.
* cmd/geth: add --config file flag (#13875)Felix Lange2017-04-121-55/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p/discover, p2p/discv5: add marshaling methods to Node * p2p/netutil: make Netlist decodable from TOML * common/math: encode nil HexOrDecimal256 as 0x0 * cmd/geth: add --config file flag * cmd/geth: add missing license header * eth: prettify Config again, fix tests * eth: use gasprice.Config instead of duplicating its fields * eth/gasprice: hide nil default from dumpconfig output * cmd/geth: hide genesis block in dumpconfig output * node: make tests compile * console: fix tests * cmd/geth: make TOML keys look exactly like Go struct fields * p2p: use discovery by default This makes the zero Config slightly more useful. It also fixes package node tests because Node detects reuse of the datadir through the NodeDatabase. * cmd/geth: make ethstats URL settable through config file * cmd/faucet: fix configuration * cmd/geth: dedup attach tests * eth: add comment for DefaultConfig * eth: pass downloader.SyncMode in Config This removes the FastSync, LightSync flags in favour of a more general SyncMode flag. * cmd/utils: remove jitvm flags * cmd/utils: make mutually exclusive flag error prettier It now reads: Fatal: flags --dev, --testnet can't be used at the same time * p2p: fix typo * node: add DefaultConfig, use it for geth * mobile: add missing NoDiscovery option * cmd/utils: drop MakeNode This exposed a couple of places that needed to be updated to use node.DefaultConfig. * node: fix typo * eth: make fast sync the default mode * cmd/utils: remove IPCApiFlag (unused) * node: remove default IPC path Set it in the frontends instead. * cmd/geth: add --syncmode * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive * cmd/utils: don't enable WS, HTTP when setting addr * cmd/utils: fix --identity
* eth: accept transactions when starting CPU mining (#13882)Péter Szilágyi2017-04-101-1/+1
|
* Merge pull request #13870 from karalabe/miners-fixesPéter Szilágyi2017-04-071-6/+0
|\ | | | | all: clean up various error handling in core and the miner
| * cmd/geth, eth: drop bad block reporting, its offline anywayPéter Szilágyi2017-04-061-6/+0
| |
* | cmd, les, eth, eth/gasprice: using new gas price oracle (#13853)Felföldi Zsolt2017-04-061-6/+2
|/ | | | | | | | | | | | * 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ágyi2017-04-051-1/+9
| | | | | 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.
* all: finish integrating Go ethash, delete C++ vendorPéter Szilágyi2017-03-091-1/+1
|
* cmd, eth, les, node, pow: disk caching and progress reportsPéter Szilágyi2017-03-091-0/+5
|
* * cmd/geth: add --nocompaction flag + multiple import filesMartin Holst Swende2017-03-081-0/+1
| | | | | | | | | | * 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ágyi2017-03-021-7/+7
| | | | | | | | * 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/geth: drop upgradedb subcommand since it's unfeasiblePéter Szilágyi2017-02-231-1/+0
| | | | | | | This command was meant as a hackish way to upgrade our chain database way back when nobody cared for live updates and the size of the database along with its import times was small. With the current database weighing hundreds of GBs and processing times of many days, this command is just ludicrous.
* cmd, whisper/mailserver: revert to utils.FatalfPéter Szilágyi2017-02-231-4/+4
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-13/+12
|
* cmd/geth: added 'geth bug' command (#3684)Jeffrey Wilcke2017-02-201-0/+1
| | | | | | | | | | | | | * cmd/geth: added 'geth bug' command Added bug command to geth, which will open a browser window with an issue template and some additional system information. * cmd/geth: update bug with better infos * cmd/geth: added browser fallback * cmd/geth: govet yo momma
* params: core, core/vm, miner: 64bit gas instructionsJeffrey Wilcke2017-02-141-1/+1
| | | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test
* Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)"Jeffrey Wilcke2017-02-131-1/+1
| | | | This reverts commit 8b57c494908637a5c0e74f8f7a13b3218e026757.
* accounts: ledger and HD review fixesPéter Szilágyi2017-02-131-2/+3
| | | | | | | | | - Handle a data race where a Ledger drops between list and open - Prolong Ledger tx confirmation window to 30 days from 1 minute - Simplify Ledger chainid-signature calculation and validation - Simplify Ledger USB APDU request chunking algorithm - Silence keystore account cache notifications for manual actions - Only enable self derivations if wallet open succeeds
* accounts/usbwallet: make wallet responsive while Ledger is busyPéter Szilágyi2017-02-131-0/+8
|
* accounts, cmd, internal, node: implement HD wallet self-derivationPéter Szilágyi2017-02-131-2/+30
|
* accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-131-1/+1
|
* accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-131-2/+4
|
* params: core, core/vm, miner: 64bit gas instructions (#3514)Jeffrey Wilcke2017-02-021-1/+1
| | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test
* Merge pull request #3579 from bas-vk/natspecPéter Szilágyi2017-01-171-1/+0
|\ | | | | cmd,eth,les,internal: remove natspec support
| * cmd,eth,les,internal: remove natspec supportBas van Kervel2017-01-171-1/+0
| |
* | cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-171-0/+1
|/
* core: remove support for Olympic networkBas van Kervel2017-01-121-1/+0
|
* logger, pow/dagger, pow/ezp: delete dead codeFelix Lange2017-01-071-1/+0
|
* cmd/geth: tidied up the source (#3385)Péter Szilágyi2016-11-301-133/+9
| | | cmd/geth: tidied up the source
* cmd: drop DAO related choice flags since ETC divergedPéter Szilágyi2016-11-291-2/+0
|
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-251-7/+28
|
* Merge pull request #3325 from fjl/p2p-netrestrictFelix Lange2016-11-251-0/+1
|\ | | | | Prevent relay of invalid IPs, add --netrestrict
| * cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrictFelix Lange2016-11-231-0/+1
| |
* | cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-231-5/+0
|/ | | | All account's nonce start at 0.
* cmd/geth: improve command help messages (#3227)Kenji Siu2016-11-101-18/+25
|
* cmd/geth: reinstate dropped --cache flagPéter Szilágyi2016-11-101-0/+1
|
* p2p/discv5: added new topic discovery packageZsolt Felfoldi2016-11-091-28/+1
|
* cmd, eth: added light client and light server modeszsfelfoldi2016-11-091-0/+30
|
* Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-291-43/+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, core/state: allow configurable trie cache generationsPéter Szilágyi2016-10-191-1/+2
|
* node: ensure datadir can be co-inhabited by different instancesFelix Lange2016-09-161-11/+5
| | | | | This change ensures that nodes started with different Name but same DataDir values don't use the same nodekey and IPC socket.
* cmd, eth: drop the blockchain version from cli/eth configsPéter Szilágyi2016-09-151-1/+0
|
* cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utilsFelix Lange2016-09-051-55/+31
|
* contracts/release: move package release to contracts/Felix Lange2016-08-301-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/geth: set correct initial nonce on testnet for import/init subcommands ↵Hellsegga2016-08-231-0/+5
| | | | (#2924)
* cmd/geth: added copyright and license informationJeffrey Wilcke2016-08-221-0/+23
| | | | | | 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.
* cmd/utils, node: create account manager in package nodeFelix Lange2016-08-171-28/+34
| | | | | | | | | | | | | | | 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.
* cmd, core, eth, params: implement flags to control dao fork blocksPéter Szilágyi2016-07-151-7/+2
|
* cmd/geth: print version on geth start (#2622)Matthew Di Ferrante2016-07-121-0/+2
|
* cmd, common, console, eth, release: drop redundant "full"sPéter Szilágyi2016-06-301-1/+1
|
* eth: separate common and full node-specific API and backend servicezsfelfoldi2016-06-161-3/+7
|
* cmd: fix CLI package deprecation warningsPéter Szilágyi2016-06-101-6/+14
|
* cmd/geth: codegansta/cli package renamed to urfave/cliBas van Kervel2016-06-091-1/+1
|
* cmd/geth, console: fix reviewer issuesPéter Szilágyi2016-05-311-1/+1
|
* cmd, console: split off the console into a reusable packagePéter Szilágyi2016-05-301-134/+6
|
* eth: enable bad block reportsFelix Lange2016-05-251-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.
* cmd/geth: fixed to use proper version string for outputJeffrey Wilcke2016-05-031-1/+1
|
* cmd/geth, release: polish and deploy live release contractPéter Szilágyi2016-05-021-1/+1
|
* release, all: integrate the release service into gethPéter Szilágyi2016-05-021-22/+37
|
* Merge pull request #2485 from karalabe/fakepowPéter Szilágyi2016-04-291-0/+1
|\ | | | | cmd: add a `--fakepow` flag to help benchmarking database changes
| * cmd: add a `--fakepow` flag to help benchmarking database changesPéter Szilágyi2016-04-211-0/+1
| |
* | Merge pull request #2478 from fjl/geth-js-tweakFelix Lange2016-04-261-3/+19
|\ \ | |/ |/| cmd/geth, jsre: improve the js command
| * cmd/geth, jsre: improve the js commandFelix Lange2016-04-211-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | VERSION, cmd/geth: bumped versionJeffrey Wilcke2016-04-201-2/+2
|/
* cmd/geth: move account commands to accountcmd.goFelix Lange2016-04-121-258/+3
|
* cmd/geth, cmd/utils: improve input handlingFelix Lange2016-04-121-2/+3
| | | | | | | | | | | | | | | | | | | 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-argsJeffrey Wilcke2016-04-121-1/+1
|\ | | | | rpc: several fixes and support for optional arguments
| * rpc: various fixes/enhancementsBas van Kervel2016-04-121-1/+1
| | | | | | | | | | | | | | | | 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
* | cmd/geth: add JS preload parameterBas van Kervel2016-04-111-0/+15
|/
* cmd/geth: add missing gas target flag (fixing 0 convergence issue)Péter Szilágyi2016-04-041-0/+1
|
* cmd/geth, eth: move --genesis deprecation warning to cmd/gethFelix Lange2016-04-021-0/+6
| | | | This prevents display of the warning for --dev and --olympic.
* core: added basic chain configurationJeffrey Wilcke2016-04-011-3/+39
| | | | | | | | | 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.
* core: Added EVM configuration optionsJeffrey Wilcke2016-03-241-1/+0
| | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options.
* cmd/utils: add --keystoreKobi Gurkan2016-03-081-0/+1
|
* cmd, node, rpc: readd inproc RPC client, expose via nodePéter Szilágyi2016-02-091-2/+2
|
* cmd, common, node, rpc: rework naming convention to canonical onePéter Szilágyi2016-02-091-3/+3
|
* cmd, node, rpc: move websockets into node, break singletonPéter Szilágyi2016-02-051-11/+10
|
* cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspectPéter Szilágyi2016-02-051-5/+0
|
* cmd, common, node, rpc: move IPC into the node itselfPéter Szilágyi2016-02-041-6/+1
|
* internal/debug: APIs for profiling and tracingFelix Lange2016-01-281-14/+14
| | | | | | 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-25/+26
|
* Merge pull request #2035 from bas-vk/rcp-v2-rebaseFelix Lange2015-12-151-0/+1
|\ | | | | rpc: new RPC implementation with pub/sub support
| * rpc: new RPC implementation with pub/sub supportBas van Kervel2015-12-141-0/+1
| |
* | Makefile, cmd/geth: assemble ios xcode frameworksPéter Szilágyi2015-12-091-1/+2
|/
* cmd/utils: restore starting geth without any accounts and etherbaseFelix Lange2015-12-011-2/+5
| | | | Also remove some duplication around address/index parsing.
* cmd, eth, node, rpc, xeth: use single-instance servicesPéter Szilágyi2015-11-271-1/+1
|
* cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-271-197/+110
|
* cmd/geth, cmd/utils: removed legaleseJeffrey Wilcke2015-11-191-26/+0
| | | | Removed the legalese confirmation dialog. This closes #1992
* cmd/geth, cmd/utils: surface the light KDF flag to the CLIPéter Szilágyi2015-11-101-0/+1
|
* cmd/geth: fix recover command crash if no param is suppliedPéter Szilágyi2015-11-051-2/+2
|
* VERSION, cmd/geth: bumped version 1.4.0Jeffrey Wilcke2015-11-031-2/+2
|
* cmd/geth, cmd/utils, eth: group CLI flags by purposePéter Szilágyi2015-10-301-4/+1
|
* console:zelig2015-10-221-31/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* eth: clean out light node notions from ethPéter Szilágyi2015-10-191-3/+1
|
* cmd, eth: support switching client modes of operationPéter Szilágyi2015-10-191-0/+1
|
* Merge pull request #1869 from Gustav-Simonsson/gpu_minerJeffrey Wilcke2015-10-161-1/+44
|\ | | | | all: Add GPU mining, disabled by default
| * all: Add GPU mining, disabled by defaultGustav Simonsson2015-10-071-1/+44
| |
* | Merge pull request #1888 from obscuren/testnetJeffrey Wilcke2015-10-091-0/+1
|\ \ | | | | | | cmd, core, eth: added official testnet
| * | cmd, core, eth: added official testnetJeffrey Wilcke2015-10-091-0/+1
| | |
* | | cmd: properly initialize Olympic for all subcommandsPéter Szilágyi2015-10-071-3/+1
| | |
* | | Merge pull request #1851 from bas-vk/historyfileJeffrey Wilcke2015-10-071-0/+1
|\ \ \ | |/ / |/| | console/history respect datadir
| * | console/history respect datadirBas van Kervel2015-09-251-0/+1
| | |
* | | cmd/geth: dev version numberJeffrey Wilcke2015-10-061-2/+2
| | |
* | | cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-1/+1
| |/ |/| | | | | | | | | * 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-12/+12
|/
* cmd/geth: changed version number to 1.2.0Jeffrey Wilcke2015-09-211-2/+2
| | | Changed the version number of geth to 1.2.0 so that dev builds are now properly build (instead of master). Note to self; increase version number to 1.2.1 for our next actual release.
* cmd/geth: extradata is correcly initialized with consoleKobi Gurkan2015-09-171-1/+3
|
* cmd/geth: adds extradata flagKobi Gurkan2015-09-161-1/+15
|
* core: split out TD from database and all internalsPéter Szilágyi2015-09-111-4/+3
|
* cmd/geth, cmd/utils, eth: added dev mode flagJeffrey Wilcke2015-09-091-0/+1
| | | | | | | | | | | | 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
* cmd/geth: honor datadir when attachingKobi Gurkan2015-09-031-1/+1
|
* eth, eth/downloader: handle header requests, table driven proto testsPéter Szilágyi2015-08-241-0/+2
|
* cmd/geth: bumped version 1.1.0Jeffrey Wilcke2015-08-211-3/+3
|
* cmd/geth: bumped version 1.0.3Jeffrey Wilcke2015-08-201-2/+2
|
* geth: bumped version 1.0.2Jeffrey Wilcke2015-08-201-2/+2
|
* Revert "fdtrack: temporary hack for tracking file descriptor usage"Jeffrey Wilcke2015-08-201-4/+0
| | | | This reverts commit 5c949d3b3ba81ea0563575b19a7b148aeac4bf61.
* Merge pull request #1642 from ethereum/fix-js-console-windowsJeffrey Wilcke2015-08-141-19/+0
|\ | | | | cmd/geth, jsre: restore command line editing on windows
| * cmd/geth, jsre: restore command line editing on windowsFelix Lange2015-08-121-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | PR #856 broke command line editing by wrapping stdout with a filter that interprets ANSI escape sequences to fix colored printing on windows. Implement the printer in Go instead so it can do its own platform-dependent coloring. As a nice side effect, the JS console is now noticeably more responsive when printing results. Fixes #1608 Fixes #1612
* | Merge pull request #1635 from bas-vk/useragentJeffrey Wilcke2015-08-141-1/+1
|\ \ | | | | | | support for user agents
| * | support for user agentsBas van Kervel2015-08-121-1/+1
| |/
* / cmd/geth: remove spaces in client identifierFelix Lange2015-08-121-1/+1
|/
* cmd/geth, core/vm: setup vm settings and defaulted JIT disabledJeffrey Wilcke2015-08-091-0/+1
|
* Merge pull request #1490 from obscuren/jit-vmJeffrey Wilcke2015-08-081-0/+3
|\ | | | | core/vm: jit vm
| * core/vm, tests: implemented semi-jit vmJeffrey Wilcke2015-08-071-0/+3
| | | | | | | | * changed stack and removed stack ptr. Let go decide on slice reuse.
* | string version for build servercaktux2015-08-081-1/+1
| |
* | cmd/geth, eth: added canonical extra dataJeffrey Wilcke2015-08-071-2/+30
|/ | | | | Implemented canonical extra data according to https://github.com/ethereum/wiki/wiki/Extra-Data
* fake commit for build server :(Jeffrey Wilcke2015-08-061-1/+1
|
* cmd/geth: bumped version numberJeffrey Wilcke2015-08-061-1/+1
|
* Merge pull request #1574 from fjl/fdtrackJeffrey Wilcke2015-08-041-0/+4
|\ | | | | fdtrack: hack to track file descriptor usage
| * fdtrack: temporary hack for tracking file descriptor usageFelix Lange2015-08-041-0/+4
| | | | | | | | | | Package fdtrack logs statistics about open file descriptors. This should help identify the source of #1549.
* | cmd, core, eth: support for the olympic networkJeffrey Wilcke2015-08-041-0/+4
|/ | | | Added a --olympic flag which initialiser the olympic protocol settings
* cmd/geth, core, eth: Version 1.0.0Jeffrey Wilcke2015-07-251-2/+1
| | | | | | | Genesis release. Closes #1402 Conflicts: cmd/geth/main.go
* 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".
* | Merge pull request #1508 from karalabe/database-cachingJeffrey Wilcke2015-07-231-1/+2
|\ \ | |/ |/| 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 usePéter Szilágyi2015-07-221-1/+2
| |
* | Update disclaimerTaylor Gerring2015-07-211-3/+24
|/
* Prompt user to accept legalese when datadir doesn't existTaylor Gerring2015-07-161-0/+5
|
* cmd, core, eth, common: genesis preparationJeffrey Wilcke2015-07-101-0/+1
| | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block.
* cmd/geth: bump version 0.9.39Jeffrey Wilcke2015-07-101-1/+1
|
* cmd/geth: version bump 0.9.38Jeffrey Wilcke2015-07-091-1/+1
|
* cmd/geth, cmd/utils: changed ParamsToAddress to return errorJeffrey Wilcke2015-07-071-9/+12
| | | | | ParamsToAddress no longer aborts the process, it now returns an error instead so that the caller can handle the error properly.
* cmd/geth: version number 0.9.36Jeffrey Wilcke2015-07-071-1/+1
|
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
|
* all: remove @author commentsFelix Lange2015-07-071-4/+0
|
* all: update license informationFelix Lange2015-07-071-16/+16
|
* cmd,eth,rpc,tests: default coinbaseJeffrey Wilcke2015-07-071-16/+1
|
* cmd/geth, cmd/utils: improve interrupt handlingFelix Lange2015-07-061-3/+1
| | | | | | | | | 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
* account update: migrate or change passwordzelig2015-07-031-7/+61
| | | | | | * account.Update * KeyStore.Cleanup * fix dir rm for old format deleteKey
* no primary when listing accountszelig2015-07-031-4/+2
|
* unlock multiple passes and obsolete primaryzelig2015-07-031-16/+22
| | | | | | | * 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 #1351 from karalabe/eth61Jeffrey Wilcke2015-07-011-2/+1
|\ | | | | Implement eth/61
| * cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61Péter Szilágyi2015-07-011-2/+1
| |
* | core, cmd/geth: improved recover functionalityJeffrey Wilcke2015-07-011-7/+29
| | | | | | | | | | `geth recover` now accepts both hashes and numbers using "#" and no longer requires the ethereum instance.
* | core, cmd/geth: recover by numberJeffrey Wilcke2015-07-011-0/+24
|/
* cmd/geth: version bump 0.9.35Jeffrey Wilcke2015-06-301-1/+1
|
* cmd/geth: version bump 0.9.34Jeffrey Wilcke2015-06-301-1/+1
|
* cmd, core, eth, metrics, p2p: require enabling metricsPéter Szilágyi2015-06-301-0/+1
|
* cmd/geth, metrics: separate process metric collection, add diskPéter Szilágyi2015-06-301-22/+2
|
* cmd/geth: finalize mem statsPéter Szilágyi2015-06-251-6/+6
|
* cmd/geth: add memory stat collection tooPéter Szilágyi2015-06-251-0/+24
|
* cmd/geth: add attach and rows flags to the monitor commandPéter Szilágyi2015-06-251-10/+1
|
* cmd/geth, rpc/api: extend metrics API, add a basic monitor commandPéter Szilágyi2015-06-241-0/+10
|
* cmd/geth: version bump 0.9.33Jeffrey Wilcke2015-06-241-1/+1
|
* cmd/geth: bumpJeffrey Wilcke2015-06-241-1/+1
|
* fixed relative path issue with javascript filesBas van Kervel2015-06-231-3/+3
|