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?
1 Answer
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).
-
@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?– RobertCommented Feb 23, 2016 at 7:40
-
@Robert: Yes, please see Transaction fees for full information about how this works in Bitcoin. Commented Feb 23, 2016 at 7:43