Bitcoin Forum

Other => Beginners & Help => Topic started by: OgStar on October 16, 2012, 06:10:58 PM



Title: So, what happens when bitcoins stop being produced?
Post by: OgStar on October 16, 2012, 06:10:58 PM
Its production will drop by the half every 2 years, what happens when it reach numbers close to 0?

I know people who mined from the start will be rich, but what happens to the economy? People will stop to mine, how will the p2p network keep going?

I'm asking because I see bitcoin as a way to free myself from my government, I'm a libertarian, and I'm having a hard time to figure out how would bitcoin be a persisting solution for international currency.

I've done some researching, and there are a lot of people who consider bitcoin a pyramid scheme, including the developers of solidcoin.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: AmDD on October 16, 2012, 06:19:13 PM
There will still be a need for miners to verify transactions. You will still be able to send/receive coins even if there are no more to be mined.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: Akka on October 16, 2012, 06:21:46 PM
Its production will drop by the half every 2 years, what happens when it reach numbers close to 0?

I know people who mined from the start will be rich, but what happens to the economy? People will stop to mine, how will the p2p network keep going?

At this point Bitcoin will be worth enough that transaction fees make mining profitable.

How can I bee so sure? If Bitcoin won't be worth enough by then, it can be considered a failure long before.

I'm asking because I see bitcoin as a way to free myself from my government, I'm a libertarian, and I'm having a hard time to figure out how would bitcoin be a persisting solution for international currency.

Yes, bitcoin is free money. Not as for free, but like free speech.

I've done some researching, and there are a lot of people who consider bitcoin a pyramid scheme, including the developers of solidcoin.

See: https://en.bitcoin.it/wiki/FAQ#Is_Bitcoin_a_Ponzi_scheme.3F

Also, why do you listen to the solidcoin "developers". Its nothing but a cheap copy of bitcoin by people envy of the early adopters, that want to be early adopters themselves. (I'm NOT a early adopter)


Title: Re: So, what happens when bitcoins stop being produced?
Post by: nobbynobbynoob on October 16, 2012, 06:23:22 PM
My BTC0,02 (without insisting you pay me! ;D ):

As the supply of BTC closes in on the 21m cap, its gold-like characteristics (scarcity) come to the fore. Each BTC will hold its value or appreciate in real terms with the expansion of the economy due to the absence of inflation.

Miners can profit from transaction fees (will they remain in the order of 50.000 satoshi?) or bomb out.

Bitcoin might look like a pyramid scheme at first glance but I see one major difference: Ponzi schemes are fraudulent inasmuch as they are based around pretence of the existence of underlying value, whereas BTC is a cryptocurrency with real underlying value in a working economy. Early adopters profit as a reward for having taken the risk of investing in the fledgling scheme before it flourished.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: OgStar on October 16, 2012, 06:25:48 PM
Its production will drop by the half every 2 years, what happens when it reach numbers close to 0?

I know people who mined from the start will be rich, but what happens to the economy? People will stop to mine, how will the p2p network keep going?

At this point Bitcoin will be worth enough that transaction fees make mining profitable.

How can I bee so sure? If Bitcoin won't be worth enough by then, it can be considered a failure long before.

I'm asking because I see bitcoin as a way to free myself from my government, I'm a libertarian, and I'm having a hard time to figure out how would bitcoin be a persisting solution for international currency.

Yes, bitcoin is free money. Not as for free, but like free speech.

I've done some researching, and there are a lot of people who consider bitcoin a pyramid scheme, including the developers of solidcoin.

See: https://en.bitcoin.it/wiki/FAQ#Is_Bitcoin_a_Ponzi_scheme.3F

Also, why do you listen to the solidcoin "developers". Its nothing but a cheap copy of bitcoin by people envy of the early adopters, that want to be early adopters themselves. (I'm NOT a early adopter)



That was very helpful and clarifying. Thank you, Akka. I hope your answers will help people who had the same doubts that I had.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: btcfaucet on October 16, 2012, 07:06:07 PM
I'm more interested in what happens after a while, after enough people die and/or lose their wallets. Will we always switch to another type of 'coin'?


Title: Re: So, what happens when bitcoins stop being produced?
Post by: JoelKatz on October 16, 2012, 07:11:20 PM
I've done some researching, and there are a lot of people who consider bitcoin a pyramid scheme, including the developers of solidcoin.
The difference between a pyramid scheme and a similarly-structured legitimate business is that a pyramid scheme doesn't provide a real product or service that has any value and instead moves around money just by enrolling new people into the scheme who bring the new value in themselves. If bitcoins never take off as a realistic way to transfer value from one place to another and all the value comes from speculation, then bitcoin will eventually collapse for the same reason all pyramid schemes eventually collapse.

It comes down to whether you believe crypto-currencies are a real product and a viable technology for use as a medium of exchange.



Title: Re: So, what happens when bitcoins stop being produced?
Post by: Stephen Gornick on October 16, 2012, 08:09:39 PM
after enough people die and/or lose their wallets. Will we always switch to another type of 'coin'?

For the person who loses their wallet (e.g., forgot the passphrase, loss of hardware and insufficient backup, etc.), those coins no longer circulate.  That is unfortunate for the owner of those coins, but to the rest of those holding bitcoins the impact is neutral to just slightly positive (as the value of each bitcoin increases slightly).

There are no other decentralized digital currencies in the same ballpark as bitcoin (proof of work, where the level of work needed to be disruptful are well beyond the capabilities of a single actor).


Title: Re: So, what happens when bitcoins stop being produced?
Post by: evoorhees on October 16, 2012, 09:15:28 PM
People will stop to mine, how will the p2p network keep going?

People will continue mining because the block reward includes not only the new coins (50btc right now) but also a small fee component from each transaction. In the future, if Bitcoin has been successful, the value of these fees will be substantial and may even be worth more than 50btc per block.

Sites that make tons of transactions already pay significant amounts in fees to the miners. SatoshiDice.com has paid over 750 BTC over the last 5 months just in fees and all of this goes to the miners.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: Fruitoshi Snaka-moto on October 16, 2012, 09:31:20 PM
Technically, Bitcoins will never stop being produced! Hooray!~


Title: Re: So, what happens when bitcoins stop being produced?
Post by: DannyHamilton on October 16, 2012, 09:42:52 PM
Its production will drop by the half every 2 years, what happens when it reach numbers close to 0?
I'm not sure, but I think the block reward drops in half every 4 years (not 2).  Which I think makes it more than 120 years before the last new bitcoin piece is mined.  In order for bitcoin to survive 120+ years, it will have to become in widespread use so that transaction fees will be enough incentive for miners to continue mining. On the other hand, I don't expect to survive another 120+ years, so I guess it doesn't really matter to me.

Technically, Bitcoins will never stop being produced! Hooray!~
Are you sure about that?  I thought that once the block reward is less than 0.00000001 BTC, there would be no further new bitcoin mined?


Title: Re: So, what happens when bitcoins stop being produced?
Post by: AzNmeowmeow on October 17, 2012, 05:09:40 AM
Well judging by the hardware BFL is pumping out, it's scary how much GH or TH the hardware dishes out.
If anything the hashrate of the hardware will probably consume bitcoins. I don't know even when I say it sounds dumb, I hope. :<


Title: Re: So, what happens when bitcoins stop being produced?
Post by: OgStar on October 17, 2012, 05:45:35 AM
Well judging by the hardware BFL is pumping out, it's scary how much GH or TH the hardware dishes out.
If anything the hashrate of the hardware will probably consume bitcoins. I don't know even when I say it sounds dumb, I hope. :<

It won't consume bitcoins, but it will rise the difficulty and make harder to get bitcoins by mining with gpu.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: helloworld on October 17, 2012, 05:52:30 AM
Technically, Bitcoins will never stop being produced! Hooray!~
Are you sure about that?  I thought that once the block reward is less than 0.00000001 BTC, there would be no further new bitcoin mined?

What if the precision has been increased by then? Could not the block reward then be 0.000000000000000001 BTC?


Title: Re: So, what happens when bitcoins stop being produced?
Post by: bitcoinspace on October 17, 2012, 07:30:58 AM
I hear it would take at least 150 years for all the bitcoins to be acquired as the internal software has a limit.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: helloworld on October 19, 2012, 12:02:11 AM
I hear it would take at least 150 years for all the bitcoins to be acquired as the internal software has a limit.

I hear people make up random statistics as their tolerance for actual facts has a limit.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: Aahzman on October 19, 2012, 01:17:30 AM
I hear it would take at least 150 years for all the bitcoins to be acquired as the internal software has a limit.

I hear people make up random statistics as their tolerance for actual facts has a limit.


You can make up statistics to prove anything. 83% of people will tell you that!


Title: Re: So, what happens when bitcoins stop being produced?
Post by: osmosisjoe on October 19, 2012, 01:44:14 AM
btc has done nothing but gone up in demand, with the exception of when Mt Grox got hacked.


With minners gone and small to medium sized stores accepting bitcoin it will only make it stronger


Title: Re: So, what happens when bitcoins stop being produced?
Post by: odolvlobo on October 19, 2012, 05:29:48 AM
Technically, Bitcoins will never stop being produced! Hooray!~
Are you sure about that?  I thought that once the block reward is less than 0.00000001 BTC, there would be no further new bitcoin mined?

What if the precision has been increased by then? Could not the block reward then be 0.000000000000000001 BTC?

That would take a change to the protocol and there are no good reasons to continue providing a block reward at that point. It is not likely that a value of less than 1 satoshi will be significant for a very very long time. The value of BTC doubling at the same rate that the block reward halves (every 4 years) would mean a deflation rate of about 20%, which is not sustainable.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: kempy on October 19, 2012, 09:08:07 AM
Why worry about what happens in many decades to come! The Principle is being proven and people can vote with their feet!


Title: Re: So, what happens when bitcoins stop being produced?
Post by: matthewh3 on October 21, 2012, 01:11:16 AM
I hear it would take at least 150 years for all the bitcoins to be acquired as the internal software has a limit.

I hear people make up random statistics as their tolerance for actual facts has a limit.


You can make up statistics to prove anything. 83% of people will tell you that!

It's true it will take a very long time to completely stop and if the decimal place kept getting shifted due to rising bitcoin value then mining may happen indefinitely.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: lilphilog on October 21, 2012, 12:45:26 PM
I hope they never stop, i just love the whole concept of "bitcoins"


Title: Re: So, what happens when bitcoins stop being produced?
Post by: Ploo on October 21, 2012, 04:28:13 PM
I hope they never stop, i just love the whole concept of "bitcoins"

By design, they will stop being produced. That's what the protocol says.

Or rather they'll be produced indefinitely but because the block reward is halved roughly once every four years, it won't be until far into the future till the reward halves from 1 satoshi (0.00000001) to no reward at all because bitcoin is only divisable to 8 places.

So while technically they'll be produced for a long time to go, in practice the reward will be so small miners will be paid through transaction fees instead.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: helloworld on October 23, 2012, 06:08:59 AM
Does the calculation lose accuracy each time the reward drops, or is it always based on 50*something?

What will the next list of rewards be after 0.09765625 per block?

I realised this is a dumb question because at some point an actual figure (i.e 50) must have been hardcoded into the software, and that software isn't going to get updated every single time the reward drops.

So obviously the calculation won't lose accuracy as time passes, but will always be based on 50*something.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: Foxpup on October 23, 2012, 07:51:47 AM
Does the calculation lose accuracy each time the reward drops, or is it always based on 50*something?

What will the next list of rewards be after 0.09765625 per block?

I realised this is a dumb question because at some point an actual figure (i.e 50) must have been hardcoded into the software, and that software isn't going to get updated every single time the reward drops.

So obviously the calculation won't lose accuracy as time passes, but will always be based on 50*something.

Actually, since bitcoins are only divisible down to 8 decimal places, the reward drop will indeed "lose accuracy" on the 10th halving (sometime around the year 2048), when the reward will drop from BTC0.09765625 to BTC0.04882812 (it is always rounded down to the 8th decimal place, so there will be no confusion about it when the time comes).


Title: Re: So, what happens when bitcoins stop being produced?
Post by: josephliton on October 23, 2012, 10:13:46 AM
I think in the end 1 bitcoin  will be = to 500 dollar. ;D


Title: Re: So, what happens when bitcoins stop being produced?
Post by: DannyHamilton on October 23, 2012, 02:29:54 PM
So obviously the calculation won't lose accuracy as time passes, but will always be based on 50*something.

Actually, since bitcoins are only divisible down to 8 decimal places, the reward drop will indeed "lose accuracy" on the 10th halving (sometime around the year 2048), when the reward will drop from BTC0.09765625 to BTC0.04882812 (it is always rounded down to the 8th decimal place, so there will be no confusion about it when the time comes).

I believe it is technically handled by performing a bitwise right shift on the reward as an integer.

So right now the block reward is 5,000,000,000 which can be represented in binary as:
100101010000001011111001000000000
When we see the reward cut in half in a few weeks, the programming will simply chop a digit off the right-hand side of that binary number giving us
10010101000000101111100100000000
Which is 2,500,000,000 in base 10.

In 2048 the reward will go from 9,765,625 to 4,882,812
100101010000001011111001  (9,765,625)
10010101000000101111100    (4,882,812)

You can see that we will "lose precision" any time we chop off a one, and we will have a nice even halving whenever we chop off a zero.

What will the next list of rewards be . . . ?
For the list of rewards, try this:

http://lmgtfy.com/?q=0b100101010000001011111001000000000+in+decimal

Then you can just remove digits from the right hand side of the binary number to represent the number of "halvings" you are interested in, and you should see the new reward represented in "Satoshi".  If you want to see it represented in BTC, just move the decimal 8 places to the left after the conversion.



Title: Re: So, what happens when bitcoins stop being produced?
Post by: odolvlobo on October 24, 2012, 01:28:15 AM
So obviously the calculation won't lose accuracy as time passes, but will always be based on 50*something.

For the list of rewards, try this:

http://lmgtfy.com/?q=0b100101010000001011111001000000000+in+decimal

Then you can just remove digits from the right hand side of the binary number to represent the number of "halvings" you are interested in, and you should see the new reward represented in "Satoshi".  If you want to see it represented in BTC, just move the decimal 8 places to the left after the conversion.
... or go to https://en.bitcoin.it/wiki/Controlled_Currency_Supply (https://en.bitcoin.it/wiki/Controlled_Currency_Supply), where all of this is explained and there is a table showing all the block rewards.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: DannyHamilton on October 24, 2012, 02:05:53 AM
For the list of rewards, try this:

http://lmgtfy.com/?q=0b100101010000001011111001000000000+in+decimal

Then you can just remove digits from the right hand side of the binary number to represent the number of "halvings" you are interested in, and you should see the new reward represented in "Satoshi".  If you want to see it represented in BTC, just move the decimal 8 places to the left after the conversion.

... or go to https://en.bitcoin.it/wiki/Controlled_Currency_Supply (https://en.bitcoin.it/wiki/Controlled_Currency_Supply), where all of this is explained and there is a table showing all the block rewards.

But which does nothing to explain technically how the reward is modified.  Are the reward amounts coded directly into the software? Is a divide-by-two floating point calculation performed with rounding to 8 decimal places?


Title: Re: So, what happens when bitcoins stop being produced?
Post by: ldrgn on October 24, 2012, 02:12:03 AM
But which does nothing to explain technically how the reward is modified.  Are the reward amounts coded directly into the software? Is a divide-by-two floating point calculation performed with rounding to 8 decimal places?

I'm sorry I can't find you a source, but it's a bit shift of one digit.  Bitcoins are always stored as an integer number of Satoshis.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: DannyHamilton on October 24, 2012, 02:19:43 AM
But which does nothing to explain technically how the reward is modified . . .
I'm sorry I can't find you a source, but it's a bit shift of one digit.  Bitcoins are always stored as an integer number of Satoshis.

I believe you are correct, which is why I already explained it that way here:

I believe it is technically handled by performing a bitwise right shift on the reward as an integer.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: DeathAndTaxes on October 24, 2012, 03:39:12 AM
But which does nothing to explain technically how the reward is modified.  Are the reward amounts coded directly into the software? Is a divide-by-two floating point calculation performed with rounding to 8 decimal places?

I'm sorry I can't find you a source, but it's a bit shift of one digit.  Bitcoins are always stored as an integer number of Satoshis.

Correct.

All values at the protocol level are 64bit integers (representing satoshis).  The block reward function uses a right bit shift.

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 210000 blocks, which will occur approximately every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}
https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp




Title: Re: So, what happens when bitcoins stop being produced?
Post by: zebedee on October 24, 2012, 05:10:42 AM

Correct.

All values at the protocol level are 64bit integers (representing satoshis).  The block reward function uses a right bit shift.

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 210000 blocks, which will occur approximately every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}
https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp


That code needs fixing by the devs.  It has undefined behaviour for large nHeight in the right shift operation, and as such is a security hole in the future.

I'd have hoped devs with their experience would know their programming language...


Title: Re: So, what happens when bitcoins stop being produced?
Post by: DannyHamilton on October 24, 2012, 06:14:02 AM

Correct.

All values at the protocol level are 64bit integers (representing satoshis).  The block reward function uses a right bit shift.

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 210000 blocks, which will occur approximately every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}
https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp


That code needs fixing by the devs.  It has undefined behaviour for large nHeight in the right shift operation, and as such is a security hole in the future.

I'd have hoped devs with their experience would know their programming language...
I don't think we'll have to worry about undefined behavior for at least another 130 years.  I can't think of any computer program that was running 130 years ago that is still running today.  I can't even think of any programming languages that were in use 130 years ago that are still in use today.

I agree that for the sake of well written code it should probably be handled a bit more carefully, but this isn't a bug that will concern me in my lifetime.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: Foxpup on October 24, 2012, 06:55:53 AM

Correct.

All values at the protocol level are 64bit integers (representing satoshis).  The block reward function uses a right bit shift.

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 210000 blocks, which will occur approximately every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}
https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp


That code needs fixing by the devs.  It has undefined behaviour for large nHeight in the right shift operation, and as such is a security hole in the future.

I'd have hoped devs with their experience would know their programming language...

:o Ouch. Oh well, at least it's an easy fix and we've got over 250 years to implement it...


Title: Re: So, what happens when bitcoins stop being produced?
Post by: helloworld on October 28, 2012, 01:53:54 PM
So obviously the calculation won't lose accuracy as time passes, but will always be based on 50*something.

Actually, since bitcoins are only divisible down to 8 decimal places, the reward drop will indeed "lose accuracy" on the 10th halving (sometime around the year 2048), when the reward will drop from BTC0.09765625 to BTC0.04882812 (it is always rounded down to the 8th decimal place, so there will be no confusion about it when the time comes).

I believe it is technically handled by performing a bitwise right shift on the reward as an integer.

So right now the block reward is 5,000,000,000 which can be represented in binary as:
100101010000001011111001000000000
When we see the reward cut in half in a few weeks, the programming will simply chop a digit off the right-hand side of that binary number giving us
10010101000000101111100100000000
Which is 2,500,000,000 in base 10.

In 2048 the reward will go from 9,765,625 to 4,882,812
100101010000001011111001  (9,765,625)
10010101000000101111100    (4,882,812)

You can see that we will "lose precision" any time we chop off a one, and we will have a nice even halving whenever we chop off a zero.

What will the next list of rewards be . . . ?
For the list of rewards, try this:

