How much is a bitcoin wallet
By the end of July 2020, bitcoin is now 98 yuan
the bitcoin address and private key appear in pairs, and their relationship is just like the bank card number and password. A bitcoin address is like a bank card number, which records how much bitcoin you have on it. You can generate bitcoin address at will to store bitcoin. When each bitcoin address is generated, a corresponding private key of the address will be generated
extended materials:
whenever bitcoin comes into the view of mainstream media, mainstream media always ask some mainstream economists to analyze bitcoin. Earlier, these analyses always focused on whether bitcoin was a scam. Now the analysis is always focused on whether bitcoin can become the mainstream currency in the future. The focus of the debate is often on the deflationary nature of bitcoin
many bitcoin players are attracted by the fact that bitcoin can not be issued at will. The attitude of bitcoin players is quite the opposite, and the attitude of economists is polarized compared with the fixed amount of 21 million bitcoin
The concept of 21 million
bitcoin was first proposed by Nakamoto in 2009. According to Nakamoto's idea, open source software was designed and released, and P2P network was built on it. Bitcoin is a kind of P2P digital currency. Point to point transmission means a decentralized payment system
bitcoin is not issued in unlimited quantity, which is different from most currencies. Bitcoin does not rely on a specific currency issuer. But according to the specific algorithm, through a large number of calculations. Its circulation is controlled by software algorithms. The total number is 21 million
extended materials:
generation principle
starting from the essence of bitcoin, the essence of bitcoin is actually the special solution generated by a bunch of complex algorithms. A special solution is one of the infinite (in fact, bitcoin is finite) solutions that can be obtained from the equations. Every particular solution can solve the equation and is unique[ 10] In the metaphor of RMB, bitcoin is the serial number of RMB. If you know the serial number of a note, you have the note. The process of mining is to constantly seek the special solution of this equation system through a huge amount of calculation. This equation system is designed to have only 21 million special solutions, so the upper limit of bitcoin is 21 million
to mine bitcoin, you can download the special bitcoin computing tools, register various cooperation websites, fill the registered user name and password into the computing program, and then click the operation to officially start. After completing the installation of bitcoin client, you can directly obtain a bitcoin address. When others pay, you only need to paste the address to others, and you can pay through the same client. After installing the bitcoin client, it will distribute a private key and a public key. You need to back up your wallet data containing your private key to ensure that your property is not lost. Unfortunately, if the hard disk is completely formatted, personal bitcoin will be completely lost
a person signed by Nakamoto Tsui has put forward a revolutionary idea: let's create a currency that is not controlled by the government or anyone else! This idea is crazy: there is no asset support behind a string of figures, and no one is responsible for it. How can anyone accept it when you pay it to the other party as money
Merkle tree
looks like a binary tree, but this is the lower two nodes. Take the hash value to get the upper node. Just remember the root node to detect whether the whole tree has been tampered
the root hash value is stored in the block header, and the transaction process is stored in the block body. All nodes include block header and block body, but light nodes (such as bitcoin wallets on mobile phones) only include block header. This tree can prove that a transaction has been written into the blockchain
3. Consensus agreement
two issues should be paid attention to in decentralized currency:
1. Who can issue digital currency: mining
2. How to verify the legitimacy of transactions: blockchain
double spending attack
double spending attack is a major challenge of digital currency
all transactions in bitcoin have input and output. Where does bitcoin come from and where does it go
under normal circumstances, there may be two bifurcations, because two nodes obtain the bookkeeping right at the same time, and the two nodes package the block and calculate the random number at the same time. At this time, the two bifurcations will coexist temporarily until one of the blocks finds the next block first, which becomes the longest legal chain, and the other one is discarded<
Sybil attack
a malicious node keeps generating accounts. If the total number of accounts exceeds half of the total accounts, it obtains the control of the blockchain
consensus protocol in bitcoin
some nodes are malicious, and most nodes are good
idea 1: pack some transactions into blocks as candidate blocks, let each block vote, and write them into the blockchain if they pass
No, because some malicious nodes have been publishing blocks containing malicious transactions, and they have been voting and occupying resources. And some nodes don't vote<
idea 2: vote not by the number of accounts, but by computing power. Each node can generate legal transactions and put them into the block. These nodes start to try random numbers until H (block header) ≤ target is found, then this node has the right to account
the only way to generate bitcoin
coinbase transaction. There is no need to point out the source of the currency. If you have the bookkeeping right, you will get a reward< br />
50BTC-> 25BTC-> 12.5btc, the reward will be halved for every 210000 bitcoins
the process of bitcoin competing for bookkeeping rights is called mining. The node competing for bookkeeping right is called miner.
What are the wallets in our lives? Put your money, cards, and mobile phone, money and bank cards are issued by the bank. Mobile phone Alipay WeChat payment is paid through the third party, which is completely decentralized, and how it will be stored and retained? Besides being placed in the exchange, it can also be placed in the wallet. What are the types of bitcoin wallets? How to achieve point-to-point decentralization? Blockchain wallet is not used to hold money?! Have you stepped on thunder
miaozhou blockchain issue 08 can teach you to identify the mistakes of blockchain wallet. More blockchain beginners are welcome to pay attention to Babbitt's miaozhou blockchain