The first lesson of learning blockchain-knowing blockchain

From

The nonsense is a bit too much, we must see the end, because the dry goods are at the end~

I wanted to make the name of the article "First Day of Blockchain Learning Experience", but today is the eleventh day of my exposure to blockchain, and I feel that I have learned a lot, and I feel that I have not learned anything. , The knowledge in the head does not form a core structure and cannot be accessed at any time. Then write something, record and sort it out.

It has been eleven years since the development of blockchain. There are too many learning materials on the Internet, and there are more series of articles from entry to proficiency. But I do not intend to follow that order. I will mainly make a summary and overall review of my eleven days of study, and talk about my own learning ideas, which may inspire and help you later. However, the writing process may be as slack as sand, and subsequent series will gradually correct the structure, enrich the content, and form beautiful sand paintings.

I have learned blockchain for so long. This will come up, and the following words will first pop up:

Blockchain, mining, miners, mining pools, Bitcoin, Satoshi Nakamoto, UTXO, decentralization, hash functions, symmetric encryption and asymmetric encryption, peer-to-peer networks, blockchain data structure models, consensus algorithms, work Proof of volume, POW, POS, Byzantine problem, PBFT, Byzantine consensus algorithm, Ethereum, contract, smart contract, transaction, node and node classification, legal digital currency, solidity, Turing complete, Fibric, abi, etc.

I would like to thank my current company. If I hadn't come here, I wouldn't have learned this thing, at least in recent years. After all, there are still a lot of distributed technology stacks and microservice architectures waiting for me to study.

Inherit

When learning new things, everyone will generally understand his concepts first. If you are doing technology, you may also write some small demos and dance at your fingertips. This will be more impressive.

Write down your own learning methods. What better learning methods do you have? You can leave a message to interact and learn together.

First of all, because the company has sent some blockchain information, it takes people money, does things for people, and the company explains things. Of course, it is still necessary to study hard, but it is like the whole slurred copywriting in school. Acknowledgment, put together, it looks a little bit ignorant. But it can be regarded as a bunch of blockchain knowledge terms.

After watching it for about two days, I feel that I have read it all and I should be competent for the job. Then I went to ask the leader for advice and wanted to start work, but the leader asked a few questions. I am confused.

  • What is a node? What are the classifications?
  • What is PBFT? Talk about the consensus process?
  • What is a transaction?
    I know the node, which is equivalent to every block of the blockchain. But what are the classifications? Not in the data. PBFT, I just scanned it and saw that there was the three-stage picture and the consensus strategy of (n-1)/3. I even forgot his full Chinese name, because I mainly read POW and POS. , And some DES, 3DES, AES encryption and other knowledge. What else is a transaction, emm. This understanding is not in place, the memory is also blurred, and I can't tell why.

What should we do in the next three days? First, consult with colleagues, what are the node classifications? I know that in work, it is divided into read-only nodes and consensus nodes (about these two points, you need to understand in the work, in short: the difference is that read-only nodes do not participate in consensus verification, only storage.) In addition, thanks With the convenience of the Internet, the entire network is my teacher. Then search for a meal online, read blogs, add QQ groups, WeChat groups, hoping to communicate and learn from the group or a group of people who love technology and love to share. It is effective, but the effect is not good.

I still have to rely on myself. I read that term, but after all, I have to rely on this for food. It can’t just be superficial, so I found a blockchain demo on the Internet and started to follow the code without copying it. It is to understand while following the code. I built a chain by myself, and simulated the transaction process of Bitcoin. It feels like that. Distributed ledger records transaction records, hash algorithm for proof of work, UTXO code simulation, I feel that I already know a little bit about the blockchain. The code address is as follows:

https://github.com/halfApe/JavaBookClub/tree/master/halfApe/src/main/java/com/kycode/blockchain

Insert picture description here

turn

I just learned this foolishly for a week. I thought I had some understanding of the blockchain. Then I asked the leader to work again. As a result, the leader asked me a few questions, and I was confused again. First of all, I asked the last question again. Because I was prepared, the answer was good, but I didn't take a closer look at the implementation of PBFT, and time does not allow it. But for the analysis of node consensus, one can still say one thing or two.
The specific questions are as follows:

  • What is the contract? What are the classifications of contracts? The relationship between contract and transaction? How does the use of classes and methods to set contracts and transactions correspond?
  • What is Turing complete?
  • Do you understand Ethereum smart contracts?
  • Is the mathematical verification of PBFT clear?

After communication, I realized that what I saw was at best the blockchain version 1.0, and the company's own chain was developed based on the concept of blockchain 2.0, which is what we call the subsequent introduction of smart contract blockchain technology. The best example of enterprise-level introductory learning is this Hyperledger Fabric.

So, after a lot of Baidu and Google, I discovered that it takes a day to build Rome. Because the leader has also asked PBFT again and again, I want to understand through the code implementation, and indeed found that some algorithms are really winding, and it is more difficult to bite for a while. It is better to understand how the blockchain is applied in the company's business first, and it is difficult to bite. The algorithm, stay and nibble slowly.

At this point, I have also mixed into some blockchain circles, and I have also written books recommended by seniors and learned exchanges. Oh, I also set up a small group myself, partners who are interested in blockchain can come together to exchange and learn from each other.
Insert picture description here

Combine

I mentioned some of my own learning process above, and I reflect on myself and summarize the learning process of introductory blockchain, which is summarized as follows:

  1. It is necessary to find a few blogs and go through the basic concepts first.
    Recommendations:
    a. Teacher Ruan Yifeng's introduction to blockchain is short and concise , so it won't be persuaded to leave.
    b. Teacher Ruan doesn't suit you to change your taste? Looking at this article, maybe you have a different understanding of the blockchain and feel shocked . I was shocked by the soaring production relationship .
    c. The above article is too empty? Then take a look at this article, cut into the current messy Defi, and explain to your girlfriend what a blockchain is .
  2. With the basic concepts, I just forgot to glance at the door. If you want to have a deeper understanding, you still have to read the book. Here are a few recommended. ( If you want an e-book, add me WeChat )
    a. "Illustrated Blockchain"
    b. "Proficient in Bitcoin"
    c. "Blockchain Principle Design and Application"
  3. After all, blockchain technology is developing rapidly, and it is necessary to look at some technical websites.
    a. Babbitt
    b. Chained community

Write at the end

I'm glad you can see here. The things in front seem to be a bit watery, so they must be a bit dry, so let's explain some concepts below. Because there is more content, I put it in another article, please click " Introduction to Blockchain Basics ". There may be many shops that haven't mentioned them, and they will continue to be maintained in the future.

Since the author is also in the beginner's stage, if there is something wrong in the writing, please give me some advice.

Guess you like

Origin blog.csdn.net/aiwaston/article/details/108646357