What is the number of bitcoin
The total number of bitcoins is 21 million
in 2009, when bitcoin was born, block reward was 50 bitcoins. Ten minutes after its birth, the first 50 bitcoins were generated, and the total amount of money at this time is 50. Then bitcoin grew at a rate of about 50 every 10 minutes. When the total amount reaches 10.5 million (50% of 21 million), the block reward will be halved to 25
when the total amount reaches 15.75 million (5.25 million new output, i.e. 50% of 1050), the block reward will be further halved to 12.5. The monetary system used to have no more than 10.5 million in four years, after which the total number will be permanently limited to about 21 million
extended data
monetary characteristics
1. Decentralization: bitcoin is the first distributed virtual currency, and the whole network is composed of users without a central bank. Decentralization is the guarantee of bitcoin's security and freedom
2. Global circulation: bitcoin can be managed on any computer connected to the Internet. No matter where you are, anyone can dig, buy, sell or collect bitcoin
3. Exclusive ownership: private key is needed to control bitcoin, which can be stored in any storage medium in isolation. No one can get it except the user himself
4. Low transaction cost: bitcoin can be remitted free of charge, but a transaction fee of about 1 bitfen will be charged for each transaction to ensure faster transaction execution
5, no hidden cost: as a means of payment from a to B, bitcoin has no cumbersome limit of quota and proceres. If you know the other party's bitcoin address, you can pay
6. Cross platform Mining: users can explore the computing power of different hardware on many platforms
unlike all currencies, bitcoin does not rely on a specific currency institution to issue. It is generated by a large number of calculations based on a specific algorithm. Bitcoin economy uses a distributed database composed of many nodes in the whole P2P network to confirm and record all transactions, and uses cryptography design to ensure the security of all aspects of currency circulation. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction. The design based on cryptography can make bitcoin only be transferred or paid by the real owner. This also ensures the anonymity of money ownership and circulation transactions. The biggest difference between bitcoin and other virtual currencies is that the total amount of bitcoin is very limited and it has a strong scarcity.
but they can be divided down, and there's nothing hard to understand. I have 1 yuan in my wallet. I can also say that I have 10 Jiao, 100 Fen, 1000 Li, 10000 milli, 100000 silk, 1000000 Hu, 10000000 micro. No matter what the unit of measurement is, I will neither become richer nor buy more, nor have any impact on the economy.
the assumption is that six data blocks can be generated every hour in the world, and 210000 data blocks can be generated every four years; Then it makes a decreasing payment for the return of data blocks, 50 bitcoin for each data block in the first four years, 25 bitcoin for each data block in the second four years, 12.5 bitcoin for each data block in the third four years, and so on... Finally, the total number of bitcoins is -
210000 x (50 + 25 + 12.5 + 6.25 + 3.125 +...) = 21 million
the cumulative sum in brackets is close to 100 and will never exceed 100, so the total number of bitcoins is 21 million
currently in the second four-year period, each calculated data block contains 25 bitcoins
2. There is no loss of wealth. Many people at home and abroad are digging for bitcoin, and they are also speculating in bitcoin. Computer and Internet speed can only determine the speed of bitcoin digging, but not the value of bitcoin. Even if you say that we dig abroad, we fry. Now we buy a bitcoin for $300, and there will be no bitcoin to dig in the future. Maybe a bitcoin will sell for $3000, and then we sell it again, won't we make a profit? Where is the loss of wealth? Of course, maybe a bitcoin will be worth $3 at that time. Who can say that it is not born by the central banks
3. In addition to bitcoin, there are several similar virtual currencies such as lightcoin. However, they all adopt similar design principles. Therefore, in the future, there will inevitably be a problem that the currency will eventually be widely recognized, and other currencies that are not recognized will be eliminated. Otherwise, a new virtual currency can pop up at any time. It's not the same as printing money, which completely goes against their original design intention.
secondly, however, there is a smaller threshold for the total number of "smart": the largest possible integer that can be represented in floating-point format. Integers are not the only numbers that computers can store; To deal with decimals, computers & gt; Use a format for floating point representation. Floating point notation is essentially a binary version of scientific notation. For example, here is a value you will encounter when you study physics:
mass of the earth: 5.972 1024 kg
mass of the sun: 1.989 1030 kg
speed of light: 2.998 108 M / s
light year: 9.460 1015 m
mass of proton: 1.672 10-27 kg
Planck length: 1.616 10-35 m
we can notice that, How does scientific notation allow you to represent all of these values with reasonable accuracy, even though they vary greatly in size. Floating point notation is essentially a binary scientific notation; When you store numbers & gt; When the word is 9.625, what your computer stores is "1.001101
* 1011" (in other words, it stores 0100000000100011
& gt; This is the same thing with high-precision sequence form). In this high-precision form, the coefficient (that is, the part that is not the exponent) has 52 bits. This means high precision (more refined & gt; Double precision floating point number is enough to store up to 253 numbers, but it can't be any higher. If it exceeds 253, you have to start cutting off the numbers at the end. Bitcoin's 250.9, the total number of "smart" in the form of index, is just & gt; OK, below this maximum
if we have integers, why should we care about floating-point values? Because more high-level programming languages (such as JavaScript) do not open low-level "floating point" and "integer representation", but only provide "number" representation for programmers; Concepts
– of course, in floating-point form. If Nakamoto chose 210 million instead of 21 million at that time, bitcoin programming in many languages would be much more troublesome than it is now
note that Stefan Thomas unfortunately didn't notice this in time when he wrote bitcoinjs, so that the library used a special "big number big
number" object instead of an ordinary number to store the tutorial output value; My own bifurcated bitcoin JS (along with other improvements) uses ordinary numbers.
that is to say, when bitcoin was invented, there was a set of mechanism that set so many artificial rules.