-
Notifications
You must be signed in to change notification settings - Fork 447
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
Keystore Initialization - 100% CPU Usage #457
Comments
Experiencing this as well, the whole device locks up. |
Can confirm. Best workaround right now is to run in the background via |
confirmed issue is in scrypt and all its calls to the function rotateLeft |
This should only be an issue in debug builds when using SPM. Can someone please confirm if this is still an issue using the latest version of web3swift and building/running in release mode? |
Can confirm. Have no issues for release builds. |
The initialization of a Keystore freezes the whole application and apparently throws a load of work onto the CPU - 100%.
let keystore = try! EthereumKeystoreV3(privateKey: dataKey, password: password)!
This line is completely copied from the examples and uses simple strings. The function itself is the cause of the issue.
The text was updated successfully, but these errors were encountered: