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

I need your help to understand this piece of Art. #18

Open
Nawter opened this issue Aug 13, 2017 · 1 comment
Open

I need your help to understand this piece of Art. #18

Nawter opened this issue Aug 13, 2017 · 1 comment

Comments

@Nawter
Copy link

Nawter commented Aug 13, 2017

Hi Jan, how are you?, I'll try to understand your code, so I need to ask you some questions:

  1. Where I can put the message in your code to hash the message in sha256 e.g the message is abc
    and the hash-256 of the message is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad?
  2. What is the purpose of these variables in your code: data, midstate, hash1, hash, target?
  3. Why in your code you did twice reset and update, one for midstate and data, the other is for hash, because in the sequential code, I saw it only once, and this is the reference of the sequential code.
  4. What is the purpose of the function toRGBA?
  5. Do you an email to reach you instead of posting message on github.
    Cheers.
@davidawad
Copy link

If I could add to this I'd really appreciate a guide of how this miner actually works and more comments about what these functions are doing.

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

2 participants