<blockquote>
  <p>How exactly are these blocks formed?</p>
</blockquote>

<p>First a miner decides which transactions to include in their block (usually they run algorithms that maximize its profit), and collects the transactions fees in the block.</p>

<blockquote>
  <p>Also, does each transaction have its own hash?</p>
</blockquote>

<p>Yep, transactions are named with their hash. For example the transaction <code>c58523726c33e982a69ff092f56d782790ece31185bd4b824e36002e5f507e1e</code> is called <code>c58523726c33e982a69ff092f56d782790ece31185bd4b824e36002e5f507e1e</code>.</p>

<blockquote>
  <p>If so, how are all of the hashes grouped together into one has for the block?</p>
</blockquote>

<p>That's a complex process named <a href="https://bitcoin.stackexchange.com/questions/10479/what-is-the-merkle-root">"Merkle root"</a>.</p>

CC BY-SA 3.0
2017-10-25T18:09:18.607Z
2017-10-25T18:09:18.607Z
MCCCS
<p>As much as I hate to admit it, I am not very tech savvy, and as such, I am fairly confused about the concept of the blockchain. I understand that the chain holds information about previously approved transactions that are grouped together into blocks. How exactly are these blocks formed? Also, does each transaction have its own hash? If so, how are all of the hashes grouped together into one has for the block?</p>

<blockchain><hash>
How are thousands of transactions put into a block?
Richard
# How are thousands of transactions put into a block?

(Asked by: username_0 on 2017-10-25)

As much as I hate to admit it, I am not very tech savvy, and as such, I am fairly confused about the concept of the blockchain. I understand that the chain holds information about previously approved transactions that are grouped together into blocks. How exactly are these blocks formed? Also, does each transaction have its own hash? If so, how are all of the hashes grouped together into one has for the block?

**Tags:** blockchain, hash


---

## 1 answers

### Answer by username_1 on 2017-10-25. Score: 3

> How exactly are these blocks formed?

First a miner decides which transactions to include in their block (usually they run algorithms that maximize its profit), and collects the transactions fees in the block.

> Also, does each transaction have its own hash?

Yep, transactions are named with their hash. For example the transaction `c58523726c33e982a69ff092f56d782790ece31185bd4b824e36002e5f507e1e` is called `c58523726c33e982a69ff092f56d782790ece31185bd4b824e36002e5f507e1e`.

> If so, how are all of the hashes grouped together into one has for the block?

That's a complex process named ["Merkle root"](https://bitcoin.stackexchange.com/questions/10479/what-is-the-merkle-root).


---

