区块链保证挖矿程序不被篡改吗,区块链保证挖矿程序不被篡改的原因
近年来,随着区块链技术的发展,它在许多领域的应用越来越广泛,比如金融、政务、物联网等。其中,区块链保证挖矿程序不被篡改也是其中的重要内容。那么,区块链保证挖矿程序不被篡改有哪些关键技术?本文将从三个方面来探讨:数字签名、共识机制和分布式账本。
数字签名是一种用于确认数字文件的完整性和真实性的安全技术。在区块链中,它可以用来确认挖矿程序的完整性和真实性,从而防止挖矿程序被篡改。数字签名是一种公钥加密技术,其中公钥由发送者和接收者共同持有,它可以用来确认发送者身份,并防止消息被篡改。在区块链中,挖矿程序的发送者和接收者可以是矿工和矿池,它们可以使用数字签名来确认挖矿程序的完整性和真实性,从而防止挖矿程序被篡改。
共识机制是区块链技术中的一种重要技术,它可以用来确认挖矿程序的完整性和真实性,从而防止挖矿程序被篡改。共识机制分为两种:工作量证明和拜占庭容错。工作量证明即比特币的共识机制,它是一种基于算力的共识机制,它要求矿工必须计算出一个特定的哈希值,以确认挖矿程序的完整性和真实性,防止挖矿程序被篡改。拜占庭容错是一种基于共识的共识机制,它要求矿池中的矿工必须达成共识,以确认挖矿程序的完整性和真实性,从而防止挖矿程序被篡改。
分布式账本是一种分布式数据存储技术,它可以用来存储挖矿程序,从而防止挖矿程序被篡改。分布式账本采用分布式计算技术,将挖矿程序存储在多个节点上,每个节点都保存一份拷贝,以确保挖矿程序的完整性和真实性,从而防止挖矿程序被篡改。此外,分布式账本还可以提供安全性,防止挖矿程序被黑客攻击,从而防止挖矿程序被篡改。
以上就是区块链保证挖矿程序不被篡改的三种关键技术:数字签名、共识机制和分布式账本。它们可以用来确认挖矿程序的完整性和真实性,从而防止挖矿程序被篡改。
请查看相关英文文档
『一』How to solve blockchain security issues
One of the characteristics of blockchain projects (especially public chains) is open source. Open source code improves the credibility of the project and allows more people to participate. But the openness of source code also makes it easier for attackers to attack the blockchain system. There have been many hacker attacks in the past two years. Recently, the anonymous currency Verge (XVG) has been attacked again. The attacker has locked a vulnerability in the XVG code, which allows malicious miners to add false times to blocks. After stamping, new blocks were quickly mined, and nearly US$1.75 million worth of digital currency was obtained in just a few hours. Although the attack was successfully stopped, no one can guarantee whether the attacker will attack again in the future.
Of course, blockchain developers can also take some measures
The first is to use professional code audit services,
The second is to understand safe coding standards and nip problems in the bud.
Security of cryptographic algorithms
The development of quantum computers will bring major security threats to the cryptographic systems currently used. Blockchain mainly relies on the elliptic curve public key encryption algorithm to generate digital signatures for secure transactions. Currently, the most commonly used ECDSA, RSA, DSA, etc. cannot withstand quantum attacks in theory, and there will be greater risks. More and more Researchers are beginning to focus on cryptographic algorithms that are resistant to quantum attacks.
Of course, in addition to changing the algorithm, there is another way to improve security:
Refer to Bitcoin's handling of public key addresses to reduce the potential risks caused by public key leaks. As a user, especially a Bitcoin user, the balance after each transaction is stored in a new address to ensure that the public key of the address where Bitcoin funds are stored is not leaked.
Security of consensus mechanism
The current consensus mechanisms include Proof of Work (PoW), Proof of Stake (PoS), and Delegated Proof of Stake (DPoS). , Practical Byzantine Fault Tolerance (PBFT), etc.
PoW faces 51% attack problem. Since PoW relies on computing power, when an attacker has a computing power advantage, the probability of finding a new block will be greater than that of other nodes. At this time, it has the ability to undo transactions that have already occurred. It should be noted that even in this case, the attacker can only modify his own transactions and not the transactions of other users (the attacker does not have the private keys of other users).
In PoS, an attacker can only successfully attack when he holds more than 51% of the token amount, which is more difficult than 51% of the computing power in PoW.
In PBFT, malicious nodes are smaller thanThe system is safe when the total number of nodes is 1/3. In general, any consensus mechanism has its conditions for establishment. As an attacker, you also need to consider that once the attack is successful, the value of the system will be reduced to zero. At this time, the attacker has nothing to do except destroy it. Get other valuable rewards.
For designers of blockchain projects, they should understand the advantages and disadvantages of each consensus mechanism, so as to choose an appropriate consensus mechanism or design a new consensus mechanism according to the needs of the scenario.
Security of smart contracts
Smart contracts have the advantages of low running costs and low risks of human intervention. However, if there are problems with the design of smart contracts, it may cause greater losses. In June 2016, The DAO, Ethereum's most crowdfunded project, was attacked. Hackers obtained more than 3.5 million Ethereum coins, which later caused Ethereum to fork into ETH and ETC.
The measures proposed in this regard have two aspects:
The first is to conduct security audits of smart contracts,
The second is to follow the principles of safe development of smart contracts.
The security development principles of smart contracts include: be prepared for possible errors and ensure that the code can correctly handle bugs and vulnerabilities; release smart contracts with caution, do functional testing and security testing, and fully consider boundaries; maintain The simplicity of smart contracts; pay attention to blockchain threat intelligence and check for updates in a timely manner; be clear about the characteristics of blockchain, such as cautiously calling external contracts, etc.
Security of digital wallets
Digital wallets mainly have three security risks: First, design flaws. At the end of 2014, a serious random number problem (duplication of R values) caused users to lose hundreds of digital assets in a certain lottery. Second, digital wallets contain malicious code. Third, lost assets caused by loss or damage of computers and mobile phones.
There are four main countermeasures:
The first is to ensure the randomness of the private key;
The second is to verify the hash value before installing the software to ensure that the digital wallet software has not been tampered with ;
The third is to use a cold wallet;
The fourth is to back up the private key.
『二』Explain the blockchain in vernacular
img src=' https://p26 . toutiaoimg.com/large/39b 70000088 e 51 B3 c 258 & #39/
Recently, various ICO financial scams have been blocked in China, but this does not hinder the vigorous development of blockchain technology. After all, technology is innocent and can bring benefits to people. As for how to use it, it depends on people to operate it. If the operation is good, you can recommend development. If the operation is not good, it is like the major ICO projects. Find some knowledge for Internet celebrities to conduct so-called illegal fund-raising and financial fraud.
After talking for a long time, what is blockchain? When it comes to blockchain, the first thing that comes to mind for many people is Bitcoin. We need to solve a problem. BitcoinIt’s blockchain, but blockchain is not Bitcoin. Simply put, blockchain is distributed ledger technology (DLT), not a token. It has many characteristics, such as decentralization, traceability, and difficulty in tampering.
(1) Blockchain is a distributed database
First of all, this is a decentralized distributed architecture system. Therefore, having only one central server or node is not called a blockchain. For example, if you go to Taobao to buy a mobile phone, you and the seller are strangers and have no basis for trust. If you give the money to the seller first, the seller may block you by not delivering the goods, and then your mobile phone money will be gone. If the seller ships first, do you pay? It is possible that you do not pay the seller after receiving the goods, and one party may lose money anyway. At this time, a third-party guarantee is needed to solve the trust problem. Just like Alipay now, you give money to Alipay and the seller will deliver the goods. When you receive the goods, the seller will receive the money.
The above example is a centralized system because all guarantee work is handled by Bora, a third-party payment company. Suppose one day Alipay wants to tamper with data, neither buyers nor sellers can do anything because all authority is in the hands of one company.
At this time, a distributed database is needed. This third party is no longer Alipay, but thousands of monitors. When you buy a mobile phone on Taobao, you will shout to everyone that I am going to XXX to buy a mobile phone, and I paid XXX yuan. The other person will yell like everyone else. I collected XXX’s mobile phone bill and sent it over. In this way, everyone knows about this transaction and everyone is recording this transaction, so it is useless if one or two nodes have problems or malicious behavior, because most nodes have recorded this matter.
(B) Blockchain uses encryption technology to ensure data security
There are two important points here: 1. Crypto-enabled hash function 2. Asymmetric encryption.
If you are interested in specific concepts, you can go online, but people without basic knowledge may not be able to understand it, because these two points are too professional. In fact, if you only know the use of blockchain, you don’t need to have an in-depth understanding of it. It is also a technical concept. All you need to know is that blockchain relies on these technical points to ensure data security and is not easily tampered with. Of course, many people say that these two points can guarantee 100% non-tampering. I want to be a little conservative here. As an author who works in the security industry, I have always been skeptical about 100% security, so it may be more appropriate to call it difficult to be tampered with.
I will briefly introduce these two concepts and try to explain them clearly in plain English.
1. Cryptographic Hash Function
This is mainly used to verify the integrity of information. For example, I sent a message to the company leader saying that I was sick on Friday and needed to take a day off. At this time, a hash value will be generated based on the message I sent, such as: 123456. At this point, when the leader receives this message, a hash value is also generated. Because the content of the message I sent has not changed (it has not been tampered with), the hash value remains unchanged, still: 123456. This is if someone wants to tamper with this news and make it happen on FridaySick, need to take a year off. At this time, the hash value will change, such as: 123489. That's when we learned our information had been tampered with.
2. Asymmetric encryption
It is mainly used for information encryption and authentication. It is actually two keys, one is called the public key and the other is called the private key. Public key encryption, private key decryption.
A public key is a key that everyone has. You own it, I own it. We can all encrypt with this key, but when decrypting it must be decrypted with my private key. If you don't have my private key, you can't decrypt it.
(C) The blockchain uses a consensus algorithm to reach consensus on new data.
The role of the consensus algorithm is to enable all nodes to reach a consensus on the new block. In other words, everyone must approve the new block.
For a centralized deployment system, this is simple, everything is controlled by the center, but in the distributed system of the blockchain, it is very complicated. For example, there are three nodes. A said he bought a mobile phone from XXX store and paid for it, B said he didn’t pay, and C said he didn’t pay enough. Then who do you listen to? What's more, blockchain technology is not as simple as three nodes, but a huge distributed system.
This is when a solution is needed. There is a corresponding problem in computer science called the "Byzantine Universal Problem" or "Byzantine Fault Tolerance" (BFT). This question was raised not because of Bitcoin, but because of a special background.
Early aircraft had three independent control systems. Why do we need three independent control systems? For example, in an emergency, there is a plane opposite. How to judge whether you should hide? If there is only one system, there is no choice, which is equivalent to centralized deployment. If the system breaks, you're dead. What if one of the two systems breaks? The good ones are said to hide, and the bad ones are said not to hide. The computer cannot judge the final result. Therefore, three independent systems are needed to support it, and the probability of two total failures is still very small. But this only takes into account injuries. What should I do if there is a malicious system? Is three enough? The answer is no, we need four systems to maintain consensus.
The use of blockchain is similar, because it is supported by a huge number of nodes, and each node is an independent system without interfering with each other. We can assume that the number of failed nodes and malicious nodes is limited, so it will not cause abnormal consistency of data.
Related questions and answers: What is blockchain? What is the use?
Blockchain is a new computing paradigm and distributed infrastructure that uses fast chain data structures, distributed node consensus algorithms, cryptography and smart contracts based on automated script code to produce, verify, store and transmit data. It can also be said that blockchain is a distributed ledger technology that can provide a decentralized trust mechanism in a non-trust environment, allowing multi-party participants to conduct secure and trust-based transactions without intermediaries.
The core advantage of blockchain technology is decentralization. It can realize decentralized credit-based transactions in a distributed system where nodes do not need to trust each other by using data encryption, timestamps, distributed consensus and economic incentives. Peer-to-peer transactions, coordination and collaboration to solve the problem of centralized institutionsIt provides solutions to the ubiquitous problems of high cost, inefficiency and insecure data storage.
The fields of use of blockchain include digital currency, certificates, finance, anti-counterfeiting and traceability, privacy protection, supply chain, entertainment, etc. With the popularity of blockchain and Bitcoin, many related top domain names have been registered. It has had a relatively large impact on the domain name industry.
Related Q&A: Can you explain to me what a blockchain is in an easy-to-understand way?
Er Gazi is my friend since we were young, and we were naked in Hegou together. Later, I came to the city to study and work, and lived a life as a drifter in the north; he farmed at home and also did some small business, and now he has a son and a daughter, and his life is safe. He envied my so-called "seen the world", and I envied his simple life without the pressure of mortgage loans. We have completely different and mutually enviable lives??
That day, Ga Zi came to me on WeChat and asked "District" What is a blockchain?" I was stunned for a moment, how could this idiot care about such an avant-garde word? I pretended to be calm and prepared to talk about the technical principles bit by bit, but I could see the confused expression of that idiot through the screen of my mobile phone. How to explain "what is blockchain" to people who have a little bit of Internet concepts and technical foundation? This seems to be a very thorny problem??
The village commissary interprets the core of blockchain (picture quoted from the Internet)
The core essence of blockchain is "decentralization", and almost all operating modes of blockchain operate around the concept of "decentralization". Once you understand what "decentralization" is, you can basically explain the question "what is a blockchain?" For Erga, of course, he must perform a version that he can understand.
“I said, Gazi, are you still open that canteen at the east end of the village?” Gazi answered yes. I decided to use this canteen as an example to explain the actual use of blockchain in modern business and financial models. Scenario, so that he can better understand what blockchain is.
"Are there still many villagers who take credit now? By the end of the year, some of the accounts cannot be remembered clearly, and there are still many defaulters or those who refuse to accept their accounts?" At this point, Ergazi got emotional and kept complaining. Nowadays, people's hearts are not as old as before, and business is difficult to do!
"In the past, the operation model of your canteen was a typical centralized one. You granted credit to the villagers and allowed them to take accounts on credit. All accounting was done directly through you and our villagers. You were the center of all accounting affairs." Ergazi said I understand, let me continue.
I said: "If you fail one day, then all the accounts will become dead debts? It will be difficult to get back the IOUs written in black and white, let alone those who remember the accounts verbally, but the block The decentralization of the chain can solve this problem very well. As long as the earth still exists, the blockchain will remember that every account will exist forever." Erga became more energetic after hearing this.
The essence of blockchain is “decentralization”
“The essence of blockchain is decentralization. Once someone takes credit from you, all the neighbors in the village will help you keep accounts. Because of the accounting There are many nodes, it is neither easy to make mistakes nor others can refuse to pay, so everyone can reach a consensus. If someoneIf he maliciously refuses to repay the debt, the whole village will know about his character, and no one will be willing to have any financial dealings with him in the future??"
Speaking of this, Gazi was obviously a little excited, it seems that he was charged with credit The matter was really a bit stressful. Seeing that Gazi was interested, I also felt a small sense of accomplishment and continued: "Of course, the above is just an analogy. In fact, the blockchain does not really allow the villagers to get paper and pens to help. Your accounting is done through the Internet and computer networking. "
At this time, Gazi was a little confused and asked: "Then what others bought from me, wouldn't everyone in the village know it? Then who would buy things from me? There is really no privacy at all. And you don’t have time to keep accounts here. Last year’s accounts are said to be this year’s. What if you keep procrastinating? "
"Okay, Gazi, your question is on point. "It seems that Gazi is not stupid at all, and he is very shrewd in doing business. I continued to explain: "So, the recording and transmission of this information are all done through encryption. What you see is a picture of numbers and English. String, and each account has a timestamp to record the time of occurrence, which cannot be relied on. "
Gazi had another question: "Is it possible that the people who owe the debt have a good relationship with the villagers, and they join forces to tamper with the accounting? Then you won’t be able to explain clearly at that time??”
“Gazi, that’s all you have, haha. "I understood Gazi's concerns and continued to explain: "The mechanism of the blockchain requires more than 51% of people to agree to tamper with a bill. Everyone has a degree of closeness and distance between them, and it is impossible for everyone to favor the same person. If it were a computer, more than half of the computers on the entire network would need to recalculate. This project would be so huge that it would be almost impossible to complete."
In this way, through the actual situation of the canteen and combined with some scenes in life, Gazi understood What is in the blockchain: decentralization, distributed accounting, consensus mechanism, encryption mechanism, timestamp, and the characteristics of being difficult to tamper with.
Ergazi was silent for a moment, seeming to be digesting the example I just gave him. I don’t know how much he can understand the example. Not long after, he sent me a voice message on WeChat: “What does blockchain mean? In the past, when I bought goods online and paid, I had to go through Jack Ma’s house. If there is a blockchain, can we directly trade with the seller? Anyway, the accounting is very safe. "
"Okay, Gazi, it's really clear at first glance. Blockchain is essentially a decentralized distributed ledger data cloud. Of course, it can be understood according to your understanding. "I'm very happy that Ga Zi can roughly appreciate the true charm of the blockchain. Fortunately, my words have not been in vain.
What is Bitcoin? (Picture quoted from the Internet)
"Then Bitcoin What is this thing again? What does it have to do with blockchain? "Gazi asked.
I thought about it briefly and decided to continue to explain to Gazi with the story of the canteen: "In your canteen, the villagers can't keep accounts for you for free all day long. Do you have to carry some during the holidays? This is the reward mechanism of the blockchain, and everyone who participates in bookkeeping may receive rewards.. "
"Then what are the rewards based on? There has to be a rule, right? "Gazi asked very puzzled.
I explained: "Zhang San went to your store to borrow a pack of cigarettes on credit, but Li Si knew about it first and helped you keep an account first, and then other people knew about it. Keep accounts, then Li Si will be able to get a small red flower as a reward ~ This small red flower is generated by the blockchain system and has no value in itself, so you do not need to pay any cost for this small red flower??"< p>“Can Bitcoin be spent as money? How is it different from the banknotes we usually spend? "Gazi continued to ask.
"Bitcoin is a digital encrypted virtual currency. In principle, it has no value itself like our banknotes. However, banknotes have a credit guarantee from the state, so they have value. Bitcoin is the value formed by consensus among Bitcoin network users, and it has tradable properties, so it can be used to carry value. "What is said here is a bit profound. I don't know if Gazi can understand it.
I continued to explain: "Banknotes can be printed infinitely. If more are printed, inflation will occur. When we were young, popsicles worth 1 cent were very good. , now you can’t eat with 1 yuan. Of course, there are many factors that affect inflation. The number of Bitcoins is fixed, and there is no possibility of unlimited over-issuance. However, different people have different judgments on their value, and coupled with the influence of supply and demand and investor sentiment, their prices are always fluctuating. ”
What is the difference between Bitcoin price fluctuations and stocks?
“So is speculating in Bitcoin just like speculating in stocks? Can you understand it this way? "Gazi seems to know a lot.
"In fact, there are some similarities, but there are also big differences. "I continued Gazi's topic: "The price of stocks always fluctuates around the valuation of companies, and there is government supervision in the stock market. Bitcoin itself has no value. It is priced entirely based on supply and demand and player valuations. It grows wildly without any government supervision. Therefore, it may have higher risks and higher returns than stocks. "
In the end, Gazi revealed the real purpose of today. He asked me: "Can I invest in blockchain projects? ”
Gazi is a typical example of those who don’t go to the Three Treasures Hall for anything. Although there is a large circle of people who are involved in both blockchain and Bitcoin, in fact, what he really cares about is “blockchain project investment” Is it reliable? "When these words came out, I was extremely shocked. Now the so-called blockchain investment projects have actually reached fourth- and sixth-tier cities and small towns!
As of now, there are only three types of blockchain investments. Situation: Mining, currency speculation, so-called blockchain projects.
Mining and currency speculation are still the main lines of the blockchain (pictures quoted from the Internet)
The so-called mining means mining by purchasing mining machines, etc. Equipment, mine virtual currency, and then sell it for cash to get returns. You can install the mining machine yourself, or you can find a mining pool to host it, but the core keys to profitability are "computing power" and "power consumption" as well as Investment in equipment. With the sharp drop in the price of virtual currencies and the increase in mining difficulty, many currencies are currentlyMining returns are very unsatisfactory. Mining is obviously something only a very small number of investors who understand technology can do well, and my childhood friend Gazi obviously can’t do it.
As for "coin speculation", I have just introduced some differences between Bitcoin and stocks in the previous section. In principle, although they are both "buy low and sell high" operations, they are very different. Ordinary investors cannot determine the value of a virtual currency itself. The price is determined entirely by the relationship between supply and demand, which is somewhat similar to what we often call "market makers." On the other hand, the virtual currency trading market is extremely unstandardized, and fraud and hacker attacks often occur. The risk factor is much greater than investing in stocks. For the safety of my friends' funds, I am one of the ten thousand people who disagree with me and come to "speculate in coins"!
The "September Fourth Movement" stipulated that the issuance of virtual currency is illegal
In fact, in my opinion, most of the so-called investment projects in the market are essentially "illegal fund-raising" and "pyramid schemes." Some so-called blockchain investment projects attract investors into the circle through various packaging and inflammatory rhetoric, and then create the illusion of profitability by building a software and hardware ecosystem of issuing new coins + mining + currency speculation, and then finally run away. Our country's laws clearly stipulate that the issuance of virtual currencies is illegal.
Illegal pyramid schemes now wear the cloak of blockchain (picture quoted from the Internet)
And how to identify some pyramid schemes under the guise of blockchain? In fact, these pyramid schemes are also so-called Ponzi schemes, what we people often call "empty gloves." These so-called "direct sales" or "marketing" activities often have no actual products to circulate, and rely more on developing "downline" to ensure top-level profits. With the rise of the concept of blockchain, this MLM model has shown an intensification trend, and it even deceives people under the banner of state support for new technologies.
When Gazi asked, “Can blockchain projects be invested in?”, I realized the seriousness of the problem. Gazi is a typical young man from a small town, and his pursuit is his wife and children. But when faced with the attraction of "wealth", people often do inappropriate things. Mining and currency speculation are simply not suitable for him, let alone blockchain investment projects that are most likely "illegal financing" or "illegal pyramid schemes"!
I quickly dialed Gazi’s phone number and conducted the above analysis carefully??
『三』What is blockchain and what role does blockchain have
What is blockchain? What changes will it bring to your future life?
Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithms.
Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. As the underlying technology of Bitcoin, it is a series of related cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block.
The original English version of the Bitcoin white paper does not actually appear in the word blockchain, but instead uses chain of blocks. In the earliest Chinese translation of the Bitcoin white paper, chain of blocks was translated into blockchain. This is the earliest time when the Chinese word "blockchain" appeared.
The Cyberspace Administration of China issued the "Blockchain Information Service Management Regulations" on January 10, 2019, which will come into effect on February 15, 2019.
In a narrow sense, blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be non-tamperable and non-tamperable. Unforgeable distributed ledger.
Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure data transmission and Access security, a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data.
In fact, to understand it very simply and vividly, we can imagine that everything in life is realized in digital form, including food, clothing, housing, transportation, medical treatment, education, etc., based on the Internet, it can be easily done at home Get it done, no matter where you go to do business or trade, you can completely operate it with your mobile phone. With the continuous development, everything we do can be easily completed online, such as volumetric work, production, planting, etc. Of course, the rise of 5g will bring about the end No one can accurately predict what it is now, but it will definitely bring about earth-shaking changes in life and social form!
Blockchain was born from Satoshi Nakamoto’s Bitcoin. Since 2009, various Bitcoin-like digital currencies have appeared, all based on public blockchains.
The current situation of digital currencies is that a hundred flowers are blooming. Here are some common ones: bitcoin, litecoin, dogecoin, OKcoinetc. In addition to currency applications, there are also various derivative applications, such as NXT, SIA, and BitShares. , MaidSafe, Ripple, Ethereum and many more.
On January 20, 2016, the People’s Bank of China Digital Currency Seminar announced that it had achieved phased results in digital currency research. The meeting affirmed the value of digital currency in reducing the issuance of traditional currency and stated that the central bank is exploring the issuance of digital currency.
Some areas where blockchain can be used can be:
▪ Smart contracts
▪ Securities trading
▪ E-commerce
▪ Internet of Things
▪ Social communication
▪ File storage
▪ Proof of existence
▪ Identity verification
▪ Equity crowdfunding
The development of blockchain can be compared to the development of the Internet itself, which will be formed on the Internet in the future For example, there is something called finance-internet, and this thing is based on blockchain, and its precursor is bitcoin. That is, traditional finance starts from private chains and industry chains (local area network), and the bitcoin series starts from public chains (wide area network), both expressing The same concept - Digital Assets (Digital Asset), eventually converges to an intermediate balance point.
The core advantages of the blockchain architecture include:
Any node can create a transaction, and after a period of confirmation, it can reasonably confirm whether the transaction is Effectively, blockchain can effectively prevent problems from happening on both sides. The cost of trying to rewrite or modify transaction records is very high. Blockchain implements two types of records: transactions and blocks. Transactions are the actual data stored on the blockchain, while blocks are records confirming when and in what order certain transactions became part of the blockchain database. Transactions are created by participants using the system in the normal course (in the case of cryptocurrencies, a transaction is created by Bob sending tokens to Alice), while blocks are created by what we call Units of miners are responsible for creation.
So in conclusion, this is undoubtedly a new technology that changes life. In the future, the production activities of the entire society will be carried out with blockchain as the underlying logic, and many things will be within our reach. , coupled with the integration of artificial intelligence and big data, we can easily handle things that may seem cumbersome now, such as some securities market transactions and intelligent matching of financial management activities.
To put it simply, blockchain is a network computing center that integrates people, property, machines, and goods, and packages it into a whole; putting it on an infrastructure to run the network computing center .
Now the author’s imagination is not big enough to imagine what the future world will be like. I am looking forward to it!
I know a thing or two about this issue. Let’s get to know this mysterious thing - blockchain.
Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithms. Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. As the underlying technology of Bitcoin, it is a series of data blocks generated using cryptographic methods. Each The data block contains information about a batch of Bitcoin network transactions, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block
The more popular it is, the more fake it is to keep the real. First of all, we must first figure out what the real blockchain technology is.
As an example, take buying fruits online.
The process of purchasing fruits online is as follows:
Using blockchain technology and decentralization, the process of purchasing fruits is as follows:
Summary:
1. We found that the original transaction process is: buyers and sellers make transactions, and all key processes are dealing with the payment platform. The advantage of this is that if there is a problem in any link, both sellers and buyers can seek help through the platform and let the platform arbitrate. However, a major bug or hacker attack occurs on the platform, resulting in the loss of all transfer records within a period of time. How to deal with the loss is a troublesome matter.
2. The transaction process using blockchain technology is: everyone’s ledger has exactly the same transaction record. Even if Alipay’s ledger server is broken, the seller’s ledger still exists, and the buyer’s ledger still exists. Still exists. Once this transaction occurs, the traces will never be erased.
This is the core of the blockchain, which is the four words "accounting + accounting".
The development and maturity of blockchain technology cannot be separated from the foundation and foreshadowing of the above new generation of Internet technology. Blockchain is not only a technology, but also provides a service model and solution. , which has played an extremely important role in promoting the further development of the Internet industry.
1. Blockchain + Finance
2. Blockchain + Supply Chain Management
3. Blockchain + Intelligent Manufacturing
4. Blockchain + Public Services
5. Blockchain + Education and Employment
6. Blockchain + Culture and Entertainment
7. Blockchain + payment
8. Blockchain + invoice {Already enabled in Shenzhen}
Traceability and non-tamperability of blockchain , perfectly combined with the inherent nature and needs of the financial industry, which makes the application of blockchain in the field of financial services a criticalBy far the most in-depth and relatively mature field. Blockchain technology has broad application prospects. The future technological competition will also be a blockchain competition.
It is important to understand blockchain, which is important to see through various pseudo-blockchain scams.
If someone uses a bunch of professional terms to explain blockchain, it will be difficult for you to understand, and they may not really understand it themselves.
Therefore, we first establish a psychological line of defense. Anyone who sells you concepts and uses a lot of unfamiliar technical terms may be a liar. Be very careful!
To understand blockchain, you must know what the core appeal of blockchain is. What do you think you are most worried about in today's highly developed Internet world?
Privacy, yes, privacy. How to protect privacy? You may be monitored at any time, and any of your personal information may be stolen at any time. If personal privacy is not absolutely protected, the Internet will become another pyramid of power. Who is standing on top of the pyramid? He is the smartest technical master, a platform provider, and an information regulator. You and I may be the people at the bottom of this pyramid.
The people who originally invented the blockchain had serious concerns about being completely swallowed up by the Internet, and tried to create an absolutely safe encryption technology to lock up personal privacy. This technology completely subverts traditional encryption technology. In fact, rather than locking up privacy, it is better to tear it into pieces and then distribute the pieces to different people for private keeping. Unless everyone agrees to take the pieces and piece together the complete code, the truth cannot be recreated. This is the first mechanism of blockchain, which is decentralization.
But decentralization alone is not enough. It is also necessary to make those who steal password fragments have nowhere to hide, so that every action of the thief can be recorded indelibly and posted everywhere on the Internet. Diffuse and make it public. This is the second mechanism of the blockchain, the non-anonymous mechanism. Do you think, who snoops into privacy is not sneaky?
In summary, the blockchain is to hide privacy in a decentralized manner, record any actions that reproduce this privacy, and make it public. Seeing this, you may want to applaud the blockchain. Don't worry, how can there be such a good thing in the world? Is there any utopia that is absolutely safe? If blockchain can be realized in an absolute sense, will the existence of the government still be meaningful? Yes, blockchain was originally the embodiment of anarchy. Its ultimate meaning is destined to never be realized. Its survival may have to rely on power, and it is destined to become another beautifully packaged lie and a pretense to deceive people. In this sense, the government must also specify a framework for the development of the blockchain, reconstruct the value of the blockchain, and drive out the anti-government and anti-national attempts contained in the blockchain. Some blockchain technologies can be used in concrete applications, but decentralization must not be promoted. In short, for blocksChains should remain highly vigilant. Beauty often hides its sting. Absolutely ideal recipes often turn out to be poison. The person who says he can absolutely protect your privacy and financial security is the real voyeur and vampire.
Perhaps the best way for us to protect privacy is not to have any privacy, to live a completely open life, either to live like a sun or to live like a god of wine.
Viewpoint: 1. The concept of blockchain originated from the technical attributes of Bitcoin (distributed data storage and accounting, decentralization, inability to tamper with transaction records, point-to-point information transmission, sharing mechanism...), but Later, some people continued to extend and expand the concept to many commercial fields to facilitate capital speculation. 2. Blockchain in reality (the current blockchain on the market is very confusing), the hype concept is mostly used to make money in the stock market, and there is still a lack of regulatory loopholes. , legal and regulatory issues, etc., and even money laundering (the actual operation of blockchain products is one thing, the capital operation behind it is another). At present, the computer systems around the world cannot meet the characteristics of blockchain attributes. Technical requirements (such as distributed data storage and accounting, decentralization...), network bandwidth, storage technology and computer computing systems cannot meet transaction operation requirements (it is easy to use computer technology to make your network clogged or unable to complete distribution) There are risks arising from practical applications such as formal data storage or transactions being interrupted or delayed at any time. In addition, as far as the current global computer system is concerned, it is easy to crack the underlying program of the blockchain (this is a fatal flaw in the current global computers, 0 and 1 binary logic In addition, if the reverse blockchain mode calculation algorithm is used, it is very easy to crack the blockchain. This reverse calculation mode can also completely tamper with all transaction records. If a true quantum computer becomes available in the future, it can directly break all blockchain computers in seconds. System, Bitcoin mining is a Ponzi scheme, 3. Most of the blockchains currently on the global market are basically capital speculation concepts to make money.
The concept of blockchain has been around for several years. , I heard a blockchain boss say at the beginning of last year that 2018 is the best year for the development of blockchain. After this year, foreign development will fall behind. What is blockchain? In terms of impact, it is like a pig. The large intestine is connected section by section. Blockchain is to connect these blocks together and fix them, using computer and Internet encryption technology to prevent secrets from being leaked to the outside. This technology cannot be explained to non-professionals through professional terms Normally people can’t understand it. I can only explain it with an analogy. Let me give you two examples:
1. Four people, A, B, C and D, play mahjong in a mahjong parlor to gamble, using chips for each game. When the partnership was dissolved, A lost 1,500 yuan, B lost 300 yuan, C won 200, and D won 1,600. As a result, A only had 1,000 yuan, and everyone else settled it, but A still owed D 400 yuan. .Only these four people know about this matter, and these four people are in the same block. There is no proof for what you say, and you won’t write an IOU for this kind of thing. What will happen if A doesn’t pay back the money in the future? ThisExcept for the four people A, B, C and D present, no one else knows about it. If A wants to default on the debt and says that he does not owe money at all, only three people, B, B, D and D, know that A is defaulting on the debt. It is difficult for others to judge whether A owes money and refuses to pay it back. Therefore, the value of blockchain needs to expand participation. What if these four people were playing mahjong and a dozen friends were watching? Isn’t the cost of defaulting on the loan high? This is real life block. What about extending to the Internet? Then there are endless possibilities and many scenarios.
2. If four people, A, B, C and D, do business in a business group of 500 people, this group of 500 people is a big block. Once, A asked B for 10,000 yuan of goods, but did not pay B in time. A said at that time that he would pay B within 3 days. Everyone in the group knows this. If A fails to send money to B within 3 days, then the other 498 business partners in the group will know about it. If A defaults on the debt, his reputation in this business circle will be ruined. affected. This is a block.
Later, A wanted to do business with C. C asked A for goods. A said, you pay a deposit of 5,000 yuan and the goods will be shipped immediately. C paid 5,000 yuan to A, but A was delayed. Not shipping, everyone in the group knows this, this is another block. When the two blocks are connected, everyone doubts A's credibility. How many times have you done this? Will Mr. A continue to play in the future? This is the value of blockchain.
Blockchain may seem complicated, but it is not complicated at all; it may seem simple, but it is actually very difficult to operate. The blocks are too small and meaningless. If a block wants to grow bigger, privacy and business secrets will be involved. For example, it is inconvenient to talk about falling in love in a large group; for example, it is inconvenient to discuss it openly in the group (block) beforehand when working together to do big business. However, there are still occasions when blockchain technology is used, such as poverty alleviation work, disaster relief fund management, etc. It is exposed to the sun and everyone knows it and supervises each other. I’ve given these two examples. Do you understand them at all?
[The most core and easy-to-understand introduction to blockchain]
1. How does blockchain create trust? We use "1", "2", and "3" to summarize the characteristics of the blockchain:
- "1" summarizes the blockchain: a trusted distributed database;
- "2" core properties: distributed, non-tamperable;
- "3" key mechanisms: cryptography principles, data storage structure, consensus mechanism.
The "distributed" and "non-tamperable" properties ensure the "honesty" and "transparency" of the blockchain, which is the basis for the blockchain to create trust.
2. In terms of industry, it is expected that the financial industry will be dominated by the financial industry in the next 3-5 years, gradually radiating to other real industries, more realistic scenarios will be accelerated, and the industry will develop from "1 to N"Exhibitions include entertainment, product traceability, credit reporting, etc.
In the future, in addition to using technologies such as side chains, lightning networks, and cross-chains, blockchain will also need to be deeply integrated with emerging information technologies such as 5G, artificial intelligence, big data, and the Internet of Things to enhance the Technical performance and off-chain data quality and reduce resource waste.
3. Smart contracts may be the most revolutionary application on the blockchain. If smart contracts are widely used on the blockchain, the economic division of labor will be further refined in the Internet era. Network nodes around the world will directly connect demand and production, and broader social collaboration will be realized.
If the above vision is realized, the combination of blockchain technology and industry is expected to usher in an explosive moment "from 1 to N". Its explosion may not be linear but non-linear. Blockchain Only then can the chain be upgraded from a "trust machine" to an important "engine" leading the industry wave.
Decentralization. Prevent cheating. It used to be that one person kept accounts and could make changes. Now there are 50 people. Each person records an entry and everyone has a record in the account book. Can you make changes to all 50? All 50 ledgers are valid unless they are all changed. So it's very useful.
I saw many people answering that ordinary people cannot understand intuitively. Let me explain simply and clearly, blockchain is decentralized. When something happens, everyone writes it down and has their own password, which cannot be tampered with.
Even if a hacker wants to change it, he has to do it one by one, which will tire him out. In fact, it is impossible, at least for now.
Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithms.
Blockchain originated from Bitcoin and is an important concept of Bitcoin. It is essentially a decentralized database. As the underlying technology of Bitcoin, it is a series of cryptographic methods. The associated data blocks are generated. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity of its information and generate the next block.
Blockchain has potentially huge application value in financial fields such as international exchange, letters of credit, equity registration and stock exchanges. The application of blockchain technology in the financial industry can eliminate the need for third-party intermediaries and achieve direct point-to-point connection, thereby greatly reducing costs and quickly completing transaction payments.
After reading so many expert advices, I am still confused. I only remember that someone used this so-called "blockchain" to do pyramid schemes in the past...
『四』 Do you know what the essence of blockchain is and what is the principle of Bitcoin?
It has been some time since blockchain has developed to this day. During this time, people’s understanding of blockchain has been increasing. Cognition undergoes rapid replacement.
The essence of blockchain is technology
Since we talk about the essence, what is the essence? The essence should be traced back continuously until it can no longer be traced back. Only then can what is obtained be called the essence. The essence of blockchain is a technology. Going back to the original starting point of the blockchain, when Bitcoin was first born, the problem it wanted to solve was the Byzantine Generals Problem. From a professional perspective, it meant how to achieve consistency in a distributed environment. . Blockchain technology is a combination of multiple technologies. It is naturally suitable for multi-party cooperation and can provide a trusted environment for multi-party cooperation.
Application of the non-tamperable characteristics of blockchain
Bitcoin’s technical principle P2P network
Bitcoin is a P2P computer Network, each network node stores all transaction records on the network. Generally speaking, any information can be recorded on one node plus several backups. All transaction records of the network are stored on each node, which results in the transaction records being visible to each node, and each node cannot independently modify the transaction records arbitrarily, thus forming a set of open and transparent transaction records.
『Wu』 Crazy blockchain, crazy mining machines
After the recent climax of Bitcoin’s rise, Ethereum’s performance followed. Ethereum’s over-the-counter transactions have now Over 10,000. And the mining craze triggered by the skyrocketing rise of these mainstream currencies has also reached its climax.
Recently, the market for Bitcoin mining machines and graphics card mining machines has also been extremely short of stock, and many miners have increased their prices to purchase but may not be able to buy mining machines. Now there is a price but no market.
Recently, a friend and the boss of the general agent of graphics cards in China are developing graphics card mining machines. I have built some graphics card mining machines with him before, and also hosted several Bitcoin mining machines with Jin Wei. machine. I have a little understanding of mining machines, and I just happened to calculate the cost performance and cost cycle of these two mining machines for my friends in the past two days. Let’s do an input-output analysis of these two mining machines.
The following is a calculation and comparison using the currently popular Antminer and MSI's RX 470 model 8-card graphics card mining machine as examples.
1. Basic concepts related to mining.
1. What is mining:
Mining is actually accounting through mathematical calculations, and uses a large number of encryption operations to ensure that the ledger will not be tampered with. Mining is the process of producing and issuing cryptocurrency, while using computing power and electricity expenses to ensure that the distributed ledger cannot be tampered with. It can be simply understood as the process of selling the computing power of our machines in exchange for corresponding digital currency returns.
2. What is a mining machine:
The Bitcoin mining machine and graphics card mining machine introduced in this article can be understood as a high-performance mining machine with multipleCPU chips and graphics cards for computers. Similarly, graphics card mining machines also require basic accessories such as CPU, memory, motherboard, hard drive and power supply.
3. What coins can be mined:
Antminer S9 mining machine mines Bitcoin; graphics card mining machine mines Ethereum (graphics card mining machine can mine Ethereum ETH, Ethereum Classic ETC , ZCash, Monero, etc. Here are only examples of Ethereum.)
2. Calculation of mining income
1. Ant S9 mining machine
/>
It is a Bitcoin mining machine with higher computing power and higher mass production currently on the market, but it is still hard to find. The spot price is 30,000 RMB in the market, and the official price is around 23,000; futures have to be arranged. to April and May.
Hashrate: 13.5TH/s
Power: 1350 watts
Mining machine price: 30000RMB
Electricity fee: 0.5 yuan/degree
The currency price on January 13 is 100,000RMB
The following is the result calculated using the mining website calculator:
Revenue and payback period :
Current daily revenue: 199
Daily electricity cost: 16.2
Daily net profit: 183
Number of days to pay back: 164 days (about 5.5 months)
Summary: The current cost of the Antminer S9 mining machine is 30,000, and the payback period is about 5.5 months. The machine does not have the function of maintaining value.
2. RX470 8-card graphics card mining machine
The same is true for current graphics card mining machines. Many graphics cards suitable for mining are also hard to find. Take the graphics card general agent as an example. In his own words, selling mining machines is not as profitable as mining by himself. He can't even get many mining machines, not to mention that the demand in the entire market is so high.
The configuration of the graphics card mining machine, taking the 470 8-card mining machine as an example:
Revenue and payback period:
The total computing power is 224M
Power 1600W
Mining machine price 29000RMB
Electricity fee 0.5 yuan/kilowatt
Price on January 13th 9500RMB
Revenue and payback period:
Current daily revenue: 280.9
Daily electricity bill: 19.2
Daily net profit: 261.7
Number of days to pay back: 110.8 days (about 3.7 months)
/>
Summary: Based on the cost of 29,000 for an 8-card 470 mining machine and the current currency price, the payback period is probably less than 4 months. And after one year, the graphics card can be sold at a depreciation price of at least 50%.
Actual pictures of the graphics card mining machine:
Summary of the payback period: Antminer S9 is 5.5 months; graphics card mining machine is 3.7 months, and the graphics card mining machine also has depreciation and value preservation .
The above is only based on a comparison of the current currency prices and mining machine prices of Bitcoin and Ethereum. Currently, there are uncertain risks in both buying coins and mining, but relatively speaking, mining The risk is lower than the risk of currency speculation, but the rate of return is relatively stable.
Mining still has certain risks. The price of mining machines and electricity costs are fixed investments, while the currency price is constantly fluctuating. The biggest risk is the drop in currency prices and the increase in computing power. If the currency price halves due to market reasons, or if the computing power gradually increases because more and more players participate, it will lead to a greatly extended personal income expectation or less and less income.
If you can buy a mining machine at a lower cost and mine with lower electricity costs, and recover the cost of the mining machine as soon as possible, you will be sure to make money later. Mining can also be understood as fixed investment. If there are coins that can be mined, they are all hoarding them and waiting for the ideal price to sell them to get a higher return on investment; if someone digs them up, they sell them and they are safe.
It is recommended that everyone invest appropriately within a controllable risk range, try a small amount first, and then gradually increase the number of machines to reasonably control risks. Investments are now considered risk-averse.
『Lu』 108 knowledge points for getting started with blockchain
1. What is blockchain
Put the information of multiple transactions and indicate the area The information of the block is packaged together, and the verified package is the block.
Each block stores the hash value of the previous block, creating a relationship between blocks, that is to say, a chain. Together they are called blockchain.
2. What is Bitcoin
The concept of Bitcoin was proposed by Satoshi Nakamoto in 2009, with a total number of 21 million. The Bitcoin chain generates a block approximately every 10 minutes, and this block is mined by miners for 10 minutes. As a reward to miners, a certain number of Bitcoins will be issued to miners, but this certain number is halved every four years. Now it's 12.5. If this continues, all Bitcoins will be available in 2040.
3. What is Ethereum
p>The biggest difference between Ethereum and Bitcoin is the smart contract. This allows developers to develop and run various applications on it.
4. Distributed ledger
It is a database that is shared, replicated and synchronized among network members. To put it bluntly, all users on the blockchain have accounting functions and the content is consistent, which ensures that the data cannot be tampered with.
5. What is quasi-anonymity?
I believe everyone has a wallet, and the wallet address (a string of characters) used to send transactions is quasi-anonymity.
6. What is open transparency/traceability
The blockchain stores all data from history to the present, anyone can view it, and can also view any data in history.
7. What is tamper-proof
Historical data and current transaction data cannot be tampered with. The data is stored in the block on the chain and has a hash value. If the block information is modified, its hash value will also change, and the hash values of all blocks following it must also be modified to form a new chain. At the same time, the main chain is still conducting transactions to generate blocks. The modified chain must always generate blocks synchronously with the main chain to ensure that the length of the chain is the same. The cost is too high, just to modify a piece of data.
8. What is anti-DDoS attack
DDoS: Hackers control many people’s computers or mobile phones and allow them to access a website at the same time. Since the bandwidth of the server is limited, a large amount of traffic The influx of data may cause the website to fail to function properly, resulting in losses. However, the blockchain is distributed and there is no central server. If one node fails, other nodes will not be affected. Theoretically, if more than 51% of the nodes are attacked, problems will occur.
9. Definition of main chain
Taking Bitcoin as an example, at a certain point in time, a block is mined by two miners at the same time, and then 6 blocks are generated first. The chain of blocks is the main chain
10. Single chain/multi-chain
Single chain refers to the data structure that handles everything on one chain. The core essence of the multi-chain structure is composed of public chain + N sub-chains. There is only one, but in theory there can be countless sub-chains, and each sub-chain can run one or more DAPP systems
11. Public chain/alliance chain/private chain
Public Chain: Everyone can participate in the blockchain
Alliance chain: Only alliance members are allowed to participate in accounting and query
Private chain: Writing and viewing permissions are only controlled by one person In the hands of the organization.
12. Consensus layersData layer, etc.
There are six overall structures of the blockchain: data layer, network layer, consensus layer, incentive layer, contract layer, and application layer. Data layer: a layer that records data, belonging to the underlying technology; network layer: a structure for building a blockchain network, which determines how users are organized. Consensus layer: Provides a set of rules to allow everyone to reach agreement on the information received and stored. Incentive layer: Design incentive policies to encourage users to participate in the blockchain ecosystem; Contract layer: Generally referred to as "smart contracts", it is a set of contract systems that can be automatically executed and written according to their own needs. Application layer: Applications on the blockchain, similar to mobile apps. Former Distributed Storage R&D Center
13. Timestamp
The timestamp refers to the time from January 1, 1970 Day 0 hours 0 minutes 0 seconds 0... The total number of seconds from the current time to now, or the total number of nanoseconds and other very large numbers. Each block is generated with a timestamp indicating when the block was generated.
14. Block/block header/block body
Block is the basic unit of blockchain, and block header and block body are components of blockchain. The information contained in the block header includes the hash of the previous block, the hash of this block, timestamp, etc. The block body is the detailed data in the block.
15. Merkle tree
Merkle tree, also called binary tree, is a data structure for storing data. The bottom layer is the original data contained in all blocks, and the upper layer is each The hash value of a block, the hash of this layer is combined in pairs to generate a new hash value, forming a new layer, and then upwards layer by layer, until a hash value is generated. Such a structure can be used to quickly compare large amounts of data, and you can quickly find the bottom-level historical data you want without downloading all the data.
16. What is expansion?
The size of a Bitcoin block is about 1M and can save 4,000 transaction records. Expansion means making the block larger so that more data can be stored.
17. What is a chain?
Each block will save the hash of the previous block, creating a relationship between the blocks. This relationship is a chain. Data such as block transaction records and status changes are stored through this chain.
18. Block height
This is not the height mentioned in terms of distance. It refers to the total number of blocks between the block and the first block on the chain. This height indicates which block it is, and is just for identification purposes.
19. Fork
Two blocks were generated at the same time (the transaction information in the block is the same, but the hash of the blockh values are different), then two chains will be forked from these two blocks. Whoever generates 6 blocks from these two links first will be the main chain, and the other chain will be discarded.
20. Ghost Protocol
Mining pools with high computing power can easily generate blocks faster than mining machines with low computing power, resulting in most of the blocks on the blockchain being generated by these mining pools with high computing power. However, the blocks generated by mining machines with low computing power are not stored on the chain because they are slow, and these blocks will be invalid.
The ghost protocol allows blocks that should be invalidated to remain on the chain for a short time, and can also be used as part of the proof of work
. In this way, miners with small computing power will contribute more to the main chain, and large mining pools will not be able to monopolize the confirmation of new blocks.
21. Orphan blocks
As mentioned before, orphan blocks are blocks generated at the same time. One of them forms a chain, and the other does not form a chain. Then this block that does not form a chain is called an orphan block.
22. Uncle block
The orphan block mentioned above, through the ghost protocol, makes it part of the proof of work, then it will not be discarded and will be saved in the main chain superior. This block is the next
23 replay attack
The hacker resends the message that has been sent to the server. Sometimes this can deceive the server into multiple responses.
24. Directed acyclic graph
Also called data set DAG (directed acyclic graph), DAG is an ideal multi-chain data structure. Most of the blockchains mentioned now are single chains, that is, one block is connected to another block, and DAG is multiple blocks connected. The advantage is that several blocks can be generated at the same time, so the network can process a large number of transactions at the same time, and the throughput will definitely increase. However, there are many shortcomings and it is currently in the research stage.
25. What is mining
The mining process is to perform a series of conversions, connections and hash operations on the above six fields, and continue to try them one by one. The random number you are looking for, and finally successfully find a random number that meets the conditions: the value after hashing is smaller than the hash value of the preset difficulty value, then the mining is successful, and the node can broadcast the area to neighboring nodes. block, neighboring nodes receive the block and perform the same operation on the above six fields to verify compliance, and then forward it to other nodes. Other nodes also use the same algorithm to verify. If there are 51% of nodes in the entire network If all verifications are successful, even if this block is truly "mined" successfully, each node will add this block to the end of the previous block, delete the list in the block that is the same as its own record, and resurrect again. the above process. Another thing to say is, regardless of whether the mining is successful or not, each node will pre-record the reward of 50 Bitcoins and the handling fees of all transactions (total input-total output) in the first item of the transaction list (this is the most fundamental of "mining" The purpose is also the fundamental reason to ensure the long-term stable operation of the blockchain), the output address is the address of this node, but if the mining is unsuccessful, the transaction will be invalidated without any reward. Moreover, this transaction called "production transaction" does not participate in the "mining" calculation.
26. Mining machines/mining farms
Mining machines are computers with various configurations, and computing power is the biggest difference between them. A place where mining machines are concentrated in one place is a mining farm
27. Mining pool
Miners join together to form a team, and the computer group under this team is a mining pool. Mining rewards are distributed based on your own computing power contribution.
28. Mining difficulty and computing power
Mining difficulty is to ensure that the interval between generating blocks is stable within a certain short time, such as Bitcoin’s 10 minutes.
p>Block 1. The computing power is the configuration of the mining machine.
29. Verification
When verification in the blockchain is a confirmation of the legality of the transaction, each node will verify the transaction once when the transaction message is propagated between nodes. Whether the transaction is legal. For example, verify whether the syntax of the transaction is correct, whether the transaction amount is greater than 0, whether the entered transaction amount is reasonable, etc. After passing the verification, it will be packaged and handed over to the miners for mining.
30. Transaction broadcast
The node sends information to other nodes through the network.
31. Mining fees
For the blockchain to work non-stop like a perpetual motion machine, miners need to maintain the system. Therefore, the miners must be given favorable fees to make it sustainable.
32. Transaction confirmation
When a transaction occurs, the block recording the transaction will be confirmed for the first time, and will be confirmed in every area on the chain after the block. Block is reconfirmed: When the number of confirmations reaches 6 or more, the transaction is generally considered safe and difficult to tamper with.
33. Double transaction
That is, I have 10 yuan, I use the 10 yuan to buy a pack of cigarettes, and then instantly use the 10 yuan that has not yet been paid. Bought another cup of coffee. So when verifying the transaction, you need to confirm whether the 10 yuan has been spent.
34. UTXO unspent transaction output
It is a data structure containing transaction data and execution code, which can be understood as digital currency that exists but has not yet been consumed.
35. Transactions per second TPS
p>That is throughput, tps refers to the number of transactions that the system can process per second.
36. Wallet
Similar to Alipay, it is used to store digital currencies, and blockchain technology is more secure.
37. Cold wallet/hot wallet
A cold wallet is an offline wallet. The principle is to store it locally and use QR code communication to prevent the private key from touching the Internet. A hot wallet is an online wallet. The principle is to encrypt the private key and store it on the server. When it is needed, it is downloaded from the server and decrypted on the browser side.
38. Software Wallet/Hardware Wallet
A software wallet is a computer program. Generally speaking, a software wallet is a program that interacts with the blockchain and allows users to receive, store, and send digital currencies and can store multiple keys. Hardware wallets are smart devices that specialize in handling digital currencies.
39. Airdrop
The project sends digital currency to each user’s wallet address.
40. Mapping
Mapping is related to the issuance of blockchain currency and is a mapping between chains. For example, there are some blockchain companies that have not completed the development of the chain in the early stage. They rely on Ethereum to issue their own currency. The issuance and transactions of the early currency are all operated on Ethereum. With the development of the company, the company's own chain development has been completed. The company wants to map all the previous information on Ethereum to its own chain. This process is mapping.
41. Position
Refers to the ratio of the investor’s actual investment to the actual investment funds
42. Full position
Buy with all funds Enter Bitcoin
43. Reduce the position
Sell some of the Bitcoins, but not all of them
44. Heavy positions
Compared with Bitcoin, Bitcoin accounts for a larger share of funds
45. Short position
Compared with Bitcoin, the share of funds is larger
46. Short position
Sell all the Bitcoins you hold and convert them all into funds
47. Stop loss
After obtaining a certain profit, sell the Bitcoin held to keep the profit
48. Stop loss
After losses reach a certain level, sell your Bitcoin holdings to prevent further losses
49. Bull market
Prices continue to rise and the outlook is optimistic
50.Bear market
Prices continue to fall and the outlook is bleak
51. Bull (long)
The buyer believes that the currency price will rise in the future, buys the currency, and waits for the currency After the price rises, sell at a high price to take profits
52. Short position (short selling)
The seller believes that the currency price will fall in the future, and sells the currency he holds (or transfers it to the trading platform Borrow currency) and sell, and after the currency price drops, buy at a low price to take profits
53. Open a position
Buy virtual currencies such as Bitcoin
54. Cover the position
Buy virtual currencies such as Bitcoin in batches, for example: buy 1 BTC first, then buy 1 BTC later
55. Full position
Buy all the funds into a certain virtual currency at once
56. Rebound
When the currency price falls, the price rebounds and adjusts because it falls too fast
57. Consolidation (sideways)
The price fluctuation is small and the currency price is stable
58. Falling
The currency price declines slowly
< p> 59. Diving (waterfall)The currency price fell rapidly and to a large extent
60. Cutting meat
After buying Bitcoin, the currency price fell. Sell Bitcoin at a loss to avoid further losses. Or after borrowing the currency to go short, the currency price rises, and you buy Bitcoin at a loss
61. Hold on
Expect the currency price to rise, but unexpectedly the currency price falls after buying; or expect the currency price fell, but unexpectedly, after selling, the currency price rose
62. Unwinding
After buying Bitcoin, the currency price fell, causing a temporary book loss, but then the currency price rebounded and the loss was reversed To make a profit
63. Going short
After selling Bitcoin because of the bearish market outlook, the price of the currency continued to rise, and I was unable to buy it in time, so I failed to make a profit
64. Overbought
The currency price continues to rise to a certain height, the buyer's power is basically exhausted, and the currency price is about to fall
65. Oversold
The currency price continues to fall to a certain low, the seller's power has basically been exhausted, and the currency price is about to rise
66. Lure bulls
The currency price has been consolidating for a long time, and it is more likely to fall. Most of the short sellers have sold Bitcoin, and suddenly the short sellers pulled up the price of the currency, inducing the long parties to think that the price of the currency will rise and buy one after another. As a result, the short sellers suppressed the price of the currency and locked up the long parties.
/p>
68. What is NFT
The full name of NFT is "Non-Fungible Tokens", which is non-fungible tokens. In simple terms, that is An indivisible copyright certificate on the blockchain, it is mainly used to confirm and transfer the rights of digital assets. The difference from digital currency is that it is unique and indivisible. In essence, it is a unique digital asset.
69. What is the Metaverse
The Metaverse is a collection of virtual time and space, consisting of a series of augmented reality (AR), virtual reality (VR) and the Internet (Internet) Composed of digital currency, which carries the function of value transfer in this world.
70. What is DeFi
DeFi, the full name is Decentralized Finance, which is "decentralized finance" or "distributed finance". "Decentralized finance", as opposed to traditional centralized finance, refers to various financial applications based on open decentralized networks. The goal is to establish a multi-level financial system based on blockchain technology and cryptocurrency. As a basis, re-create and improve the existing financial system
71. Who is Satoshi Nakamoto?
72. Bitcoin is different from Q Coin
Bitcoin is a decentralized digital asset with no issuing entity. Q Coin is an electronic currency issued by Tencent. It is similar to electronic points, but it is not actually a currency. Q Coin requires a centralized issuing institution. Q Coin can only be recognized and used because of the credit endorsement of Tencent. The scope of use is also limited to Tencent's games and services. The value of Q coins is entirely based on people's trust in Tencent.
Bitcoin is not issued through a centralized institution, but it is widely recognized around the world because Bitcoin can self-certify its trust. The issuance and circulation of Bitcoin are jointly accounted for by miners across the entire network, and are not A central authority is also needed to ensure that no one can tamper with the ledger.
73. What is a mining machine?
Taking Bitcoin as an example, a Bitcoin mining machine is a professional equipment that competes for accounting rights by running a large amount of calculations to obtain new Bitcoin rewards. It is generally composed of a mining chip, a heat sink and a fan, and only performs A single calculation program consumes a lot of power. Mining is actually a competition between miners for computing power. Miners with more computing power have a greater probability of mining Bitcoin. As the computing power of the entire network increases, it becomes increasingly difficult to mine bits using traditional equipment (CPU, GPU). People have developed specializedThe chip used for mining. The chip is the core part of the mining machine. The operation of the chip will generate a large amount of heat. In order to dissipate heat, Bitcoin mining machines are generally equipped with heat sinks and fans. Users download Bitcoin mining software on their computers, use the software to assign tasks to each mining machine, and then start mining. Each currency has a different algorithm and requires different mining machines.
74. What is quantitative trading?
Quantitative trading, sometimes also called automated trading, refers to the use of advanced mathematical models to replace human subjective judgments, which greatly reduces the impact of investor sentiment fluctuations and avoids extreme fanaticism or pessimism in the market. make irrational investment decisions. There are many types of quantitative trading, including cross-platform trading, trend trading, hedging, etc. Cross-platform trading means that when the price difference between different target platforms reaches a certain amount, sell on the platform with a higher price and buy on the platform with a lower price.
75. Blockchain asset over-the-counter trading
Over-the-counter trading is also called OTC trading. Users need to find their own counterparties and do not need to match the transaction. The transaction price is determined by negotiation between the two parties. The two parties can fully communicate through face-to-face negotiation or telephone communication.
76. What is a timestamp?
The blockchain ensures that each block is connected sequentially through timestamps. Timestamps enable every piece of data on the blockchain to have a time stamp. Simply put, timestamps prove when something happened on the blockchain and cannot be tampered with by anyone.
77. What is a blockchain fork?
Upgrading software in a centralized system is very simple, just click "Upgrade" in the app store. However, in decentralized systems such as blockchain, "upgrading" is not that simple, and a disagreement may even cause a blockchain fork. Simply put, a fork refers to a disagreement when the blockchain is "upgraded", resulting in a fork in the blockchain. Because there is no centralized organization, every code upgrade of digital assets such as Bitcoin needs to be unanimously recognized by the Bitcoin community. If the Bitcoin community cannot reach an agreement, the blockchain is likely to form a fork.
78. Soft fork and hard fork
Hard fork means that when the Bitcoin code changes, the old nodes refuse to accept the blocks created by the new nodes. Blocks that do not comply with the original rules will be ignored, and miners will follow the original rules and create new blocks after the last block they verified. A soft fork means that old nodes are not aware of the changes to the Bitcoin code and continue to accept blocks created by new nodes. Miners may work on blocks they have no understanding of, or validation of. Both soft forks and hard forks are "backwards compatible" to ensure that new nodes can verify the blockchain from scratch. Backwards compatibility means that new software accepts data or code generated by old software. For example, Windows 10 canto run Windows XP applications. Soft forks can also be "forward compatible".
79. Classification and application of blockchain projects
Judging from the current mainstream blockchain projects, blockchain projects mainly fall into four categories: Category 1: Currency; The second category: platform category; the third category: application category; the fourth category: asset tokenization.
80. USDT against the US dollar
USDT is Tether USD, a token launched by Tether that is against the US dollar (USD). 1USDT=1 US dollar, users can use USDT and USD for 1:1 exchange at any time. Tether implements a 1:1 reserve guarantee system, that is, each USDT token will have a reserve guarantee of 1 US dollar, which supports the stability of the USDT price. The unit price of a certain digital asset is USDT, which is equivalent to its unit price in US dollars (USD).
81. Altcoins and alternative coins
Altcoins refer to blockchain assets that use the Bitcoin code as a template and make some modifications to its underlying technology blockchain, among which Those with technological innovations or improvements are also called alternative coins. Because the Bitcoin code is open source, the cost of plagiarism in Bitcoin is very low. You can even generate a brand new blockchain by simply copying the Bitcoin code and modifying some parameters.
82. Three major exchanges
Binance: https://accounts.binancezh.ac/zh-CN
Okex: https://www .ouyi.top/
Huobi: https://www.huobi.af/zh-cn
83. Market software
Mytoken: http: //www.mytoken.com/
Non-small account: https://www.feixiaohao.co/
84. Information website
Babbitt: https://www.8btc.cn
Golden Finance: http://www.jinse.com/
Coin World News: http://www.bishijie.com < /p>
85. Blockchain Explorer
BTC: https://btc.com/
ETH: https://etherscan.io/
BCH: https://blockchair.com/bitcoin-cash/blocks
LTC: http://www.qukuai.com/search/ltc
ETC: https://gastracker.io/
p>86. Wallet
Imtoken: https://imatoken.net/
Bitpie: https://bitpie.com/
87. Decentralized exchange
uniswap: https://uniswap.org
88. NFT exchange
Opensea: https://opensea.io
Super Rare: https://superrare.com/
89. Ladder
Bring your own, Buy reliable ladder
90. Platform currency
Digital currency issued by the platform, used to deduct handling fees, transactions, etc.
91. Bull market, bear market< /p>
Bull market: rising market
Bear market: falling market
92. Blockchain 1.0
A currency trading system based on distributed ledgers, Represented by Bitcoin
93. Blockchain 2.0
The contract blockchain technology represented by Ethereum (smart contract) is 2.0
94. District Blockchain 3.0
In the era of intelligent Internet of Things, it goes beyond the financial field and provides decentralized solutions for various industries
95. Smart Contracts
Smart contracts, Smart Contract is a computer protocol designed to disseminate, verify or execute contracts in an information-based manner. Simply put, an electronic contract is set in advance and once confirmed by both parties, the contract is automatically executed.
96. What is a token?
The token economy is an economic system with Token as the only reference standard, which is equivalent to a pass. If you own Token, you have rights and interests, and you have the right to speak.
Big data is the means of production, AI is the new productivity, and blockchain is the new life.production relations. Big data refers to a collection of data that cannot be captured, managed and processed within a certain time range using conventional software tools. It is a massive, high-growth and high-volume data set that requires new processing models to have stronger decision-making power, insight discovery and process optimization capabilities. Diverse information assets. Simply understood, big data is massive data accumulated over a long period of time and cannot be obtained in the short term. Blockchain can be used as a way to obtain big data, but it cannot replace big data. Big data is only used as a medium running in the blockchain and has no absolute technical performance, so the two cannot be confused. (A simple understanding of production relations is labor exchange and consumption relations. The core lies in productivity, and the core of productivity lies in production tools)
ICO, Initial Coin Offering, initial public token issuance, is the first step in the blockchain digital currency industry. Crowdfunding. It is the most popular topic and investment trend in 2017, and the country launched a regulatory plan on September 4. Speaking of ICO, people will think of IPO, and the two are fundamentally different.
99. Five characteristics of digital currency
The first characteristic: decentralization
The second characteristic: having open source code
The third feature: independent electronic wallet
The fourth feature: constant issuance
The fifth feature: global circulation
100. What is decentralization?
It has no issuer, does not belong to any institution or country, and is a publicly issued currency designed, developed and stored on the Internet by Internet network experts.
100. What is measurement (scarcity)?
Once the total amount of issuance is set, it is permanently fixed, cannot be changed, cannot be over-issued at will, and is subject to global Internet supervision. Because the difficulty of mining and mining changes over time, the longer the time, the greater the difficulty of mining, and the fewer coins are mined, so it is scarce.
101. What is open source code?
The alphanumeric code is stored on the Internet. Anyone can find out the source code of its design, everyone can participate, can mine it, and it is open to the world.
102. What is anonymous transaction? Private wallet private?
Everyone can register and download the wallet online without real-name authentication. It is completely composed of encrypted digital codes. It can be sent and traded globally in real-time point-to-point without resorting to banks or any institutions. It cannot be traced by anyone without my authorization. ,Inquire.
A contract transaction refers to an agreement between a buyer and seller to receive a certain amount of an asset at a specified price at a certain time in the future. The trading objects of contract transactions are controlled by the exchangeOnce a standardized contract is formulated, the exchange stipulates standardized information such as commodity type, trading time, quantity, etc. A contract represents the rights and obligations of the buyer and seller.
105. Digital Currency Industry Chain
Chip manufacturers, mining machine manufacturers, and mining machine agents mine and export to exchanges for retail investors to speculate in coins< /p>
106. Who is Erben?
Erben: Digital Currency Value Investor
Investment style: Steady
Building a community: Erben’s Miscellaneous Talks (High Quality Price Investment Community)
p>
107. Two investment strategies
Combining long and short term, focusing on price investment, no touching contracts, no short-term play
Reasonable layout, scientific operation, prudent and conservative, making periodic money
108. Two books?
Welcome currency friends and seek common development
『撒』 What is blockchain
Blockchain is distributed data storage, point-to-point transmission, and consensus mechanism , encryption algorithms and other new application models of computer technology. Blockchain is an important concept of Bitcoin.
It is essentially a decentralized database. As the underlying technology of Bitcoin, it is a series of data blocks generated using cryptographic methods. Each data block contains a batch of The information of Bitcoin network transactions is used to verify the validity of its information (anti-counterfeiting) and generate the next block.
(7) The blockchain ensures that the mining program is not tampered with. Extended reading
Characteristics of the blockchain:
1 , Certificate storage
The "non-tamperable" characteristics of the blockchain provide a solution to the "Certificate storage" problem in economic and social development. As long as the authenticity of the on-chain information and data can be ensured, the blockchain can solve the problem of "storage" and "certification" of information.
For example, in the field of copyright, blockchain can be used to store electronic evidence, which can ensure that it is not tampered with, and can link original platforms, copyright bureaus, judicial agencies and other parties through distributed ledgers, which can greatly Improve the efficiency of handling infringements.
2. Sharing
The "distributed" characteristics of the blockchain can break through the "data barriers" between departments and achieve information and data sharing. Different from centralized data storage, the information on the blockchain will be distributed to each node through point-to-point broadcasting, and all information can be "truthfully recorded" through "whole network witness".
『8』 The principle of global mining of Biku is
China Report Network reminds: Bitcoin “mining”"Introduction to the principle The main principle of Bitcoin and the blockchain technology behind it is&
Introduction to the principle of Bitcoin "mining"
The main principle of Bitcoin and the blockchain technology behind it is
Establish a global distributed ledger. Each node participating in account verification and packaging can query the stored transaction details that have occurred since the creation to ensure that a sum of money in any account will not be spent twice. Each time Transactions that occur within 10 minutes are grouped into a package and become a "block", using cryptographic signature technology. The latter block uses the signature information of the previous block to sign itself, forming a signature "chain". Such a "blockchain" "It can ensure that account and transaction information are not tampered with. (red circle)
Refer to the "China Mining Steel Market Development Analysis and Investment Value Assessment Report" released by Guanyan Tianxia
There are unconfirmed transactions at all times is broadcast to the entire network, and then all nodes (Bitcoin miners) willing to participate in verifying transactions will select some unconfirmed transactions to verify against the historical blockchain every 10 minutes and package them into a "block", but not all Bitcoins The blocks packaged by miners are all valid blocks, but they then need to participate in an arithmetic competition with increasing difficulty. Only the winner's results can be recognized by the entire network and receive rewards (newly issued Bitcoins) (green circle). At the same time, when multiple people win, it is necessary to use the voting mechanism to retain only the results produced by one miner and invalidate the confirmations of others.
Every moment, unconfirmed transactions are broadcast to the entire network, and then all those who are willing to participate in verifying the transactions Every 10 minutes, nodes (Bitcoin miners) will select some unconfirmed transactions to verify against the historical blockchain and package them into a "block", but not all blocks packaged by Bitcoin miners are valid blocks. Next, you need to participate in an arithmetic competition with increasing difficulty. Only the winner's result can be recognized by the entire network and receive rewards (newly issued Bitcoins) (green circle). When multiple people win at the same time, they still need to go through the voting mechanism. Keep the results produced by one miner and invalidate the confirmations of others.
『玖』 Blockchain technology
Background: After the birth of Bitcoin, I discovered that the technology was very advanced. Blockchain technology. Bitcoin and blockchain technology were discovered at the same time.
1.1 The purpose of the birth of Bitcoin:
① There are records of currency transactions, that is, ledgers;
② Disadvantages of centralized institution accounting - tamper-proof; easy to overwrite
Bitcoin solves the first problem: anti-tampering - hash function
1.2 hash function (Encryption method)
① Function: Convert a string of any length into a fixed-length (sha256) output. The output is also called a hash value.
② Features: Very It is difficult to find two different x and y such that h(x)=h(y).
③Application: md5 file encryption
1.3 Blockchain
①Definition
Block: Split the general ledger into block storage
< p> Blockchain: On each block, add a block header. It records the hash value of the parent block. By storing the hash value of the parent block in each block, all blocks are connected in order to form a blockchain.②How does the blockchain prevent transaction records from being tampered with?
After the blockchain is formed, tampering with any transaction will cause the hash value of the transaction block to be different from that of its sub-blocks. , tampering was discovered.
Even if you continue to tamper with the hash value in the sub-block header, the hash value in the sub-block will be different from that in the grandchild block, and the tampering will be discovered.
1.4 The essence of blockchain
①The essence of Bitcoin and blockchain: a big ledger visible to everyone, only recording transactions .
②Core technology: Through cryptographic hash function + data structure, it ensures that the ledger records cannot be tampered with.
③Core function: Create trust. Fiat currency relies on government credibility, and Bitcoin relies on technology.
1.5 How to trade
① To conduct transactions, you need an account number and password, corresponding to the public key and private key
Private key: a string of 256-bit binary numbers , no application is required to obtain it, and you don’t even need a computer. You can generate the private key by tossing a coin 256 times.
The address is converted from the private key. The address cannot reverse the private key.
The address is the identity, which represents the ID in the Bitcoin world.
After an address is generated, it can only be known by everyone if it enters the blockchain ledger.
②Digital signature technology
Signature function sign (Zhang San’s private key, transfer information: Zhang San transfers 10 yuan to Li Si) = signature of this transfer
< p> Verify Korean verify (Zhang San’s address, transfer information: Zhang San transfers 10 yuan to Li Si, signature of this transfer) = TrueZhang San uses his own signature function sign() The private key signs this transaction.
Anyone can verify whether the signature was issued by Zhang San himself who holds Zhang San's private key by verifying the Korean vertify(). It returns true, otherwise it returns false.
sign() and verify() are cryptographically guaranteed not to be cracked. ·
③Complete the transaction
Zhang San will provide the transfer information and signature in the entire networkdepartment. Under the premise that the account has a balance, after verifying that the signature is true, it will be recorded in the blockchain ledger. Once recorded, Zhang San's account will be reduced by 10 yuan, and Li Si's account will be increased by 10 yuan.
Supports one-to-one, one-to-many, many-to-one, and many-to-many transactions.
In the Bitcoin world, private keys are everything! ! !
1.6 Centralized Accounting
① Advantages of Centralized Accounting:
a. No matter which center keeps accounts, don’t worry too much
< p> b. Centralized accounting, high efficiency②Disadvantages of centralized accounting:
a Denial of service attack
b Stop service after getting tired
p>c Central institutions are vulnerable to attacks. For example, destroying servers and networks, committing self-intrusion, legal termination, government intervention, etc.
All attempts at confidential currencies with centralized institutions in history have failed.
Bitcoin solves the second problem: how to decentralize
1.7 Decentralized accounting
①Decentralization: Everyone can keep accounts. Everyone can keep a complete ledger.
Anyone can download open source programs, participate in the P2P network, monitor transactions sent around the world, become an accounting node, and participate in accounting.
② Decentralized accounting process
After someone initiates a transaction, it is broadcast to the entire network.
Each accounting node continues to monitor and continue transactions across the entire network. When a new transaction is received and the accuracy is verified, it is put into the transaction pool and continues to be propagated to other nodes.
Due to network propagation, the transactions of different accounting nodes at the same time are not necessarily the same.
Every 10 minutes, one person is selected from all accounting nodes in a certain way, and his transaction pool is used as the next block and broadcast to the entire network.
Other nodes delete the transactions that have been recorded in their own transaction pool based on the transactions in the latest block, continue accounting, and wait for the next selection.
③ Features of decentralized accounting
A block is generated every 10 minutes, but not all transactions within these 10 minutes can be recorded.
The accounting node that obtains the accounting rights will be rewarded with 50 Bitcoins. After every 210,000 blocks (approximately 4 years), the reward is halved. The total amount is about 21 million, and it is expected to be mined in 2040.
Recording the reward of a block is alsoThe only way to issue Bitcoin.
④ How to allocate accounting rights: POW (proof of work) method
Compete for accounting rights by calculating mathematical problems on several accounting points.
Find a random number that makes the following inequality true:
There is no other solution except traversing the random numbers starting from 0 and trying your luck. The process of solving the problem is also called mining.
Whoever solves the problem correctly first will get the accounting rights.
If a certain accounting node finds the solution first, it will announce it to the entire network. After other nodes verify that it is correct, a new round of calculation will start again after the new block. This method is called POW.
⑤ Difficulty adjustment
The generation time of each block is not exactly 10 minutes
As Bitcoin develops, the computing power of the entire network does not increase.
In order to cope with changes in computing power, the difficulty will be increased or decreased every 2016 blocks (about 2 weeks), so that the average time for each block to be generated is 10 minutes.
#欧易OKEx# #BTC[超话]# #digital currency#