Skip to content
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

equihash integration #3

Open
goodthebest opened this issue Mar 22, 2018 · 3 comments
Open

equihash integration #3

goodthebest opened this issue Mar 22, 2018 · 3 comments

Comments

@goodthebest
Copy link

@khovratovich
Not, sure if I can phrase my query right. I'm not that technical into C ++, just wondering how can we implement and integrate equihash algo into our mining application? Any hint, guide or reference will be appreciated to achieve this.

@ramytarchichy
Copy link

ramytarchichy commented Mar 24, 2018

Based on pow-test.cc:

//Create PoW challenge
Equihash equihash(n,k,seed);

//Solve it
Proof p = equihash.FindProof();

//Verify the solution
bool valid = p.Test();

So you'd want to download the challenge info from the mining pool, solve it, and send the solution back to the pool for it to verify it.

@L0gi
Copy link

L0gi commented Apr 8, 2018

Hi,
am I missing something or does the implemented Test only test for the overall collision condition and not the Algorithm binding condition? i.e. a verifier should implement that in addition to what you are doing in Proof.Test()? (If so that may explain why some verifier libraries that are out there are missing the Algorithm binding condition. )

Also am I understanding correctly, that this reference implementation does not support difficulty conditions as proposed in your paper?

@ETS5
Copy link

ETS5 commented Apr 24, 2018

How difficult would it be to have the yiimp fork support this algorithm? It seems to be based off both blake2 and blake2b which if i remember correctly the yiimp based mining application supports as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants