Linked Questions

1 vote
1 answer

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?
user781486's user avatar
68 votes
7 answers

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 ...
eMansipater's user avatar
  • 14.5k
41 votes
5 answers

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 ...
Marco Scannadinari's user avatar
46 votes
3 answers

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 ...
Nick ODell's user avatar
  • 29.4k
28 votes
3 answers

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 ...
herzmeister's user avatar
  • 3,507
19 votes
2 answers

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-...
Daniel H's user avatar
  • 684
3 votes
3 answers

How many bitcoins are there currently in circulation?

Where do I find the total number of bitcoins currently out there?
user2428118's user avatar
14 votes
2 answers

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 ...
user380208's user avatar
4 votes
2 answers

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.
Eoin's user avatar
  • 349
5 votes
3 answers

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 ...
pr0logas's user avatar
  • 180
4 votes
1 answer

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 ...
Saihdev's user avatar
  • 41
5 votes
1 answer

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 ...
bnsh's user avatar
  • 193
4 votes
1 answer

Why does Bitcoin block 526,591 have a 6.25 (instead of 12.5) block reward? It's an empty block (zero transactions), but the coinbase ...
vonneumann1903's user avatar
6 votes
1 answer

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 ...
Felix Weis's user avatar
5 votes
1 answer

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 ...
Shivam Goyal's user avatar
7 votes
1 answer

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 ...
Kostas's user avatar
  • 183
2 votes
1 answer

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?
Sreeraj Chundayil's user avatar
2 votes
2 answers

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 is fine). Looking at ...
Andrew's user avatar
  • 23
2 votes
1 answer

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 ...
Lebowski's user avatar
2 votes
1 answer

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://...
Apod's user avatar
  • 103
2 votes
1 answer

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?
Randomblue's user avatar
0 votes
1 answer

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 ...
user avatar
1 vote
2 answers

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? ...
ManuelSchneid3r's user avatar
4 votes
2 answers

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 ...
lollercoaster's user avatar
2 votes
1 answer

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.
user1710825's user avatar
1 vote
1 answer

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? ...
Franklin Harding's user avatar
1 vote
1 answer

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.
elli's user avatar
  • 163
1 vote
1 answer

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?
needprayfornotaxes's user avatar
1 vote
1 answer

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?
H Akhali's user avatar
0 votes
2 answers

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 ...
Erin's user avatar
  • 15
0 votes
1 answer

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 ...
Aviral Srivastava's user avatar
0 votes
1 answer

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....
johnny 5's user avatar
  • 103
0 votes
0 answers

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

totalbc - Total Bitcoins in circulation (delayed by up to 1 hour]) Source: 1865520600000000 It seems like it actually gives the value in ...
D P's user avatar
  • 1