<p>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).</p>

CC BY-SA 3.0
2012-11-10T11:15:08.793Z
2012-11-10T11:15:08.793Z
Anonymous
<p>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.</p>

<p>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.</p>

<p>Many thanks for your help,
Patrick </p>

CC BY-SA 3.0
2012-11-08T18:44:35.860Z
New implementation, cool! CPU/GPU? Why don't you test it on a real pool?
d33tah
<protocol><bitcoind><testnet>
Testvectors for dedicated hardware miner
Patrick
# Testvectors for dedicated hardware miner

(Asked by: username_0 on 2012-11-08)

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,
username_0

**Tags:** protocol, bitcoind, testnet

> **Comments:**
> **username_1**: New implementation, cool! CPU/GPU? Why don't you test it on a real pool?  

---

## 1 answers

### Answer by username_2 on 2012-11-10. Score: 1

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).


---

