aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/accountcmd.go
Commit message (Collapse)AuthorAgeFilesLines
* 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