aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/accountcmd.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd: various golint fixes (#16700)kiel barry2018-05-091-2/+2
| | | | | | | | * cmd: various golint fixes * cmd: update to pr change request * cmd: update to pr change request
* cmd/geth: make geth account new faster with many keys (#15529)Martin Holst Swende2017-11-211-4/+17
|
* cmd/geth: fixed a minor typo in the commentsnecaremus2017-06-161-1/+1
|
* cmd/geth: reintroduce wallet import subcommandBas van Kervel2017-05-231-15/+30
|
* cmd/geth: reorganise account/wallet command/flagsBas van Kervel2017-04-281-61/+62
|
* cmd/geth: add --config file flag (#13875)Felix Lange2017-04-121-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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, whisper/mailserver: revert to utils.FatalfPéter Szilágyi2017-02-231-31/+15
|
* accounts, cmd: port packages over to the new logging systemPéter Szilágyi2017-02-231-2/+2
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-19/+35
|
* accounts, cmd, internal, mobile, node: canonical account URLsPéter Szilágyi2017-02-131-1/+1
|
* accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-131-6/+11
|
* accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-131-17/+25
|
* cmd/geth: improve command help messages (#3227)Kenji Siu2016-11-101-40/+51
|
* cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utilsFelix Lange2016-09-051-5/+5
|
* cmd/utils, node: create account manager in package nodeFelix Lange2016-08-171-13/+11
| | | | | | | | | | | | | | | 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/geth: fix the import error messageYohann LEON2016-06-291-1/+1
| | | | cmd/geth: include the error message on import failure
* cmd: fix CLI package deprecation warningsPéter Szilágyi2016-06-101-5/+10
|
* cmd/geth: codegansta/cli package renamed to urfave/cliBas van Kervel2016-06-091-1/+1
|
* cmd/geth: fix the keystore path in the accounts help textPéter Szilágyi2016-06-081-1/+1
|
* cmd/geth, console: fix reviewer issuesPéter Szilágyi2016-05-311-2/+2
|
* cmd, console: split off the console into a reusable packagePéter Szilágyi2016-05-301-2/+3
|
* accounts: improve API and add documentationFelix Lange2016-04-121-1/+6
| | | | | - Sign takes common.Address, not Account - Import/Export methods work with encrypted JSON keys
* cmd/geth: add recovery procedure for AmbiguousAddrErrorFelix Lange2016-04-121-1/+36
|
* cmd/geth: print actual error when --unlock failsFelix Lange2016-04-121-2/+2
|
* accounts: add ErrDecryptFelix Lange2016-04-121-1/+1
|
* accounts: cache key addressesFelix Lange2016-04-121-4/+4
| | | | | | | | | | | | | | | In order to avoid disk thrashing for Accounts and HasAccount, address->key file mappings are now cached in memory. This makes it no longer necessary to keep the key address in the file name. The address of each key is derived from file content instead. There are minor user-visible changes: - "geth account list" now reports key file paths alongside the address. - If multiple keys are present for an address, unlocking by address is not possible. Users are directed to remove the duplicate files instead. Unlocking by index is still possible. - Key files are overwritten written in place when updating the password.
* cmd/geth: add tests for account commandsFelix Lange2016-04-121-1/+6
|
* accounts: streamline APIFelix Lange2016-04-121-8/+3
| | | | | | - Manager.Accounts no longer returns an error. - Manager methods take Account instead of common.Address. - All uses of Account with unkeyed fields are converted.
* cmd/geth: move account commands to accountcmd.goFelix Lange2016-04-121-0/+283