Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests | Gustav Simonsson | 2016-09-28 | 1 | -0/+48 |
| | |||||
* | cmd/geth: add recovery procedure for AmbiguousAddrError | Felix Lange | 2016-04-12 | 3 | -0/+3 |
| | |||||
* | accounts: cache key addresses | Felix Lange | 2016-04-12 | 4 | -2/+3 |
| | | | | | | | | | | | | | | | 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 commands | Felix Lange | 2016-04-12 | 10 | -0/+28 |
| | |||||
* | accounts, crypto: move keystore to package accounts | Felix Lange | 2016-04-12 | 3 | -0/+78 |
The account management API was originally implemented as a thin layer around crypto.KeyStore, on the grounds that several kinds of key stores would be implemented later on. It turns out that this won't happen so KeyStore is a superflous abstraction. In this commit crypto.KeyStore and everything related to it moves to package accounts and is unexported. |