<blockquote>
  <p>How do I specify my unique address? </p>
</blockquote>

<p>You don't need to. Bitcoin will add the coinbase transaction automatically.</p>

<blockquote>
  <p>Does it depend on what kind of miner I use </p>
</blockquote>

<p>No.</p>

<blockquote>
  <p>and whether I mine in a pool?</p>
</blockquote>

<p>Yes, because then the pool gives you a block header to mine, which includes <em>their</em> coinbase transaction. If you put in your own coinbase header, then the pool will reject your shares.</p>

<blockquote>
  <p>Also what is "generation" and how is it different from other transactions that include transfers of bitcoins? </p>
</blockquote>

<p>Just like a normal transaction, it specifies how the money can be spent, but unlike normal transactions, it doesn't need to provide any inputs. However, the amount transferred must be equal to the total transaction fees plus the block subsidy.</p>

<blockquote>
  <p>What other transactions are included in the Merkle root?</p>
</blockquote>

<p>Every valid transaction that your bitcoin client knows about is included.</p>

<blockquote>
  <p>I suppose that the pool gives different headers which include different transactions to pool members. Right? </p>
</blockquote>

<p>I'm not sure what you mean by that - the coinbase transaction is different, because the pool doesn't want multiple miners to duplicate work. But in all cases, the coinbase transaction gives the bitcoins to the pool. Actually solving a block is worth just as much to the individual miner as solving a share.</p>

<blockquote>
  <p>What happens to the transactions that are not included. Are they included in future blocks?</p>
</blockquote>

<p>Sometimes. Maybe those transactions are forgotten. It's called the "memory pool" for a reason - it's forgotten on shutdown.</p>

CC BY-SA 3.0
2013-02-17T18:20:44.837Z
I suppose that the pool gives different headers which include different transactions to pool members. Right? Maybe that should be a different question but what happens to the transactions that are not included. Are they included in future blocks?
kon psych
CC BY-SA 3.0
2013-02-18T00:23:33.043Z
@konpsych I edited my answer to add your questions.
Nick ODell
CC BY-SA 3.0
2013-02-18T10:21:16.433Z
I did not realise that the coinbase transaction is different although it is given by the pool. However, even if the transactions are forgotten by my memory pool are they lost? I thought the purpose of mining is to organise all the transactions into blocks. Am I missing something?
kon psych
CC BY-SA 3.0
2013-02-18T16:33:35.620Z
@konpsych This is by design. Transactions that don't make it into a block will eventually be forgotten.
Nick ODell
CC BY-SA 3.0
2013-02-17T17:59:29.423Z
2013-02-18T00:23:15.697Z
2013-02-18T00:23:15.697Z
Nick ODell
<p>I am trying to understand the block hashing algorithm used to generate block.</p>

<p>One of the points mentioned <a href="https://en.bitcoin.it/wiki/Block_hashing_algorithm" rel="nofollow">here</a> is</p>

<blockquote>
  <p>it is (nearly) impossible for two people to have the same Merkle root because the first transaction in your block is a generation "sent" to one of your unique Bitcoin addresses.</p>
</blockquote>

<p>How do I specify my unique address? Does it depend on what kind of miner I use and whether I mine in a pool?</p>

<p>Also what is "generation" and how is it different from other transactions that include transfers of bitcoins? What other transactions are included in the Merkle root?</p>

<transactions><address>
What are the transactions included in the merkle root
kon psych
# What are the transactions included in the merkle root

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

I am trying to understand the block hashing algorithm used to generate block.

One of the points mentioned [here](https://en.bitcoin.it/wiki/Block_hashing_algorithm) is

> it is (nearly) impossible for two people to have the same Merkle root because the first transaction in your block is a generation "sent" to one of your unique Bitcoin addresses.

How do I specify my unique address? Does it depend on what kind of miner I use and whether I mine in a pool?

Also what is "generation" and how is it different from other transactions that include transfers of bitcoins? What other transactions are included in the Merkle root?

**Tags:** transactions, address


---

## 1 answers

### Answer by username_1 on 2013-02-17. Score: 3 | Accepted answer

> How do I specify my unique address?

You don't need to. Bitcoin will add the coinbase transaction automatically.

> Does it depend on what kind of miner I use

No.

> and whether I mine in a pool?

Yes, because then the pool gives you a block header to mine, which includes *their* coinbase transaction. If you put in your own coinbase header, then the pool will reject your shares.

> Also what is "generation" and how is it different from other transactions that include transfers of bitcoins?

Just like a normal transaction, it specifies how the money can be spent, but unlike normal transactions, it doesn't need to provide any inputs. However, the amount transferred must be equal to the total transaction fees plus the block subsidy.

> What other transactions are included in the Merkle root?

Every valid transaction that your bitcoin client knows about is included.

> I suppose that the pool gives different headers which include different transactions to pool members. Right?

I'm not sure what you mean by that - the coinbase transaction is different, because the pool doesn't want multiple miners to duplicate work. But in all cases, the coinbase transaction gives the bitcoins to the pool. Actually solving a block is worth just as much to the individual miner as solving a share.

> What happens to the transactions that are not included. Are they included in future blocks?

Sometimes. Maybe those transactions are forgotten. It's called the "memory pool" for a reason - it's forgotten on shutdown.

> **Comments:**
> **username_0**: I suppose that the pool gives different headers which include different transactions to pool members. Right? Maybe that should be a different question but what happens to the transactions that are not included. Are they included in future blocks?  
> **username_1**: @username_0 I edited my answer to add your questions.  
> **username_0**: I did not realise that the coinbase transaction is different although it is given by the pool. However, even if the transactions are forgotten by my memory pool are they lost? I thought the purpose of mining is to organise all the transactions into blocks. Am I missing something?  
> **username_1**: @username_0 This is by design. Transactions that don't make it into a block will eventually be forgotten.  

---

