aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/main.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* improved action descriptionBas van Kervel2015-06-231-1/+1
|
* added batch support to console and attach actionsBas van Kervel2015-06-221-4/+13
|
* added attach over ipc commandBas van Kervel2015-06-221-0/+46
|
* removed old rpc structure and added new inproc api clientBas van Kervel2015-06-221-2/+7
|
* refactored old rpc structure to newBas van Kervel2015-06-221-0/+1
|
* cmd/geth: bump 0.9.31obscuren2015-06-161-1/+1
|
* cmd/geth: bump version number 0.9.30obscuren2015-06-161-1/+1
|
* fixed saving receiptszsfelfoldi2015-06-151-0/+6
|
* fixed windows ipc path issueBas van Kervel2015-06-121-2/+2
|
* ipc socket always used default pathBas van Kervel2015-06-121-1/+1
|
* changed send methods for backwards compatability in geth consoleBas van Kervel2015-06-111-2/+0
|
* added console commandBas van Kervel2015-06-111-0/+2
|
* changed send methods for backwards compatability in geth consoleBas van Kervel2015-06-111-2/+2
|
* added console commandBas van Kervel2015-06-111-0/+2
|
* added API/IPC commandline flagsBas van Kervel2015-06-111-0/+8
|
* cmd/geth: develop version bump 0.9.29obscuren2015-06-101-1/+1
|
* cmd/geth: bumped version number 0.9.28obscuren2015-06-101-1/+1
|
* core: settable genesis nonceobscuren2015-06-091-0/+1
| | | | | | | 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/geth: version bump 0.9.27obscuren2015-06-051-1/+1
|
* cmd/geth: bump version v0.9.26obscuren2015-05-281-1/+1
|
* Validate account length and avoid slicing in loggingGustav Simonsson2015-05-281-2/+2
|
* cmd/geth, cmd/utils: rename utils.Get* -> utils.Make*Felix Lange2015-05-281-4/+4
| | | | | 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: move blockchain commands to chaincmd.goFelix Lange2015-05-281-146/+7
|
* cmd/geth, cmd/utils: don't use Ethereum for import, export and upgradedbFelix Lange2015-05-281-80/+33
| | | | | | 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: bump version 0.9.25obscuren2015-05-271-1/+1
|
* cmd/geth: Flush instead of close. This solves a nil ptr errorobscuren2015-05-271-6/+6
|
* cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flagPéter Szilágyi2015-05-271-0/+1
|
* cmd/geth: bumped version to 0.9.24obscuren2015-05-261-1/+1
|
* cmd/geth: bump version 0.9.23obscuren2015-05-221-1/+1
|
* automatic DAG pregeneration for smooth epoch transitionszelig2015-05-211-1/+2
| | | | | | | | - 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
* add usage doc to wallet importzelig2015-05-201-1/+9
|
* solc now in ethereum, fixes solc path setting; setSolc() didnt workzelig2015-05-201-2/+0
|
* Support multiple account unlock attemptsTaylor Gerring2015-05-201-3/+10
|
* Allow unlocking multiple accounts #1045Taylor Gerring2015-05-201-9/+13
| | | | Separate accounts with spaces when using --unlock
* Refactor user prompts into utilsTaylor Gerring2015-05-191-46/+3
|
* Add user confirmation for removedbTaylor Gerring2015-05-191-5/+40
|
* Add "removedb" command to GethTaylor Gerring2015-05-181-0/+15
| | | | Removes the state and blockchain databases
* Merge branch 'hotfix/0.9.22' into developobscuren2015-05-181-1/+1
|\
| * cmd/geth: fixed ver numobscuren2015-05-181-1/+1
| |
* | cmd/geth: delete state db on upgradedb commandobscuren2015-05-161-0/+1
|/
* cmd/geth: hotfix bumpobscuren2015-05-161-1/+1
|
* core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21obscuren2015-05-161-3/+1
|
* removed invalid filename charactersBas van Kervel2015-05-131-1/+1
|