-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
what is the use of cn_slow_hash_prehashed here? #4537
Comments
Is there a bug here ? |
I am determining which function is compatible with the old cryptonight algorithm. I have changed my code base from the original cryptonote to monero. 0, 0, none of them worked for the old network. |
Ignore prehashed, always set it to 0. variant 0 is the original CN. 1 is what monero is using now. 2 is what monero will be using from v8. See #4218 |
Thanks. I set the last two parameter to 0, 0 for cn_slow_hash, you can checkout code from https://github.com/vigcoin/coin where master can not update while old branch can. the only difference is the cn_slow_hash. |
by Thank you very much. |
+invalid |
by searching cn_slow_hash_prehashed to know that it is only a definition.
The text was updated successfully, but these errors were encountered: