Rules of blockchain power bank
1. POW workload proof, which is familiar with mining, calculates a random number that meets the rules through and or operation, that is, obtains the bookkeeping right, sends out the data that needs to be recorded in this round, and stores it together with other nodes in the whole network after verification
advantages: complete decentralization, free access of nodes
disadvantages: bitcoin has attracted most of the computing power in the world, and other blockchain applications using POW consensus mechanism are difficult to obtain the same computing power to ensure their own security; Mining causes a lot of waste of resources; The period of reaching consensus is long, which is not suitable for commercial application.
2. Proof of rights and interests of POS, a mechanism of upgrading consensus of pow; According to the token proportion and time of each node; It can rece the difficulty of mining in equal proportion, so as to speed up the speed of finding random numbers< Advantages: to a certain extent, it shortens the time to reach a consensus
disadvantages: mining is still needed, which does not solve the pain point of commercial application in essence
3. Dpos share authorization certification mechanism is similar to the voting of the board of directors, in which the coin holders cast a certain number of nodes to verify and account on their behalf
advantages: greatly rece the number of participating verification and accounting nodes, which can achieve second level consensus verification
disadvantages: the whole consensus mechanism still depends on token, and many commercial applications do not need token to exist
4. Pool verification pool, which is based on traditional distributed consistency technology and data verification mechanism; It is a consensus mechanism widely used in the instry chain at present.
advantages: it can work without token, and realizes second level consensus verification on the basis of mature distributed consistency algorithms (pasox and raft)
disadvantages: the degree of decentralization is not as good as that of bictin; The multi center business model is more suitable for multi-party participation
it has great advantages in using consensus mechanism to ensure data consistency (the consensus mechanism is first proposed by ripple, and the network transaction synchronization mechanism with data correctness priority. In the consensus network, no matter how the software code changes, if you can't reach a consensus, you can't enter the network, let alone fork)
- - - - - - - -
PS: a little black, although the consensus mechanism can absolutely ensure that there will be no hard bifurcation at any time. However, the disadvantage of this mechanism is obvious, that is, it is much longer than the current bitcoin network to reach a consensus with other nodes. In extreme cases, the consequences of disconnection in ripple consensus mechanism network are also very terrible
it is possible that one day after the power failure in your home, the whole system will no longer be able to reach a consensus with other rippled nodes (in fact, the consensus mechanism requires more than 80% of the nodes to acknowledge your data before your submission will be accepted by other nodes, otherwise it will be rejected by exclusive nodes), Even you can only empty all your 500 GB data and resynchronize to connect to other ripple nodes
so at present, the existing rippled end is not suitable for civil use (if it is commercial, the impact is relatively small. For example, RL's own rippled node is hosted in Amazon cloud data center. If it has no response for a long time, it can make high claims, and there is almost no break in that place except for large disasters). This is one of the aspects RL has always wanted to improve.
the second is that only mature technology is not enough. In order to realize a large number of DAPP and commercial applications on the blockchain, we must be prepared on one hand: that is, the digital currency that can be used as payment tool, exchange medium, value measure and value storage. Xiao Feng said that everyone thinks that bitcoin is a payment system, but the real bitcoin can not meet our demand for payment because its currency value fluctuates too much
for example, he said that a mall sold a bottle of water and accepted bitcoin payment. When he got up the next morning, he found that 20% of the value was gone. So it can't be accepted. After the Japanese parliament made it clear that bitcoin could be used as a payment tool, some Japanese businesses announced that they would accept bitcoin payment. But later found that it caused a lot of trouble for the stability of the company's balance sheet. Your balance sheet is unstable, up or down. This not only affects the value of the things sold, but also affects the credit evaluation of enterprises and the services provided by banks to companies
the third condition is the construction of laws and regulations and supervision system. The digital economy on the blockchain must obtain legal protection and comply with the law. Xiao Feng stressed that there can be no decentralization in this regard
the differences between blockchain and Internet are discussed. He believes that the core difference between the two is that the Internet is a centralized trust mechanism, while the blockchain is a decentralized trust mechanism, and there is no need to trust a third party
the second core difference between the Internet and blockchain is the incentive mechanism, not the digital currency or the ability to issue currency. Economics has been discussing incentive incompatibility. Under the company system and on the Internet, the incompatibility of incentive mechanism has not been solved. However, in the decentralized blockchain, the blockchain achieves complete incentive compatibility. Without shareholders, board of directors and employees, the conflicts of interest between these roles will not happen again.
in a village, a spent 3000 yuan to buy a cow of B, how to record this account
so a and B found a mutual trusted C to record the account, but later a and C colluded and did not admit that a had bought B's cattle, so the deal became rough and disputes continued
later, B had another cow. Of course, B didn't sell it to a this time, because a had no credit, so he gave it to d. This time, instead of looking for witnesses, they went to the whole village to roar after the transaction. B said Wang Erhua paid 3000 yuan to buy a cow from me, d also went to the whole village to shout that I paid 3000 yuan to buy a cow from B, so there were many people in the village to record the transaction. In this way, there will be no bad debts, which is called decentralized and distributed accounting
here comes the problem
when you yell, are the villagers willing to charge for you, just because you have a big face
therefore, the first person to record accurately will get some bitcoin rewards
someone asked, what if two people finish the first record at the same time
in order to avoid this problem, it is necessary to set rules, for example, to answer a question first, or to record with feet, and it must be written in block letters. If you set a series of rules, there will not be many firsts
in the network, there are a lot of transactions going on every day, and there are also many people recording, and finally they get the reward of bitcoin. This process is the legendary mining
Mining requires a lot of equipment. We call these computer equipment mining machines
in this way, all the processes are in one system. The system will encapsulate the data every 10 minutes to form a box full of data, which we call blocks
with the continuous generation of blocks, they are linked together to form a blockchain.
Let's suppose villagers Lao Wang and Xiao Li. Lao Wang borrowed some money from Xiao Li, who wrote it in an IOU signed by both parties. A few days later, Lao Wang denied the existence of borrowing money and claimed that Xiao Li forged the paper. Xiao Li can't argue because he finds it difficult to prove that Lao Wang actually owes him money
in this example, Lao Wang and Xiao Li are two nodes
now assuming the same scenario, there are many pairs of people trading with each other in the village. The only evidence for each pair is the IOU. If one party fails, it will be difficult to do so. Seeing this scene, the village head came up with a solution. He suggested using a common notebook for the whole village to record all the transactions. Due to the high prestige of the village head, the villagers unanimously decided to let the village head keep this important transaction book. Each transaction, the villagers go to the village head's home, let the village head witness and record, each transaction is written into a notebook, and then safely saved. That notebook can be called a database
because this notebook is very important, the village head locked it in the safe. However, there are always some problems. Sometimes, the village head will accidentally sprinkle ink on the paper, making some transaction records illegible. This is called a single point of failure. The thief knows that there is an important notebook in the safe of the village head's house. He tries his best to steal it. This is called hacking
until one day, the village head's son owed others a lot of money, so the village head secretly deleted his son's debt entry. In this way, the village head's son "does not owe money."
when the villagers knew this, they began to question the fairness and authority of the village head. So some people put forward a new idea:
abolish the power of the village head, which is called decentralization. Let all villagers keep a notebook, and the transaction records are copied and distributed, which is called distributed database. Therefore, if there are n people in the village, there are n notebooks, that is, n nodes. Every time there is a trade between any two people, all the people in the village get together and record it in their notebooks. And no one can cover the sky. This is called decentralization
they also decided that they would never delete the mentioned transactions from their notebooks, which is irreversible. For example, Lao Wang borrowed a sum of money from Xiao Li before, but in the twinkling of an eye, he wants to return the money. Then the transaction book will not delete the previous borrowing record, but write a new repayment record, so there are two records
next, let's try to break this rule. What if we bribe Lao Wang to change his notebook? It's not feasible, because the next time the villagers meet, they find that Lao Wang's notebook is different from everyone else's, so the villagers notice that Lao Wang may be engaged in an indescribable transaction, and decide to abolish Lao Wang's transaction record and kick Lao Wang out of the organization
What if you try to bribe all the villagers? It's too expensive
the characteristic of this model is that greedy people need to pay a lot to attack the rules. He will find it more profitable to follow the rules
a smart child in the village suggested that each transaction data be called "block" and linked into a "chain" in chronological order, which is called blockchain strong>
Yao Yudong, director of the Financial Research Institute of the people's Bank of China, once bluntly said: "he was born on the Internet and died on the blockchain." In order to warn those traditional financial institutions and Internet giants who are not sensitive to blockchain technology.
features:
1. Decentralization
in current system design or application development, central server is considered to realize all information exchange and data storage. But in the blockchain, through the construction of distributed architecture and open source protocol, all participants participate in data recording and verification, and then send them to each node through distributed propagation. Even if some nodes are attacked or damaged, the integrity and information update of the whole database will not be affected, which means that each participating node is "self-centered"
2, to trust
in traditional Internet mode, it is through the trusted central node (such as the housing registration system) or the third party channel (such as Alipay) to carry out the matching verification and trust accumulation, so it can not achieve the center of value transfer.
3. Timestamp
blocks are generated by packaging all the information (including data and code) generated in a certain period of time. The index information of the previous block is included in the page capital of each next block, and the chain is formed by end-to-end connection. Therefore, the addition of block (Complete History) and chain (complete verification) forms a time stamp (which can trace the complete history). It stores all the historical data in the system, provides retrieval and search functions for each data, and can trace the origin and verify each data by means of blockchain structure<
4. Asymmetric encryption
blockchain is an asymmetric encryption algorithm through the mathematical consensus mechanism, that is, a "key pair" is used in the process of encryption and decryption, and the two keys in the "key pair" have the characteristics of asymmetry: first, only the other key can be decrypted after one key is encrypted; Second, after one of the keys is public, other people can't work out another key according to the public key.
first, grandma is old. Although she is very happy about this kind of thing, she still doesn't have much energy to deal with it
Second, I think this is the most likely scenario. Grandma is very fond of her mother, and teachers are generally more reasonable, and after your father's death, your life is more difficult. One thing you need to understand is that people who still remember and visit their teachers after many years are usually people with good temperament and gratitude. Therefore, I think grandma purposely made it possible for your mother to contact more people. What's more, she hopes that her mother can find a suitable and worthy person to live a good life
do you think it's possible.