The role of bitcoin consensus mechanism
{rrrrrrr}
bitcoin (BTC) is a digital currency with a total amount of 21 million. It has the characteristics of decentralization, globalization and anonymity, just like the Internet. It means that transferring bitcoin to the other end of the earth is as simple as sending e-mail, low-cost and unlimited. Bitcoin is also used in cross-border trade, payment, remittance and other fields
the liquidity and limitation of bitcoin determine that bitcoin can act as a monetary function equivalent to general equivalent, or as a measure of money, but this measure is not a physical measure like gold, but a digital proct
related concepts:
1. Address
the address of bitcoin world looks like this. The address itself is just a string of codes, just like your bank account number 321 million 3288372, which is used to mark an account. Everyone can have countless addresses. The address is public
2. The bank records how much money there is in the bank account
the amount of money in the bitcoin address is recorded by the whole bitcoin network. Each complete bitcoin data will record how many bitcoins are stored in this address
each node participating in the bitcoin network can save a complete of bitcoin data, and everyone has a backup on hand to prevent counterfeiting
3. The key (private key)
the key is another string of characters you only know. The key is used to operate the money in the bitcoin address. Key and address are the relationship between a key and a lock. Each address has only one password, and each password also operates a bitcoin address
with the key, you can control the money in the bitcoin address and pay to anyone. The key should be absolutely safe. The lost or deleted key can never be found, and the money in the corresponding bitcoin address can never be used
the key needs to be kept absolutely secret. Anyone who knows the key can steal all your bitcoin
4. Wallet
the transaction process of bitcoin will involve a lot of complex calculations. In order to simplify the operation, we have made wallets. The wallet has client software on the computer, and also has an online web version. The function of the wallet is to pay with a little touch, and the complicated calculation behind it is left to the wallet to complete
5. Security
if you use the computer client software, you can recommend multibit or bitcoin QT. Both are official software recommendations for the bitcoin community. The installation of these two softwares must be downloaded directly from the official website, and the check code must be checked before and after downloading. This is to prevent someone from tampering with wallet software and stealing keys
6. mining
about every 10 minutes, some new bitcoin will appear in the bitcoin network, which can be imagined as throwing money in the sky. Whose pocket these scattered money fall into mainly depends on whose computer calculates fast. The faster you calculate, the more likely you are to find the money. Mining is to use the computer to calculate, to pick up the money< br />
pos: POS is a consensus algorithm in the public chain, which can be used as a replacement of pow algorithm. POW is a mechanism to ensure the security of bitcoin, Ethereum and many other blockchains, but POW algorithm is criticized for destroying the environment and wasting power in the process of mining. POS tries to solve these problems by replacing the concept of mining with a different mechanism
POS mechanism can be described as a kind of virtual mining. POS mainly relies on the token in the blockchain itself. In pow, a user may buy a computer for 1000 dollars, join the network to mine and proce new blocks, and get a reward. In POS, users can buy tokens of equal value with us $1000 and put them into the POS mechanism as deposit, so that users have the opportunity to generate new blocks and get rewards. In pow, if users spend $2000 on hardware equipment, they will of course get twice the computing power to mine, thus getting twice the reward. Similarly, if you invest twice as much token as the deposit in the POS mechanism, you have twice as much chance to get the right to generate new blocks.
it is worth noting that the price of bitcoin fluctuates significantly ring the annual meeting, and it also becomes a hot spot in bitcoin market.