Getwork

From Bitcoin Wiki
Revision as of 22:30, 7 June 2011 by Bytemaster (talk | contribs) (Created page with "Just ignore the midstate until you understand the internals of SHA256. calculate: hash = SHA256(SHA256(data)) If that meets the difficulty, you win! If not, increment the port...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just ignore the midstate until you understand the internals of SHA256.

calculate: hash = SHA256(SHA256(data))

If that meets the difficulty, you win!

If not, increment the portion of the data that starts 640 bits in (bytes 76 to 79), and try again.

If the incremented portion overflows, get new work.