bitcoin maximum number of coins

Bitcoin Sign up or log in to customize your list._ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top up vote down vote favorite 13 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 some kind of limit, what is it and how is it enforced?reward-schedule up vote down vote Every block introduces 50 new coins in the system.This quantity (50) halves every 210,000 blocks.So, getting the limit of coins it is possible to generate is quite easy : it's the sum of a geometric series.Also, note that this is an upper bound ; the actual quantity will probably be a bit lower due to rounding issues (BTC has a finite number of decimals, 8).up vote down vote A pre-defined schedule limits the total number of bitcoins so that they gradually approach a total of 21 million (ignoring those that have been lost through deleted or misplaced wallet files).

The limit of 21 million bitcoins is "hard-wired" in to the protocol, and there will never be more bitcoins than this: up vote down vote As Artefact2 mentioned, Bitcoin uses fixed-point math to calculate the block subsidies.So, ignoring the unspendable genesis block, the sundry lost coins and unclaimed rewards, the maximum number of bitcoins is 20999999.9769 BTC.I found that number through the following python program: COIN = 100 * 1000 * 1000 nSubsidy = 50 * COIN nHeight = 0 total = 0 while nSubsidy != 0: nSubsidy = 50 * COIN nSubsidy >>= nHeight / 210000 nHeight += 1 total += nSubsidy print total / float(COIN) It's intended to mirror this code from the Bitcoin client: 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; } Of course, it only differs from 21 million BTC by only 3 bitcents, so the difference isn't significant.

up vote 4 down vote As per the current rules there will only ever be 21 million coins at most (explained in other answers here).However, I'd like to add that this is by general agreement, which means that it can be changed.See this question: Could there be hyperinflation in Bitcoin?Looking at the history of money, I am skeptical that there will only ever be 21 million coins.I don't know of too many instances in history when money could be created out of thin air and wasn't.It would be foolish to ignore history.Whether or not there will be more than 21 million coins depends on whether or not "the people" demand it, and once again history is our guide.up vote 3 down vote According to a BIP (Bitcoin Improvement Proposal) I found, this code: nSubsidy >>= (nHeight / 210000); will actually wrap the reward generation back to 50 at some point in 2200 or so.Making the supply of bit coins infinite.The python code above does not have this property.The C++ code does.

/bitcoin/bips/blob/master/bip-0042.mediawiki up vote 1 down vote Re.'how is it enforced?': The 21 million limit is enforced by game theory.Theoretically, 50% of miners could adopt code that would increase the rate of production but this would break the social contract that Satoshi created, irrevocably harm the integrity of bitcoin, and crash the price.Therefore, anyone or any group that could change the limit is incentivized to not do so.Your Answer Sign up or log in Sign up using Google Sign up using Email and Password Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service.
bitcoin laboratory reviewNot the answer you're looking for?
bitcoin and rbcBrowse other questions tagged reward-schedule or ask your own question.
dell uk bitcoin

Jump to: , A fixed money supply, or a supply altered only in accord with objective and calculable criteria, is a necessary condition to a meaningful just price of money.[1]Bernard W. Dempsey, S.J.(1903-1960) In a centralized economy, currency is issued by a central bank at a rate that is supposed to match the growth of the amount of goods that are exchanged so that these goods can be traded with stable prices.The monetary base is controlled by a central bank.In the United States, the Fed increases the monetary base by issuing currency, increasing the amount banks have on reserve, and more recently, printing money electronically in a process called Quantitative Easing.
litecoin hash valueIn a fully decentralized monetary system, there is no central authority that regulates the monetary base.
bitcoin mark of beastInstead, currency is created by the nodes of a peer-to-peer network.
bitcoin news rbi

The Bitcoin generation algorithm defines, in advance, how currency will be created and at what rate.Any currency that is generated by a malicious user that does not follow the rules will be rejected by the network and thus is worthless.Contents 1 2 3 4 5 6 7 8 Bitcoins are created each time a user discovers a new block.The rate of block creation is adjusted every 2016 blocks to aim for a constant two week adjustment period (equivalent to 6 per hour.)
bitcoin to neteller exchangeThe number of bitcoins generated per block is set to decrease geometrically, with a 50% reduction every 210,000 blocks, or approximately four years.
bitcoin börse kursThe result is that the number of bitcoins in existence is not expected to exceed 21 million.[2]
ethereum million dollars

Speculated justifications for the unintuitive value "21 million" are that it matches a 4-year reward halving schedule; or the ultimate total number of Satoshis that will be mined is close to the maximum capacity of a 64-bit floating point number.Satoshi has never really justified or explained many of these constants.This decreasing-supply algorithm was chosen because it approximates the rate at which commodities like gold are mined.Users who use their computers to perform calculations to try and discover a block are thus called Miners.This chart shows the number of bitcoins that will exist in the near future.The Year is a forecast and may be slightly off.* In Block 124724, user midnightmagic mined a solo block to himself which underpaid the reward by a single Satoshi and simultaneously destroyed the block's fees.This the the only known reduction in the total mined supply of Bitcoin.Therefore, from block 124724 onwards, all total supply estimates must technically be reduced by 1 Satoshi.

