• Felix Lange's avatar
    accounts: cache key addresses · a9f26dcd
    Felix Lange authored
    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.
    a9f26dcd
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
_data Loading commit data...
accounts Loading commit data...
build Loading commit data...
cmd Loading commit data...
common Loading commit data...
compression/rle Loading commit data...
containers Loading commit data...
core Loading commit data...
crypto Loading commit data...
errs Loading commit data...
eth Loading commit data...
ethdb Loading commit data...
event Loading commit data...
generators Loading commit data...
internal/debug Loading commit data...
jsre Loading commit data...
light Loading commit data...
logger Loading commit data...
metrics Loading commit data...
miner Loading commit data...
node Loading commit data...
p2p Loading commit data...
params Loading commit data...
pow Loading commit data...
rlp Loading commit data...
rpc Loading commit data...
tests Loading commit data...
trie Loading commit data...
whisper Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...