mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 11:31:02 +00:00
a9f26dcd0d
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. |
||
---|---|---|
.. | ||
abi | ||
testdata | ||
account_manager.go | ||
accounts_test.go | ||
addrcache_test.go | ||
addrcache.go | ||
key_store_passphrase_test.go | ||
key_store_passphrase.go | ||
key_store_plain.go | ||
key_store_test.go | ||
key.go | ||
presale.go | ||
watch_fallback.go | ||
watch.go |