Detailed explanation of blockchain transaction process
first, define the
blockchain as an open network ledger. It originated from bitcoin and is the underlying technology of bitcoin. In bitcoin transactions, all the information of transaction records will be packaged into a "block" for storage. With the expansion of information exchange, one block links with another, forming a blockchain
Second, the digital currency represented by bitcoin is a point-to-point e-cash system. Among them, every transaction will broadcast to all participants in the network, and it will be recorded in the account book after repeated confirmation, which is called "blockchain". Each participant will have his own account book. In this way, when false information occurs, it can be broken through mutual verification, so as to ensure network securityin the blockchain, every node is equal, and there is no centralized management organization. This "decentralized" feature makes the blockchain do not need to rely on a third party, its operation does not need any human intervention, and it can independently conct self verification. In addition, the network of blockchain is open to the world, and anyone can query data through the public port, so the whole system is highly transparent
In a word, blockchain is a reliable database and a reliable "account book". In the future, it will be applied in cross-border payment, securities, loans, voting, etc. For example, in cross-border payment, with the security of blockchain, you can remit money to the world anytime and anywhere, which saves a lot of intermediate links and high feesblockchain is composed of a series of data blocks generated by cryptographic methods. Each block contains the hash value of the previous block, which is connected to the current block from the original block 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>
using ordinary computer CPU does carry out bitcoin mining. Because bitcoin mining has formed a huge instry all over the world, ordinary computer is difficult to dig bitcoin. You need to buy expensive and professional bitcoin ASIC mining machine and join bitcoin miners' organization to dig bitcoin, that is, join the mine to dig Mining
bitcoin mining machine market has a high threshold. It is suggested that new players who want to dig for gold should be cautious.
at present, bitcoin mining needs professional ASIC mining machine. For example, Avalon mining machine, the mainstream of the market, is said that Avalon's fourth generation 28nm process chip, that is, chip flow, is expected to focus on the fifth generation 16nm process chip
Dongfang Weiming (named casually) rushed to Luoyang City. After witnessing Jiang Tianxiong, the great Xia of Heluo, catching the thief at the entrance of the city, he rushed into the city and saw the statue of xiaoxiami in the middle of the city. Looking at the young faces on the statue, I can't help feeling that I must be famous. At this time, a man on the side said to himself that he admired xiaoxiami very much. After talking with him, he learned that his name was Gu Yuexuan. As if they were old friends at first sight, they went to the teahouse on the side to have tea. During the dinner, they met Wulin again; Bai Xiaosheng & quot; Xu Ziyi, the author of the book "Wulin Tongjian", records all the famous figures, ranking and major events in the Wulin. Gu Yuexuan's deeds are also among them. It turns out that he is the eldest disciple of Xiaoyao Valley flawless son. After half a cup of tea, Gu Yuexuan leaves in advance. They agree to meet on the first floor of the hotel to continue drinking and talking< 1. Dialogue with Xu Ziyi; Brother Xu seems to like tea very much;, Tea ceremony skills increased
2. When they enter the Baima temple, they see a quarrel, and then a sound of Qin makes them turn the fight into friendship, and go to the top to talk with the girl who plays the Qin, which increases their musical skills
3. The understanding of dialogue with the spiritual Zen master in front of the Mahatma hall increases
4. Play a guessing game with the little girl who kicks shuttlecock in the White Horse Temple (the answers to the four groups of questions are all in the order of 1, 2, 3 and 4), and the savvy increases after winning
5. In the room beside the hotel, you will meet a Ren who has lost his sandalwood chess, and then go to the boxing arena of yequanmen to catch a thief (talk to him when he reaches for his hand), eye skill + 12. Then return the sandalwood chess to a Ren and get the secret in the orange. Talk to him again and choose & quot; Abandon one's son and strive to be the first;, Chess skills increased
6. In the corner of the casino, you will see the lost Hunter Li San, who promised to help him get 50 yuan, and then win 300 yuan. After meeting him in the village outside the city, he will present a yellow birch bow and 200 arrows, and play hunting games. It's better to hit the bear and keep it for sale
7. Communicate with florists in villages outside the city, and their flower skills are increased
8. You can buy Jimo old wine in Luoyang tavern, and then give it to fishermen in villages outside the city to increase their fishing skills
9. You can meet Li Hui, a scholar, in a room in front of the village outside the city, and come to meet him in the afternoon, which increases your calligraphy skills. A list of couplets:
a little dew on a branch of grass / a piece of sky on a person
persuading people to talk for a while / persuading people to write for a hundred generations
a father and son three CI guest / four masters of eternal articles
a grain of rice hidden in the world / half pot cooking the universe
a pair of cold eyes watching the world / full of blood to reward a confidant
three dilapidated houses / a person who has been trained for a long time
the world is full of knowledge / person Emotional mastery is an article
you should be chivalrous in making friends / you should be a little simple in life
a long-standing article double tube pen / a poem of four seasons elegance
if the sky is affectionate, the sky is old / the moon is not hateful, and the moon is always round
then you go to the center of the city and get songfengting poems from the calligraphers and painters, and then go back to Li Wei to see them. Calligraphy skills are increased
10. You can play & quot; after having a conversation with the leader of yequanmen; Stone, scissors, cloth & quot; After winning the game, eye skill increases
11. The painting skills of dialogue with the white scholars in the middle of the city have increased
12. Talking with the owner of huichuntang drugstore, medical skills increased
13. The ability to talk with the owners of antique shops has been increased
14. When shopping in grocery stores, candle shops, drugstores, markets and other places, identification skills will increase
15. The size of gambling in casinos. Sometimes, if you win, you will gain more. The bet is 50 money once
16. From villages outside the city to the East, you can hunt, mine, collect medicine and fish in the forest. Hunting will improve your hunting and lightness skills, fishing will improve your fishing and soft skills, collecting medicine will improve your medical skills, and mining will improve your blacksmith skills, eye skills and hard skills (not every time). Players should do as much as possible to make more money
17. Eating in markets, pubs, inns and teahouses can supplement physical strength and improve tea ceremony and drinking skills, but it costs money. If you drink all the tea twice in a row in a teahouse, Xu Ziyi will give you a tea set: yulanhua six petal teapot
18. Before Shenshi, buy two sticks of incense and sell everything except Vajra Sutra. Then go to Baima temple to worship Buddha. Choose 1 luck + 80, 2 indexes + 20, 3 courage + 80, 4 savvy + 20. Recommendation 2
19. Talk to your mother-in-law in the house opposite the rejuvenation hall, and then go to the central government for a drink of soy milk. Then you will go back and your mother-in-law will ask you to take & quot; Nutritious Chicken Soup & quot; To Xiao, bring to the moral increase, and then promise Xiao to Luoyang Inn two kitchen order dishes, see two cabinet, give him Huangjing (collect medicine) cooking skills increase. Don't forget to reply to Xiao
20. Meet the cook's mother-in-law in the kitchen of the tavern, and then catch her a rainbow carp to learn how to fry Yellow River carp in wine
21. In Baima temple, talk to the children skipping rope, then go to Luoyang Inn for dinner, then go to the kitchen to talk to the chef and choose & quot; Praise cooking;, If you learn to cook chicken at Daokou, your cooking skills will increase
22. Go to the cave in the forest outside the city and talk with the miners to get a shovel, which increases the mining skills
23. If you sell five rainbow carp to Aunt Yutan at one time, you can get ten red worms
24. In the near future, the scholar in white went to the antique shop again, and his identification skills increased
2