<p>Miner sent message mining.subscribe to pool</p>

<pre><code>mining.subscribe("user agent/version", "extranonce1")
</code></pre>

<p>Pool reply with </p>

<pre><code>[[["mining.set_difficulty", "subscription id 1"],
["mining.notify", "subscription id 2"]],
"extranonce1",
extranonce2_size]
</code></pre>

<p>Pool set size of extranonce2</p>

CC BY-SA 4.0
2018-07-13T07:41:06.083Z
Thanks for your reply.I would like to know in what situation the Extranonce2_size will be changed.
davoschih
CC BY-SA 4.0
2018-07-12T06:36:53.293Z
2018-07-12T06:36:53.293Z
bitaps.com
<p>From stratum,I know that the coinbase is composed of "Coinb1 +Extranonce1 + Extranonce2 + Coinb2".</p>

<p>How did Extranonce2_size change ? </p>

<p>Will the Extranonce2_size change when I connect to a pool?</p>

<mining-pools><stratum>
How did Extranonce2_size change?
davoschih
# How did Extranonce2_size change?

(Asked by: username_0 on 2018-07-12)

From stratum,I know that the coinbase is composed of "Coinb1 +Extranonce1 + Extranonce2 + Coinb2".

How did Extranonce2\_size change ?

Will the Extranonce2\_size change when I connect to a pool?

**Tags:** mining-pools, stratum


---

## 1 answers

### Answer by username_1 on 2018-07-12. Score: 1

Miner sent message mining.subscribe to pool
mining.subscribe("user agent/version", "extranonce1")

Pool reply with 
[[["mining.set_difficulty", "subscription id 1"],
["mining.notify", "subscription id 2"]],
"extranonce1",
extranonce2_size]

Pool set size of extranonce2

> **Comments:**
> **username_0**: Thanks for your reply.I would like to know in what situation the Extranonce2_size will be changed.  

---