http://lmgtfy.com/?q=0b100101010000001011111001000000000+in+decimal

Then you can just remove digits from the right hand side of the binary number to represent the number of "halvings" you are interested in, and you should see the new reward represented in "Satoshi".  If you want to see it represented in BTC, just move the decimal 8 places to the left after the conversion.



However, these truncated values are not hardcoded into the software, but rather the software still only contains the hardcoded 50 (100101010000001011111001000000000) with a run-time algorithm to determine how many times it's shifted.

So this means that it does not lose accuracy each time. i.e. The accuracy loss when a 1 is chopped off does not *compound*.

Example: Let's say we only had 1 decimal place and the reward started at 10, then at some point in the future we decide to use 2 decimal places. If accuracy loss was compounded we'd have the following series.

10.0
5.0
2.5
1.2
"Hey everyone, let's use more decimal places!"
0.60
0.30
0.15
0.07

Whereas if accuracy-loss is not compounded (i.e. only the initial 10.0 is hardcoded into the software) then we end up with a different series

10.0
5.0
2.5
1.2
"Hey everyone, let's use more decimal places!"
0.62
0.31
0.15
0.07



Title: Re: So, what happens when bitcoins stop being produced?
Post by: paraipan on October 28, 2012, 02:00:13 PM
^interesting to know, thank you @helloworld for the easy to understand explanation


Title: Re: So, what happens when bitcoins stop being produced?
Post by: DannyHamilton on October 28, 2012, 07:14:51 PM

However, these truncated values are not hardcoded into the software, but rather the software still only contains the hardcoded 50 (100101010000001011111001000000000) with a run-time algorithm to determine how many times it's shifted.

So this means that it does not lose accuracy each time. i.e. The accuracy loss when a 1 is chopped off does not *compound*.

Example: Let's say we only had 1 decimal place and the reward started at 10, then at some point in the future we decide to use 2 decimal places. If accuracy loss was compounded we'd have the following series.

10.0
5.0
2.5
1.2
"Hey everyone, let's use more decimal places!"
0.60
0.30
0.15
0.07

Whereas if accuracy-loss is not compounded (i.e. only the initial 10.0 is hardcoded into the software) then we end up with a different series

10.0
5.0
2.5
1.2
"Hey everyone, let's use more decimal places!"
0.62
0.31
0.15
0.07


Except that right now the code doesn't use decimal places at all.  It works with integers, and then moves the decimal after the calculation is done...

So in your first example (ten plus 1 decimal places) you'd actually be working with 100, then right shift, then move your decimal, to get the extra decimals, you'd have to change your hardcoded starting number fro 100 to 1000 to get the extra precision and still have the starting number be 10 after moving the decimal.  So, you get the extra accuracy, not because the loss wasn't "compounded", but rather because you changed the number that you are starting with to an entirely different number.


Title: Re: So, what happens when bitcoins stop being produced?
Post by: helloworld on October 28, 2012, 11:37:57 PM
and then moves the decimal after the calculation is done...

This is my entire point (emphasis mine). The reward will always be based on a calculation where '50' (in whatever shape or form) is the only hard-coded amount.