Bitcoin Forum
November 05, 2024, 06:48:31 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Where does the 25BTC come from?  (Read 656 times)
konradp (OP)
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
April 08, 2014, 09:38:08 AM
 #1

Hi.

OK, so when a miner or pool (do we simply call them "nodes"?) solves a block, it is rewarded with 25BTC (currently). But where does it come from? I understand a transaction is created as a reward, for the pool/miner's address, but who/what exactly does this and who confirms this if anybody?
Cubic Earth
Legendary
*
Offline Offline

Activity: 1176
Merit: 1020



View Profile
April 08, 2014, 09:53:53 AM
 #2

The block reward is created out of thin air.  It does not 'come from' anywhere.   Bitcoins are bitcoins by communal agreement.  They are an emergent property of a consensus system.

Anyone can create a block and you can award yourself any type of award you want.  But unless your block conforms to all of the relevant rules - including a hash of appropriate difficulty and a correctly sized bitcoin award, it will neither be propagated around the network nor appended on to the blockchain.  If you block does not become part of the blockchain, no one is going to recognize it nor the award you gave yourself.
konradp (OP)
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
April 08, 2014, 10:29:50 AM
 #3

OK, I think I get it - I am the one who creates a transaction for me myself, and as soon as the block is confirmed, all the transactions in the block (including the one I created) are confirmed and are put into blockchain, yes?
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1104


View Profile
April 08, 2014, 10:57:27 AM
 #4

OK, I think I get it - I am the one who creates a transaction for me myself, and as soon as the block is confirmed, all the transactions in the block (including the one I created) are confirmed and are put into blockchain, yes?

Right, the first transaction in the block is called the coinbase transaction.  Unlike all other transactions, it doesn't have any inputs. 

The rule is that the sum of the outputs of a transaction cannot be greater than the sum of the inputs, but that rule doesn't apply to the coinbase transaction.

The sum of all transaction outputs in the block cannot be greater than the sum of all the inputs in the block plus the 25 BTC mint reward.  This means that if a transaction doesn't transfer all of its input value to its outputs, then that can also be added to the coinbase transaction's payout, as a fee.

You don't have to take the mint reward or fees.  A coinbase which pays zero would also be valid.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
konradp (OP)
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
April 08, 2014, 10:59:41 AM
 #5

OK, thank you guys!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!