Bitcoin Forum
May 12, 2024, 08:14:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: How hard is the 21 million cap on bitcoin?  (Read 4769 times)
MarpleTrading (OP)
Full Member
***
Offline Offline

Activity: 191
Merit: 100


View Profile WWW
June 29, 2013, 11:27:26 PM
 #1

I am wondering how hard is the 21M cap on bitcoin.

Is it juts a define that easily could be changed?

#define MAX_BITCOIN 21000000;

in to

#define MAX_BITCOIN 1000000000;

recompile and now we have a 1 billion cap.


I could of course look in the code, but I think there are people here who already know and it save me time. Smiley

An easy to use API for price information from the most import crypto exchanges
https://www.cryptodb.com
1715501668
Hero Member
*
Offline Offline

Posts: 1715501668

View Profile Personal Message (Offline)

Ignore
1715501668
Reply with quote  #2

1715501668
Report to moderator
1715501668
Hero Member
*
Offline Offline

Posts: 1715501668

View Profile Personal Message (Offline)

Ignore
1715501668
Reply with quote  #2

1715501668
Report to moderator
1715501668
Hero Member
*
Offline Offline

Posts: 1715501668

View Profile Personal Message (Offline)

Ignore
1715501668
Reply with quote  #2

1715501668
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715501668
Hero Member
*
Offline Offline

Posts: 1715501668

View Profile Personal Message (Offline)

Ignore
1715501668
Reply with quote  #2

1715501668
Report to moderator
1715501668
Hero Member
*
Offline Offline

Posts: 1715501668

View Profile Personal Message (Offline)

Ignore
1715501668
Reply with quote  #2

1715501668
Report to moderator
1715501668
Hero Member
*
Offline Offline

Posts: 1715501668

View Profile Personal Message (Offline)

Ignore
1715501668
Reply with quote  #2

1715501668
Report to moderator
shawshankinmate37927
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


Bitcoin: The People's Bailout


View Profile
June 29, 2013, 11:30:48 PM
 #2

Anyone that modified the code to create additional coins would be creating a fork--a seperate ledger.

"It is well enough that people of the nation do not understand our banking and monetary system, for if they did, I believe there would be a revolution before tomorrow morning."   - Henry Ford
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
June 29, 2013, 11:31:56 PM
 #3

Nothing is stopping you if you wanted to do that but most of us would ignore your alteration so your NewBitCoin probably wouldn't be very valuable.

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
LiteCoinGuy
Legendary
*
Offline Offline

Activity: 1148
Merit: 1010


In Satoshi I Trust


View Profile WWW
June 29, 2013, 11:52:25 PM
 #4

There are already coins where the limit Is the sky like feathercoin, chinacoin and shitcoin...

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
June 29, 2013, 11:53:07 PM
 #5

I could of course look in the code,

The miner's code could be modified to change the rules and grant any number of coins but that block then would be relayed to peers.  Since that change breaks the protocol, peer nodes would reject that block as being invalid and then would not relay it.  

Now if other nodes run the same change and thus accept that block, they will relay it but it still doesn't matter if nobody will buy those mined coins.

So there would be a reason for enough people (an "economic majority") to decide that the change is wanted and to be willing to buy those coins from the miner.

But if you hold bitcoins, you wouldn't want those to be devalued and thus would reject the change.

And if you have borrowed coins and have to repay, and the lender will refuse any coins issued after the change occurred, then you won't buy those coins from the miners either.

So yes ... technically it is as easy as changing one line of code.  But getting the economic majority to accept the change is the hard part (essentially the impossible part, for the change you are suggesting).
 - http://en.bitcoin.it/wiki/Economic_majority

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Birdy
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
June 30, 2013, 12:05:09 AM
 #6

If you want to know how difficult it is, try imagening this:

There are 1 million people and your task is convincing over 0.5 million of them to take 90% of their dollars and throw them into a big fire.
That's how difficult it is to make this change.
(the dollars in this scenario must still be considered as valuable ;p)
Paladin69
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


View Profile
June 30, 2013, 01:19:53 AM
 #7

If LTC keeps gaining popularity, you can consider it all one big group of 21 million + 84 million.
AliceWonder
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 30, 2013, 01:48:02 AM
 #8

Can I ask why people are worried about this?

The limit isn't going to be reached for a long time, so it really isn't a concern for us. When block reward becomes really small, then start looking into if it is even an issue, but it isn't going to be an issue for a very long time and when that time comes we'll have a lot more experience to base opinions on.

QuarkCoin - what I believe bitcoin was intended to be. On reddit: http://www.reddit.com/r/QuarkCoin/
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
June 30, 2013, 01:51:17 AM
 #9

The limit isn't defined as a number value it is simply the upper limit from the sum of block rewards.
The code defines the block reward as 50 BTC which is halved (technically right shifted) every 210,000 blocks.

You can easily change that.  You could mine a block which has a 50,000,000,000,000,000,000,000,000,000,000 BTC reward today, of course all nodes running the current code will simply reject it as invalid.
TippingPoint
Legendary
*
Offline Offline

Activity: 905
Merit: 1000



View Profile
June 30, 2013, 03:48:27 AM
 #10

How hard is the 21 million cap on bitcoin?

Harder than Chinese arithmetic.
Lethn
Legendary
*
Offline Offline

Activity: 1540
Merit: 1000



View Profile WWW
June 30, 2013, 06:08:17 AM
 #11

