-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
accounts: cache key addresses #2284
Commits on Apr 12, 2016
-
tests: remove eth, node, accounts dependencies
Unlocking the accounts in the test doesn't help with anything.
Configuration menu - View commit details
-
Copy full SHA for 83877a0 - Browse repository at this point
Copy the full SHA 83877a0View commit details -
cmd/geth, cmd/utils: improve input handling
These changes make prompting behave consistently on all platforms: * The input buffer is now global. Buffering was previously set up for each prompt, which can cause weird behaviour, e.g. when running "geth account update <input.txt" where input.txt contains three lines. In this case, the first password prompt would fill up the buffer with all lines and then use only the first one. * Print the "unsupported terminal" warning only once. Now that stdin prompting has global state, we can use it to track the warning there. * Work around small liner issues, particularly on Windows. Prompting didn't work under most of the third-party terminal emulators on Windows because liner assumes line editing is always available.
Configuration menu - View commit details
-
Copy full SHA for dff9b42 - Browse repository at this point
Copy the full SHA dff9b42View commit details -
accounts, crypto: move keystore to package accounts
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.
Configuration menu - View commit details
-
Copy full SHA for 85e6c40 - Browse repository at this point
Copy the full SHA 85e6c40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6d8b3 - Browse repository at this point
Copy the full SHA 4e6d8b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dc2096 - Browse repository at this point
Copy the full SHA 2dc2096View commit details -
- Manager.Accounts no longer returns an error. - Manager methods take Account instead of common.Address. - All uses of Account with unkeyed fields are converted.
Configuration menu - View commit details
-
Copy full SHA for 46e8940 - Browse repository at this point
Copy the full SHA 46e8940View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb08d8 - Browse repository at this point
Copy the full SHA 6cb08d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee1682f - Browse repository at this point
Copy the full SHA ee1682fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef63e9a - Browse repository at this point
Copy the full SHA ef63e9aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a9f26dc - Browse repository at this point
Copy the full SHA a9f26dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1ca0b - Browse repository at this point
Copy the full SHA 6f1ca0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 549f1ad - Browse repository at this point
Copy the full SHA 549f1adView commit details -
Configuration menu - View commit details
-
Copy full SHA for aca9d6a - Browse repository at this point
Copy the full SHA aca9d6aView commit details -
cmd/utils: fix --password on Windows
Text files created on Windows typically have \r\n line endings. Trim them when reading password files.
Configuration menu - View commit details
-
Copy full SHA for ea005a0 - Browse repository at this point
Copy the full SHA ea005a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91aadda - Browse repository at this point
Copy the full SHA 91aaddaView commit details -
accounts: improve API and add documentation
- Sign takes common.Address, not Account - Import/Export methods work with encrypted JSON keys
Configuration menu - View commit details
-
Copy full SHA for 46df50b - Browse repository at this point
Copy the full SHA 46df50bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6498df7 - Browse repository at this point
Copy the full SHA 6498df7View commit details