Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have written my own hardware implementation for hash computation. I am participating in a pool, that is I get sent the midstate and some data which should then be hashed.

I wonder, whether there are any testvectors out there, that is I need input the midstate plus data, and see then whether my implementation finds the appropriate nonce that is also supplied with the testvectors.

Many thanks for your help, Patrick

share|improve this question
New implementation, cool! CPU/GPU? Why don't you test it on a real pool? – d33tah Nov 8 '12 at 18:44

The block headers in the blockchain are your test vectors, they already contain the appropriate nonce. Midstate can be computed from these headers, mining software does such a midstate computation (so crib this bit from their source code).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.