go-pulse/accounts
Felix Lange a9f26dcd0d accounts: cache key addresses
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.
2016-04-12 15:58:07 +02:00
..
abi accounts, crypto: move keystore to package accounts 2016-04-12 15:56:49 +02:00
testdata accounts: cache key addresses 2016-04-12 15:58:07 +02:00
account_manager.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
accounts_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
addrcache_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
addrcache.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_passphrase_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_passphrase.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_plain.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
presale.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
watch_fallback.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
watch.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00