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

15 30 50 per page