• 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
..
foo Loading commit data...
.hiddenfile Loading commit data...
README Loading commit data...
UTC--2016-03-22T12-57-55.920751759Z--7ef5a6135f1fd6a02593eedc869c6d41d934aef8 Loading commit data...
aaa Loading commit data...
empty Loading commit data...
garbage Loading commit data...
no-address Loading commit data...
zero Loading commit data...
zzz Loading commit data...