<p>Yes, a share hash is a hash of a bitcoin block. Some of them are above the bitcoin network difficulty which means the block is valid. Most are not, and can only be used to show that you are mining (and at what rate).</p>

<p>The data being hashed is the block header. The block header contains the merkle root which is created from the transactions. The transactions are not part of the block header. A bitcoin block is the header plus the transactions.</p>

<p>With the GBT (getblocktemplate) mining protocol you do get all the data, including transactions. This could be used to try and detect if the pool is doing something bad. It could also be used as you say to let the user see the transactions he or she is including in blocks. With GBT there is even the possibility for the miner to remove or add transactions, if supported by the pool. Most of this is still not implemented by miners and pools.</p>

<p>Stratum had an extension to allow you to fetch the transactions for the block you are currently mining. I'm not sure if any pools support it, though.</p>

<p>So far Stratum seems most popular, probably due to its efficiency (low bandwidth usage and fast block changes). GBT, which aims for the transparency you are talking about, has a lot more overhead.</p>

CC BY-SA 3.0
2013-03-01T15:13:45.990Z
Thanks (also a fan of your BitMinter pool)! Regarding calculating the hashrate based on returned shares... how do you calculate that?  I have a question here regarding this: http://bitcoin.stackexchange.com/q/8028/1878
makerofthings7
CC BY-SA 3.0
2013-03-02T21:31:03.990Z
Glad to hear you like BitMinter. :) I put in an answer for your other question as well.
Dr.Haribo
CC BY-SA 3.0
2013-04-09T11:42:09.383Z
@Dr.Haribo: Does `BitMinter` implements `GBT` or `Stratum`?
EDIT: Oh, I just noticed it uses both. stratum+tcp://mint.bitminter.com:3333 (Stratum) or http://mint.bitminter.com:8332 (GBT or getwork)
Macarse
CC BY-SA 3.0
2013-03-01T13:27:16.807Z
2013-03-01T13:27:16.807Z
Dr.Haribo
<p>Is it true that a share hash is simply the same thing as a block hash, but with a lower difficulty?</p>

<p>Is there any way for a miner in a pool to get a list of all the data being hashed (not sure if that is simply the merkle tree, or everything from ListTransactions)?</p>

<p>If the answer is "no", what is the underlying data that is being hashed, and how is it used?</p>

<mining-pools>
How does a share hash compare to a block hash? Can a miner view the contents of the current block?
makerofthings7
# How does a share hash compare to a block hash? Can a miner view the contents of the current block?

(Asked by: username_0 on 2013-02-28)

Is it true that a share hash is simply the same thing as a block hash, but with a lower difficulty?

Is there any way for a miner in a pool to get a list of all the data being hashed (not sure if that is simply the merkle tree, or everything from ListTransactions)?

If the answer is "no", what is the underlying data that is being hashed, and how is it used?

**Tags:** mining-pools


---

## 1 answers

### Answer by username_1 on 2013-03-01. Score: 2 | Accepted answer

Yes, a share hash is a hash of a bitcoin block. Some of them are above the bitcoin network difficulty which means the block is valid. Most are not, and can only be used to show that you are mining (and at what rate).

The data being hashed is the block header. The block header contains the merkle root which is created from the transactions. The transactions are not part of the block header. A bitcoin block is the header plus the transactions.

With the GBT (getblocktemplate) mining protocol you do get all the data, including transactions. This could be used to try and detect if the pool is doing something bad. It could also be used as you say to let the user see the transactions he or she is including in blocks. With GBT there is even the possibility for the miner to remove or add transactions, if supported by the pool. Most of this is still not implemented by miners and pools.

Stratum had an extension to allow you to fetch the transactions for the block you are currently mining. I'm not sure if any pools support it, though.

So far Stratum seems most popular, probably due to its efficiency (low bandwidth usage and fast block changes). GBT, which aims for the transparency you are talking about, has a lot more overhead.

> **Comments:**
> **username_0**: Thanks (also a fan of your BitMinter pool)! Regarding calculating the hashrate based on returned shares... how do you calculate that?  I have a question here regarding this: http://bitcoin.stackexchange.com/q/8028/1878  
> **username_1**: Glad to hear you like BitMinter. :) I put in an answer for your other question as well.  
> **username_2**: @username_1: Does `BitMinter` implements `GBT` or `Stratum`? EDIT: Oh, I just noticed it uses both. stratum+tcp://mint.bitminter.com:3333 (Stratum) or http://mint.bitminter.com:8332 (GBT or getwork)  

---