As people have said, if you just up and change the limit on the amount of overall Bitcoins and think no one will notice think again, so far there have been some relatively minor changes in comparison that have made people rage on these forums before, that's the beauty of open source.
polarhei
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Firing it up


View Profile
June 30, 2013, 07:23:06 AM
 #12

I am wondering how hard is the 21M cap on bitcoin.

Is it juts a define that easily could be changed?

#define MAX_BITCOIN 21000000;

in to

#define MAX_BITCOIN 1000000000;

recompile and now we have a 1 billion cap.


I could of course look in the code, but I think there are people here who already know and it save me time. Smiley

In centralized system or simple programming,  that is simple to do. But in the model of the discussion, The being has at least three methods to prevent the simple modification as if you mod the factor, then the code will need to re-calculate to follow, additionally, there are many copies to ensure the limit cannot be modified even the source code can be read. That is from DSP Concept. So it is impossible to modify the initial number once  You have beamed this out decentralised.
drawingthesun
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
June 30, 2013, 08:03:13 AM
 #13

The eventual limit is actually just under 21 million.

See this calculation to get an idea, just keep adding the divide by two on the end:
Code:
(210000*50)+(210000*(50/2))+(210000*(50/2/2))+(210000*(50/2/2/2))+(210000*(50/2/2/2/2))+(210000*(50/2/2/2/2/2))+(210000*(50/2/2/2/2/2/2))+(210000*(50/2/2/2/2/2/2/2))+(210000*(50/2/2/2/2/2/2/2/2))
If you keep adding more and more, it approaches 21 million but never actually touches it.
(reward halves every 210,000 blocks for all time...)


Here is some of the code that determines the reward and thus the final number of coins:
Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
    nSubsidy >>= (nHeight / Params().SubsidyHalvingInterval());

    return nSubsidy + nFees;
}
https://github.com/bitcoin/bitcoin/blob/4ad73c6b080c46808b0c53b62ab6e4074e48dc75/src/main.cpp#L1230

However, the main issue with actually changing these options is that most of the people using Bitcoin have bought into the idea of Bitcoin as it is and they do not want more coins. For Bitcoin to change the vast majority of the users would have to agree. What's more likely is that any change will become yet another fork. There are already many different "Bitcoins" out there, all fighting for their share of the market.
MarpleTrading (OP)
Full Member
***
Offline Offline

Activity: 191
Merit: 100


View Profile WWW
June 30, 2013, 09:14:09 AM
 #14

Can I ask why people are worried about this?


I am not worried about this, just curious. Advocates of BTC always tell you that BTC, unlike fiat, has a cap and that that is why it is a deflationary system instead of a inflationary system by design. 

An easy to use API for price information from the most import crypto exchanges
https://www.cryptodb.com
westkybitcoins
Legendary
*
Offline Offline

Activity: 980
Merit: 1004

Firstbits: Compromised. Thanks, Android!


View Profile
June 30, 2013, 10:59:24 PM
 #15

Can I ask why people are worried about this?


I am not worried about this, just curious. Advocates of BTC always tell you that BTC, unlike fiat, has a cap and that that is why it is a deflationary system instead of a inflationary system by design. 

Well, that's really the beauty of Bitcoin... not so much that there's a cap, but that the cap is nigh-impossible to overcome.

Bitcoin is the ultimate freedom test. It tells you who is giving lip service and who genuinely believes in it.
...
...
In the future, books that summarize the history of money will have a line that says, “and then came bitcoin.” It is the economic singularity. And we are living in it now. - Ryan Dickherber
...
...
ATTENTION BFL MINING NEWBS: Just got your Jalapenos in? Wondering how to get the most value for the least hassle? Give BitMinter a try! It's a smaller pool with a fair & low-fee payment method, lots of statistical feedback, and it's easier than EasyMiner! (Yes, we want your hashing power, but seriously, it IS the easiest pool to use! Sign up in seconds to try it!)
...
...
The idea that deflation causes hoarding (to any problematic degree) is a lie used to justify theft of value from your savings.
kokojie
Legendary
*
Offline Offline

Activity: 1806
Merit: 1003



View Profile
June 30, 2013, 11:36:57 PM
 #16

If LTC keeps gaining popularity, you can consider it all one big group of 21 million + 84 million.

Unless 1 LTC become exact same value as 1 Bitcoin, I don't see how can it be 21 million + 84 million. Also LTC serves a different purpose.

btc: 15sFnThw58hiGHYXyUAasgfauifTEB1ZF6
Piper67
Legendary
*
Offline Offline

Activity: 1106
Merit: 1001



View Profile
July 01, 2013, 01:53:50 AM
 #17

If LTC keeps gaining popularity, you can consider it all one big group of 21 million + 84 million.

Unless 1 LTC become exact same value as 1 Bitcoin, I don't see how can it be 21 million + 84 million. Also LTC serves a different purpose.

As long as LTC can be traded independently of BTC (which it can) the first statement is unadulterated rubbish.
prodigits7
Full Member
***
Offline Offline

Activity: 120
Merit: 100



View Profile
July 01, 2013, 02:35:02 AM
 #18

It's a valid concern but will never happen, the community will not allow it.
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
July 01, 2013, 04:35:43 AM
 #19

it's 50%+1 hard.  (it's majorly hard)

luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
July 01, 2013, 04:38:22 AM
 #20

If LTC keeps gaining popularity, you can consider it all one big group of 21 million + 84 million.

i dont think you understand how markets work... at the most basic level

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!