<p>The coinbase transaction is not relayed by the network. It is invalid except as the first transaction in a block.</p>

<p>A standalone miner generates the coinbase transaction itself. </p>

<p>In mining pools, the mining pool generates the coinbase, and sends it to the mining client.</p>

CC BY-SA 3.0
2014-10-23T03:51:47.777Z
2014-10-23T03:51:47.777Z
Nick ODell
<p>As the wiki article says,</p>

<blockquote>
  <p>Given just those fields, people would frequently generate the exact
  same sequence of hashes as each other and the fastest CPU would almost
  always win. However, 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.]<a href="https://en.bitcoin.it/wiki/Block_hashing_algorithm" rel="noreferrer">1</a></p>
</blockquote>

<p>Who generates the coinbase transaction?</p>

<mining-reward>
Who generates the coinbase transaction?
sherlock
# Who generates the coinbase transaction?

(Asked by: username_0 on 2014-10-23)

As the wiki article says,

> Given just those fields, people would frequently generate the exact
> same sequence of hashes as each other and the fastest CPU would almost
> always win. However, 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.][1](https://en.bitcoin.it/wiki/Block_hashing_algorithm)

Who generates the coinbase transaction?

**Tags:** mining-reward


---

## 1 answers

### Answer by username_1 on 2014-10-23. Score: 5 | Accepted answer

The coinbase transaction is not relayed by the network. It is invalid except as the first transaction in a block.

A standalone miner generates the coinbase transaction itself.

In mining pools, the mining pool generates the coinbase, and sends it to the mining client.


---

