<p>When a miner succeeds in finding a valid block, the miner needs to attach the block to its own chain of its own node. Knowledge of this chain is then communicated and accepted by other nodes on the network, as long the block is valid.</p>
<blockquote>
<p>But how do the validators know his address to confirm his reward transaction?</p>
</blockquote>
<p>Finding a valid block is already sufficient for the miner to generate <em>themselves</em> the coinbase(/&quot;reward&quot;) transaction to an address specified by the miner. Other nodes(/&quot;validators&quot;) don't need to know the address or confirm the coinbase transaction first. However, other nodes do need to accept that the block is valid and then update their chain with the new block. You could say that validation/confirmation of the coinbase transaction is implicit when other nodes accept the block.</p>
<blockquote>
<p>Does this mean that spreading the message is not enough and the miner should spread the list of transactions too? If yes then what is the first thing he has to announce; the message or the list of transactions?&gt;</p>
</blockquote>
<p>How it works is that once the miner has attached the new block to its chain, the miner will first send a message called <a href="https://en.bitcoin.it/wiki/Protocol_documentation#inv" rel="nofollow noreferrer"><code>inv</code></a> to its 10-15 peers that its aware of. Then its peers will send a message <code>getdata</code> back to the miner, and the miner will then send the message <code>block</code> with the actual block to the peer who will update their chain. The peers of the peers will do the same with its list of 10-15 peers and so on, and that is how the whole P2P network is 'flooded' and updated with the new block.</p>

CC BY-SA 4.0
2022-02-17T09:17:41.967Z
Moderators, please do correct answer if I made a mistake somewhere.
stackaccount
CC BY-SA 4.0
2022-02-17T08:53:15.787Z
2022-02-17T09:07:25.630Z
2022-02-17T09:07:25.630Z
stackaccount
<p>I know that the miner after success he spreads to the network the message that is the concatenation of: Version, Previous Block, Merkle Root, Time, Bits, and Nonce. But how do the validators know his address to confirm his reward transaction? Does this mean that spreading the message is not enough and the miner should spread the list of transactions too? If yes then what is the first thing he has to announce; the message or the list of transactions?</p>

CC BY-SA 4.0
2022-02-17T03:23:11.403Z
Does https://bitcoin.stackexchange.com/questions/49747/where-do-the-mined-bitcoins-go answer your question?
Ava Chow
<mining-theory>
What should the miner do if he succeed?
Prometheus
# What should the miner do if he succeed?

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

I know that the miner after success he spreads to the network the message that is the concatenation of: Version, Previous Block, Merkle Root, Time, Bits, and Nonce. But how do the validators know his address to confirm his reward transaction? Does this mean that spreading the message is not enough and the miner should spread the list of transactions too? If yes then what is the first thing he has to announce; the message or the list of transactions?

**Tags:** mining-theory

> **Comments:**
> **username_1**: Does https://bitcoin.stackexchange.com/questions/49747/where-do-the-mined-bitcoins-go answer your question?  

---

## 1 answers

### Answer by username_2 on 2022-02-17. Score: 1

When a miner succeeds in finding a valid block, the miner needs to attach the block to its own chain of its own node. Knowledge of this chain is then communicated and accepted by other nodes on the network, as long the block is valid.

> But how do the validators know his address to confirm his reward transaction?

Finding a valid block is already sufficient for the miner to generate *themselves* the coinbase(/"reward") transaction to an address specified by the miner. Other nodes(/"validators") don't need to know the address or confirm the coinbase transaction first. However, other nodes do need to accept that the block is valid and then update their chain with the new block. You could say that validation/confirmation of the coinbase transaction is implicit when other nodes accept the block.

> Does this mean that spreading the message is not enough and the miner should spread the list of transactions too? If yes then what is the first thing he has to announce; the message or the list of transactions?>

How it works is that once the miner has attached the new block to its chain, the miner will first send a message called [`inv`](https://en.bitcoin.it/wiki/Protocol_documentation#inv) to its 10-15 peers that its aware of. Then its peers will send a message `getdata` back to the miner, and the miner will then send the message `block` with the actual block to the peer who will update their chain. The peers of the peers will do the same with its list of 10-15 peers and so on, and that is how the whole P2P network is 'flooded' and updated with the new block.

> **Comments:**
> **username_2**: Moderators, please do correct answer if I made a mistake somewhere.  

---

