<p>As a miner, you get to choose which transactions you include in a block. Ideally, you would choose the set of transactions which maximises your incoming transaction fees, but you may choose any set of transactions you like (including none).</p>

CC BY-SA 3.0
2016-02-23T07:40:25.207Z
@GregHegill Hmm, so I'm little confused. Currently the prize for solving block is 25BTC. So You can earn additional BTC based on transactions fee?
Robert
CC BY-SA 3.0
2016-02-23T07:43:08.100Z
@Robert: Yes, please see [Transaction fees](https://en.bitcoin.it/wiki/Transaction_fees) for full information about how this works in Bitcoin.
Greg Hewgill
CC BY-SA 3.0
2016-02-22T23:34:59.273Z
2016-02-22T23:34:59.273Z
Greg Hewgill
<p>I'm trying to analize getblocktemplate that is returned by Bitcoin Core. If I'm not wrong that data that is returned contain all required data that I need to start mining. But what about the list of transactions? Even if block is currently mining, number of transaction still grows so for that same block if I again execute getblocktemplate I will receive extended list of transaction so that should change Merkel Chain and AFAIK it's used for building new block hash. So in that case how it is possible to solve a block?</p>

<transactions><merkle-tree>
Solving block with number current number of transactions
Robert
# Solving block with number current number of transactions

(Asked by: username_0 on 2016-02-22)

I'm trying to analize getblocktemplate that is returned by Bitcoin Core. If I'm not wrong that data that is returned contain all required data that I need to start mining. But what about the list of transactions? Even if block is currently mining, number of transaction still grows so for that same block if I again execute getblocktemplate I will receive extended list of transaction so that should change Merkel Chain and AFAIK it's used for building new block hash. So in that case how it is possible to solve a block?

**Tags:** transactions, merkle-tree


---

## 1 answers

### Answer by username_1 on 2016-02-22. Score: 3

As a miner, you get to choose which transactions you include in a block. Ideally, you would choose the set of transactions which maximises your incoming transaction fees, but you may choose any set of transactions you like (including none).

> **Comments:**
> **username_0**: @GregHegill Hmm, so I'm little confused. Currently the prize for solving block is 25BTC. So You can earn additional BTC based on transactions fee?  
> **username_1**: @username_0: Yes, please see [Transaction fees](https://en.bitcoin.it/wiki/Transaction_fees) for full information about how this works in Bitcoin.  

---

