Linked Questions

19 votes
2 answers
2k views

What happens when a miner does not claim all fees/generated coins?

Suppose that a miner for some reason has the generation transaction of their blocks not take all the possible coins. This can happen for a variety of reasons, almost all of which are bugs: An off-by-...
4 votes
2 answers
3k views

Where is the bitcoin source code is the 21 million hard cap stated?

I'd like to be able to see the 21,000,000 number.
2 votes
2 answers
185 views

Don't understand fees on a particular bitcoin block

I am comparing and contrasting blocks 200000 and 164246 of the bitcoin blockchain (looking via the bitcoind api or https://www.blockchain.com/explorer?utm_campaign=expnav_explorer is fine). Looking at ...
1 vote
2 answers
72 views

Sum of block values not zero?

Take for e.g. block 163440. The amount paid out in the coinbase transaction is not reward+fees. Does the network not require blocks to have a sum of zero for all transactions + block reward? ...
5 votes
1 answer
844 views

Verifying Block 124724

Just for my own educational purposes, I'm writing something that verifies the blocks on the blockchain. I had in my code this line: assert coinbase_amount == block_reward + total_tip And it succeeded ...
0 votes
1 answer
124 views

How to calculate circulating supply of coins in Bitcoin?

I am not able to understand how circulating supply is calculated by websites like CoinGecko. What does circulating supply mean here - is it the number of coins already minted? If so, how is that ...
0 votes
2 answers
100 views

How are there over 18M bitcoins when the reward halves every 210,000 bitcoins?

A quick google search told me that up to today, more than 18.78 million bitcoins have been mined. Source Another google search told me that today, the mining reward is 6.25 bitcoin per block. If the ...
0 votes
1 answer
41 views

Get the historic circulated suppy

I'm looking for the historic circulated supply of Bitcoin. I'm aware I can get the current supply by creating my own node. But I need the supply at a given date. Does anyone know of an API to get it....
4 votes
1 answer
1k views

How do you calculate when 98% of Bitcoin will be mined?

Trying to find a calculation to work out what year will an arbitrary percentage of bitcoin will be mined, specifically 98%. I know it takes 10 minutes to mine 1 block but unsure how to use this? Thank ...
0 votes
0 answers
61 views

Does Blockchain.info's "totalbc" API value account for "lost" Bitcoins?

totalbc - Total Bitcoins in circulation (delayed by up to 1 hour]) Source: https://blockchain.info/q/ https://blockchain.info/q/totalbc 1865520600000000 It seems like it actually gives the value in ...
2 votes
1 answer
517 views

What happens to a coinbase transaction when no address is given?

The transaction block This coin base transaction has no valid address for reward. Did we lose that reward bitcoin forever?
46 votes
3 answers
20k views

Why can’t the genesis block coinbase be spent?

According to the bitcoin wiki: The first 50BTC block reward went to address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa, though this reward can't be spent due to a quirk in the way that the genesis block is ...
6 votes
1 answer
336 views

Why was BIP34 (Block v2, Height in Coinbase) not implemented via the coinbase tx's locktime or nSequence?

At some point in 2011/12 miners started using custom mining algorithms ignoring the best practise to mine to a different new public key (hash) for each subsequent block. This lead to a lack of ...
5 votes
3 answers
930 views

How to calculate coin supply at each block height from all transactions?

We are working on a small project and imported all block information to mongoDB. Right now we're aiming to calculate the coin supply regarding to the block number. My plan is to loop through all ...
5 votes
1 answer
640 views

Who decides the block reward in Bitcoin?

I know that when a miner mines a block, he will be rewarded with some bitcoins. But who decides how much bitcoin he will get? If it is decided by all the miners (as they are the ones verifying ...

15 30 50 per page