<p>The only way to know which pool has mined a particular block is by identifying data that miners include in the coinbase transaction. However care must be taken as this data can be faked. Also many mining pools omits this, which is why there are many blocks that are from "unknown" miners. </p>

<p>Let us take the last block mined by BTC.com, which is #572639. To look at the coinbase data, you will need to look at the first transaction included in the block which is <code>806e80560f7c87059b9103d8bd4fca7be14810af47940c40464276d971fd2625</code>. After you decode this transaction you will get the following input: </p>

<pre><code>"vin": [
        {
            "coinbase": "03dfbc080479b0bc5c672f4254432e434f4d2ffabe6d6d6b01cdd5d0aa44ffa14f158f90119afef5e5440b5f6ff324e74a988e6db4294d0100000000000000cb2b382f00005a2197460000",
            "sequence": 4294967295
        }
</code></pre>

<p>In the coinbase data, pay close attention to the part <code>5c672f4254432e434f4d2f</code>. This data is included in all blocks mined by BTC.com pool. If you decode this you get '\\g/BTC.com':</p>

<pre><code>&gt;&gt;&gt; pool_data = '5c672f4254432e434f4d2f' 
&gt;&gt;&gt; bytes.fromhex(pool_data).decode()
'\\g/BTC.COM/'
</code></pre>

CC BY-SA 4.0
2019-04-22T05:58:08.920Z
2019-04-22T16:00:07.990Z
2019-04-22T16:00:07.990Z
Ugam Kamat
<p>The share of hash rate of mining pools which some websites display is an approximation based on who has mined recent blocks, and not an accurate measure of actual hash rate.</p>

<p>When a mining pool constructs a new block template, they can optionally include their name inside the <code>coinbase</code>, which is used in place of the scriptSig on the input of the first transaction in the block, and can include arbitrary data.</p>

<p>The websites displaying pool statistics simply extract this information from each block's coinbase and aggregate it for N preceding blocks. There is no requirement to include the information, which makes up the "unknown" miners, and there is also no obligation for anyone to be honest about who they are, so anybody successfully mining a block could claim to be somebody else.</p>

CC BY-SA 4.0
2019-04-22T10:01:06.350Z
`is an approximation based on who has mined recent blocks` that’s the point of the question : how to know who mined a specific block ?
user2284570
CC BY-SA 4.0
2019-04-22T05:55:41.787Z
2019-04-22T05:55:41.787Z
Mark H
<p>Since it’s not possible to <a href="https://bitcoin.stackexchange.com/q/66260">know mining pools nodes addresses</a>, how do we know the that a specific node owing 15% of share belongs to btc.com for example ?</p>

CC BY-SA 4.0
2019-04-22T05:41:34.877Z
I don't understand your question. Generally it's not known which nodes belong to miners.
Pieter Wuille
CC BY-SA 4.0
2019-04-22T10:04:05.443Z
@PieterWuille if I understand correctly the hashrate is computed from recent block mined and we known how each block was mined by who through the ɪᴘ of the node used by the mining pool right ? Then how we know that node ɪᴘ belongs to a specific pool ?
user2284570
<mining-pools><hashpower><nodes>
How is pool hashrate share name known?
user2284570
# How is pool hashrate share name known?

(Asked by: username_0 on 2019-04-22)

Since it’s not possible to [know mining pools nodes addresses](https://bitcoin.stackexchange.com/q/66260), how do we know the that a specific node owing 15% of share belongs to btc.com for example ?

**Tags:** mining-pools, hashpower, nodes

> **Comments:**
> **username_1**: I don't understand your question. Generally it's not known which nodes belong to miners.  
> **username_0**: @username_1 if I understand correctly the hashrate is computed from recent block mined and we known how each block was mined by who through the ɪᴘ of the node used by the mining pool right ? Then how we know that node ɪᴘ belongs to a specific pool ?  

---

## 2 answers

### Answer by username_2 on 2019-04-22. Score: 1 | Accepted answer

The only way to know which pool has mined a particular block is by identifying data that miners include in the coinbase transaction. However care must be taken as this data can be faked. Also many mining pools omits this, which is why there are many blocks that are from "unknown" miners.

Let us take the last block mined by BTC.com, which is #572639. To look at the coinbase data, you will need to look at the first transaction included in the block which is `806e80560f7c87059b9103d8bd4fca7be14810af47940c40464276d971fd2625`. After you decode this transaction you will get the following input:

```
"vin": [
        {
            "coinbase": "03dfbc080479b0bc5c672f4254432e434f4d2ffabe6d6d6b01cdd5d0aa44ffa14f158f90119afef5e5440b5f6ff324e74a988e6db4294d0100000000000000cb2b382f00005a2197460000",
            "sequence": 4294967295
        }

```

In the coinbase data, pay close attention to the part `5c672f4254432e434f4d2f`. This data is included in all blocks mined by BTC.com pool. If you decode this you get '\\g/BTC.com':

```
>>> pool_data = '5c672f4254432e434f4d2f' 
>>> bytes.fromhex(pool_data).decode()
'\\g/BTC.COM/'

```


---

### Answer by username_3 on 2019-04-22. Score: 0

The share of hash rate of mining pools which some websites display is an approximation based on who has mined recent blocks, and not an accurate measure of actual hash rate.

When a mining pool constructs a new block template, they can optionally include their name inside the `coinbase`, which is used in place of the scriptSig on the input of the first transaction in the block, and can include arbitrary data.

The websites displaying pool statistics simply extract this information from each block's coinbase and aggregate it for N preceding blocks. There is no requirement to include the information, which makes up the "unknown" miners, and there is also no obligation for anyone to be honest about who they are, so anybody successfully mining a block could claim to be somebody else.

> **Comments:**
> **username_0**: `is an approximation based on who has mined recent blocks` that’s the point of the question : how to know who mined a specific block ?  

---

