# Linked Questions

33 questions linked to/from Will there be 21 million bitcoins eventually?
1 vote
1 answer
790 views

### What is the mathematics behind the maximum number of 21 million bitcoins that can be generated? [duplicate]

How is this number 21 million bitcoins arrived at? What is the mathematics behind this number? Or is this number a constant that can be changed in the source code?
• 123
68 votes
7 answers
162k views

### How many bitcoins will there eventually be?

Since bitcoins are being regularly rewarded to miners, will the number of bitcoins continue to grow indefinitely, or will there be a maximum total number of bitcoins in existence? And if there is ...
• 14.5k
41 votes
5 answers
27k views

### What will happen to mining after the 20 999 999th Bitcoin?

After the 21 millionth bitcoin or 20,999,999th bitcoin is mined, what will happen to bitcoin mining? - will it just stop, or will we make a further division of the satoshi thanks to Bitcoin's infinite ...
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 ...
• 29.4k
28 votes
3 answers
5k views

### Will all 21 million units be completely mined one day?

It is written that the supply of Bitcoin units is limited to 21 million and that this limit will approximately have been reached around the year 2030. But is there an actual "last Bitcoin" (or "last ...
• 3,507
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-...
• 684
3 votes
3 answers
13k views

### How many bitcoins are there currently in circulation?

Where do I find the total number of bitcoins currently out there?
• 321
14 votes
2 answers
3k views

### Can someone explain this weird mining activity?

I can't figure why this block has 0 coinbase with 0 transactions... however still a valid block? Or it it empty? According to whalepanda this coinbase was sacrificed by unknown miner. See the block ...
• 613
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.
• 349
5 votes
3 answers
948 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 ...
• 180
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 ...
• 41
5 votes
1 answer
852 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 ...
• 193
4 votes
1 answer
549 views

### Why does Bitcoin block 526,591 have a 6.25 (instead of 12.5) block reward?

https://chain.so/block/BTC/0000000000000000002ba5a1fb96f93e6c215d62db4280f1cbd30e82c7c71fba https://blockchair.com/bitcoin/block/526591 It's an empty block (zero transactions), but the coinbase ...
6 votes
1 answer
340 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 ...
• 339
5 votes
1 answer
647 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 ...
7 votes
1 answer
433 views

### Why would a Bitcoin miner take less than the full reward?

In "Mastering Bitcoin", the author notes (source): The maximum number of coins mined is the upper limit of possible mining rewards for bitcoin. In practice, a miner may intentionally mine a block ...
• 183
2 votes
1 answer
520 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?
2 votes
2 answers
189 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 ...
• 23
2 votes
1 answer
479 views

### Is there a 'command' to get the max supply of bitcoin that will ever exist using the bitcoin-cli?

I would like to know if there a way('command') to know what is the max supply of bitcoin using my own node without trusting a third party. Also if anyone could explain to me why : bitcoin-cli ...
• 53
2 votes
1 answer
324 views

### relating the UTXO set to the total supply of bitcoins

If the number of Bitcoins in the UTXO is always equal to the number of mined Bitcoins See: How is a wallet's balance computed? then why do the number of bitcoins mined depicted here: https://...
• 103
2 votes
1 answer
292 views

### Can a miner refuse it's reward? [duplicate]

As of 2014, miners that successfully mine a block are entitled to 25 bitcoins. Can miners refuse to receive those 25 bitcoins, thereby reducing the total number of bitcoins that will ever be mined?
• 783
0 votes
1 answer
270 views

### How does market cap of currency decrease?

According to my knowledge, once a currency is mined, its already released so how does market cap change? Consider if Sathosi (the founder of bitcoin) sells all his 1 million coins, there will be ...
1 vote
2 answers
74 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? ...
4 votes
2 answers
105 views

### How do fees get processed in bitcoin? (protocol question)

If the fee isn’t written into the ledger, and it’s just the difference between the input transaction amount and the output transaction amount, how does the miner prove he has access in his wallet to ...
2 votes
1 answer
219 views

### Genesis block coinbase transaction without confirmations

Why the coinbase transaction, comming from the genesis block, don't have confirmations? All the others coinbase transactions have confirmations, but not in the Genesis block.
• 123
1 vote
1 answer
276 views

### Will mining be viable after the halving?

So I don't understand the halving very well, will miners just make half as much? Will the price double or the difficulty change? Will bitcoin mining just become so hard it ceases to be cost effective? ...
1 vote
1 answer
183 views

### What is MaxBTC and what it represents?

I am trying to understand what is the phrase "MaxBTC" and for what is it used? I am new to bitcoins. Thank you very much.
• 163
1 vote
1 answer
205 views

### Is there any tool to check sum of all BTC based on transactions?

Is there any tool to check sum of all BTC based on transactions? We can easily get this amonut by sum up mining rewards, but what about sum up all non zero wallet balances?
1 vote
1 answer
70 views

### Is it technically possible to change the total amount of Bitcoin?

Also, is it possible to change the reward cycle duration or the number of mining- reward coins?
• 71
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 ...
• 15
0 votes
1 answer
126 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
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....
• 103
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 ...
• 1