Because the number of bitcoins created each time a user discovers a new block - the block reward - is halved based on a fixed interval of blocks, and the time it takes on average to discover a block can vary based on mining power and the network difficulty, the exact time when the block reward is halved can vary as well.Consequently, the time the last Bitcoin will be created will also vary, and is subject to speculation based on assumptions.If the mining power had remained constant since the first Bitcoin was mined, the last Bitcoin would have been mined somewhere near October 8th, 2140.Due to the mining power having increased overall over time, as of block 367,500 - assuming mining power remained constant from that block forward - the last Bitcoin will be mined on May 7th, 2140.As it is very difficult to predict how mining power will evolve into the future - i.e.whether technological progress will continue to make hardware faster or whether mining will hit a a technological wall; or whether or not faster methods of SHA2 calculation will be discovered - putting an exact date or even year on this event is difficult.

The total number of bitcoins, as mentioned earlier, has an asymptote at 21 million, due to a technical limitation in the data structure of the blockchain - specifically the integer storage type of the transaction output, this exact value would have been 20,999,999.9769 bitcoin.Should this technical limitation be adjusted by changing the width of the field, the total number will still only approach or be a maximum of 21 million.Note: The number of bitcoins are presented in a floating point format.However, these values are based on the number of satoshi per block originally in integer format to prevent compounding error.* In block 124724, user midnightmagic solo mined a block which caused one less Satoshi to be created than would otherwise have come into existence.Therefore, all calculations from this block onwards must now, to be accurate, include this underpay in total Bitcoins in existence.The theoretical total number of bitcoins, 21 million, should not be confused with the total spendable supply.

The total spendable supply is always lower than the theoretical total supply, and is subject to accidental loss, willful destruction, and technical peculiarities.One way to see a part of the destruction of coin is by collecting a sum of all unspent transaction outputs, using a Bitcoin RPC command gettxoutsetinfo.The total_amount value returned is the sum of all outputs that the client deems technically spendable but not currently spent.Note however that this does not take into account outputs that are exceedingly unlikely to be spent as is the case in loss and destruction via constructed addresses, for example.The algorithm which decides whether a block is valid only checks to verify whether the total amount of the reward exceeds the reward plus available fees.Therefore it is possible for a miner to deliberately choose to underpay himself by any value: not only can this destroy the fees involved, but also the reward itself, which can prevent the total possible bitcoins that can come into existence from reaching its theoretical maximum.

This is a form of underpay which the reference implementation recognises as impossible to spend.Some of the other types below are not recognised as officially destroying Bitcoins; it is possible for example to spend the 1BitcoinEaterAddressDontSendf59kuE if a corresponding private key is used (although this would imply that Bitcoin has been broken.)Bitcoins may be lost if the conditions required to spend them are no longer known.For example, if you made a transaction to an address that requires a private key in order to spend those bitcoins further, had written that private key down on a piece of paper, but that piece of paper was lost.In this case, that bitcoin may also be considered lost, as the odds of randomly finding a matching private key are such that it is generally considered impossible.Bitcoins may also be willfully 'destroyed' - for example by attaching conditions that make it impossible to spend them.A common method is to send bitcoin to an address that was constructed and only made to pass validity checks, but for which no private key is actually known.

An example of such an address is "1BitcoinEaterAddressDontSendf59kuE", where the last "f59kuE" is text to make the preceding constructed text pass validation.Finding a matching private key is, again, generally considered impossible.For an example of how difficult this would be, see Vanitygen.Another common method is to send bitcoin in a transaction where the conditions for spending are not just unfathomably unlikely, but literally impossible to meet.For example, a transaction that is made provably unspendable using OP_RETURN, or uses script operations that requires the user to prove that 1+1 equals 3.A lesser known method is to send bitcoin to an address based on private key that is outside the range of valid ECDSA private keys.For example, the address 16QaFeudRUt8NYy2yzjm3BMvG4xBbAsBFM has a known matching private key of value 0 (zero), which is outside the valid range.There are also technical peculiarities that prevent the spending of some bitcoin.The first BTC50, included in the genesis block, cannot be spent as its transaction is not in the global database.

In older versions of the bitcoin reference code, a miner could make their coinbase transaction (block reward) have the exact same ID as used in a previous block[3].This effectively caused the previous block reward to become unspendable.Two known such cases[4][5] are left as special cases in the code[6] as part of BIP 0030 changes that fixed this issue.These transactions were BTC50 each.While the number of bitcoins in existence will never exceed 21 million, the money supply of bitcoins can exceed 21 million due to Fractional-reserve banking.Because the monetary base of bitcoins cannot be expanded, the currency would be subject to severe deflation if it becomes widely used.Keynesian economists argue that deflation is bad for an economy because it incentivises individuals and businesses to save money rather than invest in businesses and create jobs.The Austrian school of thought counters this criticism, claiming that as deflation occurs in all stages of production, entrepreneurs who invest benefit from it.