aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/usage.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd, eth, les: make les flags conform to dotted stylePéter Szilágyi2019-07-101-5/+7
|
* cmd: encapsulate les relative cli optionsrjl4934564422019-07-101-2/+7
|
* cmd, eth, les: fix up ultra light config integrationPéter Szilágyi2019-07-101-0/+3
|
* cmd, graphql, node: graphql flag polishes, les integrationPéter Szilágyi2019-06-201-4/+9
|
* 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, core, eth, les, node: chain freezer on top of db reworkPéter Szilágyi2019-05-161-0/+1
|
* eth, les, geth: implement cli-configurable global gas cap for RPC calls (#19401)Martin Holst Swende2019-04-081-0/+1
| | | | | | | | * eth, les, geth: implement cli-configurable global gas cap for RPC calls * graphql, ethapi: place gas cap in DoCall * ethapi: reformat log message
* accounts, cmd, internal: disable unlock account on open HTTP (#17037)gary rong2019-04-041-0/+1
| | | | | | | | | | * 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
* 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-10/+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: prefer nil slices over zero-length slices (#19077)Matthew Halpern2019-02-151-1/+1
|
* accounts, eth, clique, signer: support for external signer API (#18079)Martin Holst Swende2019-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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).
* cmd/geth: update cli copyright years (#18455)dragonvslinux2019-01-161-1/+1
| | | | | | | | | | * Update copyright 2018 -> 2019 * Update copyright 2018 -> 2019
* 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
|
* 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.
* cmd, core, eth, miner, params: configurable gas floor and ceilPéter Szilágyi2018-08-291-0/+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, 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-6/+9
|
* cmd, consensus/ethash, eth: miner push notificationsPéter Szilágyi2018-08-101-0/+1
|
* cmd/geth: fix usage formatting (#17136)Wenbiao Zheng2018-07-091-1/+2
|
* cmd/geth: export metrics to InfluxDB (#16979)Anton Evangelatov2018-07-021-1/+12
| | | | | | | | * 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: update the copyright year in the geth command usage (#16537)Vie2018-04-231-1/+1
|
* 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-1/+5
| | | This commit reduces database I/O by not writing every state trie to disk.
* cmd, dashboard: dashboard using React, Material-UI, Recharts (#15393)Kurkó Mihály2017-11-151-0/+14
| | | | | | | | | | | | * 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-1/+6
| | | | | | | | * 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, 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
|
* cmd/geth: fix whisper flag group capitalizationPéter Szilágyi2017-06-261-1/+1
|
* whisper: move flags from whisper package to utilsBas van Kervel2017-06-211-2/+1
|
* whisperv5: integrate whisper and add whisper RPC simulatorBas van Kervel2017-06-151-4/+6
|
* cmd, core, eth: configurable txpool parametersPéter Szilágyi2017-05-291-0/+12
|
* cmd/geth: reorganise help section for new cli flag handlingBas van Kervel2017-05-251-0/+56
|
* cmd, node: support different bootnodes, fix default light portPéter Szilágyi2017-05-101-0/+2
|
* cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-041-1/+2
|
* 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-4/+13
|
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-131-6/+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-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 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
* 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/+10
|
* 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
|
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-251-0/+1
|
* p2p/discv5: added new topic discovery packageZsolt Felfoldi2016-11-091-1/+1
|
* cmd, eth: added light client and light server modeszsfelfoldi2016-11-091-0/+4
|
* Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | This commit converts the dependency management from Godeps to the vendor folder, also switching the tool from godep to trash. Since the upstream tool lacks a few features proposed via a few PRs, until those PRs are merged in (if), use github.com/karalabe/trash. You can update dependencies via trash --update. All dependencies have been updated to their latest version. Parts of the build system are reworked to drop old notions of Godeps and invocation of the go vet command so that it doesn't run against the vendor folder, as that will just blow up during vetting. The conversion drops OpenCL (and hence GPU mining support) from ethash and our codebase. The short reasoning is that there's noone to maintain and having opencl libs in our deps messes up builds as go install ./... tries to build them, failing with unsatisfied link errors for the C OpenCL deps. golang.org/x/net/context is not vendored in. We expect it to be fetched by the user (i.e. using go get). To keep ci.go builds reproducible the package is "vendored" in build/_vendor.
* cmd, core/state: allow configurable trie cache generationsPéter Szilágyi2016-10-191-0/+6
|
* cmd, eth: drop the blockchain version from cli/eth configsPéter Szilágyi2016-09-151-1/+0
|
* cmd/geth: added copyright and license informationJeffrey Wilcke2016-08-221-0/+2
| | | | | | 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, core, eth, params: implement flags to control dao fork blocksPéter Szilágyi2016-07-151-1/+0
|
* Revert "core: update DAO soft-fork number, clean up the code"Péter Szilágyi2016-06-291-1/+0
| | | | This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0.
* core: update DAO soft-fork number, clean up the codePéter Szilágyi2016-06-231-0/+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/+1
|
* cmd: add a `--fakepow` flag to help benchmarking database changesPéter Szilágyi2016-04-211-2/+5
|
* 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/+1
|/
* cmd/geth: add missing gas target flag (fixing 0 convergence issue)Péter Szilágyi2016-04-041-1/+1
|
* core: added basic chain configurationJeffrey Wilcke2016-04-011-0/+1
| | | | | | | | | 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
|
* internal/debug: APIs for profiling and tracingFelix Lange2016-01-281-10/+3
| | | | | | 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-2/+6
|
* rpc: new RPC implementation with pub/sub supportBas van Kervel2015-12-141-0/+1
|
* cmd/geth, cmd/utils: surface the light KDF flag to the CLIPéter Szilágyi2015-11-101-0/+1
|
* cmd/geth, cmd/utils, eth: group CLI flags by purposePéter Szilágyi2015-10-301-0/+212