<blockquote>
  <p>I know this sounds like a silly question, but is there some place to download all 137.4 gigabytes of hashes for the Satoshi block or some other block?</p>
</blockquote>

<p>Nope.</p>

<blockquote>
  <p>Otherwise, what is the best way to generate them?</p>
</blockquote>

<p><a href="https://gist.github.com/nickodell/ccd95f87095b45259285" rel="nofollow">Here's a program that does what you asked.</a> It's a modification of Ken Shirrif's <a href="https://gist.github.com/shirriff/cd5c66da6ba21a96bb26" rel="nofollow">example mining program</a>. It mines the genesis block.</p>

<p>It produces hashes at 2 MB/s on my laptop.</p>

<blockquote>
  <p>Can I pick up an old ASIC miner and have it write every single hash to a hard drive?</p>
</blockquote>

<p>Maybe, but it wouldn't really be faster than doing it with your CPU.</p>

CC BY-SA 3.0
2015-01-21T18:49:59.853Z
Would ASIC mining not be faster than CPU mining because the task of writing hashes to disk makes the process I/O bound?
James Mishra
CC BY-SA 3.0
2015-01-21T18:58:09.750Z
@JamesMishra Yeah.
Nick ODell
CC BY-SA 3.0
2015-01-21T18:06:27.523Z
2015-01-21T18:06:27.523Z
Nick ODell
<p>I am working in a computational research lab, and we're taking a look at Bitcoin. I'm trying to develop a simulation of Bitcoin mining for a nonexistent computer architecture.</p>

<p>I want to simulate the mining of a single block (say... the Satoshi block) without actually doing the work. To my understanding, each block in the chain has the winning nonce that enabled the miner to mine the block, but I also want to enumerate:</p>

<ul>
<li>all of the losing hashes</li>
<li>other potential winners that could have worked</li>
</ul>

<p>Part of our simulation is the mathematics of our simulation (and the hypothetical architecture) could operate on all possible hashes at once.</p>

<p>A 256 bit hash for all 2^32 nonce values[1] of a block is only 2^(8+32) bits, or about 137.4 gigabytes.</p>

<p>I know this sounds like a silly question, but is there some place to download all 137.4 gigabytes of hashes for the Satoshi block or some other block? Otherwise, what is the best way to generate them? Can I pick up an old ASIC miner and have it write every single hash to a hard drive?</p>

<p>Footnotes:</p>

<p>[1] I know that there are extra sources of variation in the transaction list, coinbase nonce, timestamp, etc., but we are currently limiting the scope of our simulation to just the original nonce while keeping everything else constant.</p>

CC BY-SA 3.0
2017-11-26T10:14:48.140Z
"*Can I pick up an old ASIC miner and have it write every single hash to a hard drive?*" Nope. ASICs only do exactly what they were made to do and outputting losing hashes wasn't what they were made to do, so they can't do that.
David Schwartz
<hash><mining-theory><sha256><block-header><nonce>
Given a block, is there a list of all hashes for all possible 2^32 nonce values?
James Mishra
# Given a block, is there a list of all hashes for all possible 2^32 nonce values?

(Asked by: username_0 on 2015-01-21)

I am working in a computational research lab, and we're taking a look at Bitcoin. I'm trying to develop a simulation of Bitcoin mining for a nonexistent computer architecture.

I want to simulate the mining of a single block (say... the Satoshi block) without actually doing the work. To my understanding, each block in the chain has the winning nonce that enabled the miner to mine the block, but I also want to enumerate:

* all of the losing hashes
* other potential winners that could have worked

Part of our simulation is the mathematics of our simulation (and the hypothetical architecture) could operate on all possible hashes at once.

A 256 bit hash for all 2^32 nonce values[1] of a block is only 2^(8+32) bits, or about 137.4 gigabytes.

I know this sounds like a silly question, but is there some place to download all 137.4 gigabytes of hashes for the Satoshi block or some other block? Otherwise, what is the best way to generate them? Can I pick up an old ASIC miner and have it write every single hash to a hard drive?

Footnotes:

[1] I know that there are extra sources of variation in the transaction list, coinbase nonce, timestamp, etc., but we are currently limiting the scope of our simulation to just the original nonce while keeping everything else constant.

**Tags:** hash, mining-theory, sha256, block-header, nonce

> **Comments:**
> **username_1**: "*Can I pick up an old ASIC miner and have it write every single hash to a hard drive?*" Nope. ASICs only do exactly what they were made to do and outputting losing hashes wasn't what they were made to do, so they can't do that.  

---

## 1 answers

### Answer by username_2 on 2015-01-21. Score: 3 | Accepted answer

> I know this sounds like a silly question, but is there some place to download all 137.4 gigabytes of hashes for the Satoshi block or some other block?

Nope.

> Otherwise, what is the best way to generate them?

[Here's a program that does what you asked.](https://gist.github.com/nickodell/ccd95f87095b45259285) It's a modification of Ken Shirrif's [example mining program](https://gist.github.com/shirriff/cd5c66da6ba21a96bb26). It mines the genesis block.

It produces hashes at 2 MB/s on my laptop.

> Can I pick up an old ASIC miner and have it write every single hash to a hard drive?

Maybe, but it wouldn't really be faster than doing it with your CPU.

> **Comments:**
> **username_0**: Would ASIC mining not be faster than CPU mining because the task of writing hashes to disk makes the process I/O bound?  
> **username_2**: @JamesMishra Yeah.  

---

