0

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?

2

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? – Robert Feb 23 '16 at 7:40
  • @Robert: Yes, please see Transaction fees for full information about how this works in Bitcoin. – Greg Hewgill Feb 23 '16 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.