Position: Home page » Blockchain » Will the account book of blockchain become bigger and bigger
Will the account book of blockchain become bigger and bigger
Publish: 2021-05-16 06:39:32
1. However, after the emergence of the computer and Internet, the status of paper is no longer unshakable
ten years ago, my article was written on a black notebook. Now, all the words in my mind are entered into notebook, becoming 0 and 1, which is the change
from the present point of view, the disadvantages of paper are too obvious:
not environmentally friendly
not easy to save
for paper, long-distance transmission is very troublesome (such as information transmission)
the cost is high
easy to modify and forge
when there is a better choice in front of me, if I don't use it, isn't it a loss for me
have you ever thought that one day we won't need paper for our money
you may say:
"yes, I use Alipay and online banking every day, and no paper is used. Is this not achieved?"
indeed, Alipay's payment system is to digitize paper currency and store it in a huge database, but after all, it still needs paper money. The central bank does not print banknotes. The figures in the bank database are not too outrageous. Do you say yes or no?
can we say that the amount of money in the bank account book is the amount of cash? Of course not, because of the existence of bank loans, credit cards and other procts, the number in the bank database will only be much larger than the amount of cash, and this account book is not open, and the specific data deviation is only known to a few people
is there any payment system that does not rely on paper money, has high transparency, and no one can tamper with it
not to mention, it's really possible. Why is it possible? It's just a relatively mature experiment (with a market value of US $5 billion). In 2007, Satoshi Nakamoto, an anonymous big God or organization, began to conceive a magic project. After more than a year of careful elaboration, Nakamoto completed the white paper of the project (bitcoin: a peer-to-peer electronic cash system, Chinese Name: bitcoin: a peer-to-peer electronic cash system), In early 2009, the project was successfully launched
for the explanation of the principle of the system, I don't want to be a teacher here. For those who are interested, please refer to the information of the college channel or library. It's a very good place for you to understand these things
we just need to know that this e-cash system has nothing to do with paper. It is very transparent. Everyone can access and query this payment account book, and everyone can really control their own bookkeeping rights, that is, bitcoin token. As long as the Internet exists, someone is maintaining this account book (using mining machine operation), Then this kind of payment system can exist forever
well, you say it so well, this kind of system should be very popular, right? Of course not, because it is still in the experimental stage, there are still many defects in this kind of account book. For example, its token value fluctuates greatly, which is not suitable for pricing goods for the time being. For example, it has the problem of scalability. Maybe 100000 people use this system every day, and 10 million people use it to block and collapse. For example, it needs a lot of learning costs, People who don't have relevant knowledge are easy to lose money and so on. In short, there are a lot of problems
can we solve so many problems? Theoretically, it's very possible, because it's open source. Open source means that everyone can review and participate in improvement
of course, it's not to deceive you into buying bitcoin. This is not the purpose of my writing. Talking about bitcoin is just to introce a kind of technology, or an idea. What is it? In other words, blockchain (Chinese name is blockchain) is too popular now. Maybe you don't feel much about it at home. In foreign financial circles, it's no exaggeration to say that this word is the same as Dabao's advertising words
nowadays, foreign companies talk about "blockchain has the potential to subvert xxoo", which is like a common occurrence. Every once in a while, some giant set up a blockchain laboratory, and even the chief economist of the Bank of England raised the possibility of issuing national digital currency based on blockchain
we can't help asking, what is the basis of blockchain? What magic is driving or "deceiving" these institutions to lose their position for such a rising concept
blockchain originated from bitcoin. At present, the most successful blockchain is also bitcoin's blockchain. The reason why blockchain makes people reverie is that it has the characteristics of high transparency, unchangeable and no middleman
suppose I brainstorm and apply these features of blockchain to various applications in other instries, will it proce disruptive effects? Well, it's like now you have a new drug, which can cure all kinds of diseases in theory. Does that mean it's really suitable for treatment? You have to try, because you don't know the side effects! Now the blockchain is in such a stage. It seems to be able to cure all kinds of instries, but in fact it is only in the theoretical stage
when it comes to theory, I have to talk about it
first of all, what is the biggest difference between paper ledger and blockchain ledger
the former accounts by people, while the latter accounts by computer. Because people are too "smart", so bookkeeping is easy to be unexpected, and the efficiency is also very low, but computers are different, computers are "stupid", it is to act according to instructions, and the efficiency will be very high, there is also scalability. Ordinary database is a proct between paper account book and blockchain account book. It can save the system's partial dependence on human beings, but there are also problems in ordinary database. For example, it has access rights, such as the pension you pay. Can you know where they are going
therefore, companies, institutions or indivials with some ideas have gone to study blockchain technology.
ten years ago, my article was written on a black notebook. Now, all the words in my mind are entered into notebook, becoming 0 and 1, which is the change
from the present point of view, the disadvantages of paper are too obvious:
not environmentally friendly
not easy to save
for paper, long-distance transmission is very troublesome (such as information transmission)
the cost is high
easy to modify and forge
when there is a better choice in front of me, if I don't use it, isn't it a loss for me
have you ever thought that one day we won't need paper for our money
you may say:
"yes, I use Alipay and online banking every day, and no paper is used. Is this not achieved?"
indeed, Alipay's payment system is to digitize paper currency and store it in a huge database, but after all, it still needs paper money. The central bank does not print banknotes. The figures in the bank database are not too outrageous. Do you say yes or no?
can we say that the amount of money in the bank account book is the amount of cash? Of course not, because of the existence of bank loans, credit cards and other procts, the number in the bank database will only be much larger than the amount of cash, and this account book is not open, and the specific data deviation is only known to a few people
is there any payment system that does not rely on paper money, has high transparency, and no one can tamper with it
not to mention, it's really possible. Why is it possible? It's just a relatively mature experiment (with a market value of US $5 billion). In 2007, Satoshi Nakamoto, an anonymous big God or organization, began to conceive a magic project. After more than a year of careful elaboration, Nakamoto completed the white paper of the project (bitcoin: a peer-to-peer electronic cash system, Chinese Name: bitcoin: a peer-to-peer electronic cash system), In early 2009, the project was successfully launched
for the explanation of the principle of the system, I don't want to be a teacher here. For those who are interested, please refer to the information of the college channel or library. It's a very good place for you to understand these things
we just need to know that this e-cash system has nothing to do with paper. It is very transparent. Everyone can access and query this payment account book, and everyone can really control their own bookkeeping rights, that is, bitcoin token. As long as the Internet exists, someone is maintaining this account book (using mining machine operation), Then this kind of payment system can exist forever
well, you say it so well, this kind of system should be very popular, right? Of course not, because it is still in the experimental stage, there are still many defects in this kind of account book. For example, its token value fluctuates greatly, which is not suitable for pricing goods for the time being. For example, it has the problem of scalability. Maybe 100000 people use this system every day, and 10 million people use it to block and collapse. For example, it needs a lot of learning costs, People who don't have relevant knowledge are easy to lose money and so on. In short, there are a lot of problems
can we solve so many problems? Theoretically, it's very possible, because it's open source. Open source means that everyone can review and participate in improvement
of course, it's not to deceive you into buying bitcoin. This is not the purpose of my writing. Talking about bitcoin is just to introce a kind of technology, or an idea. What is it? In other words, blockchain (Chinese name is blockchain) is too popular now. Maybe you don't feel much about it at home. In foreign financial circles, it's no exaggeration to say that this word is the same as Dabao's advertising words
nowadays, foreign companies talk about "blockchain has the potential to subvert xxoo", which is like a common occurrence. Every once in a while, some giant set up a blockchain laboratory, and even the chief economist of the Bank of England raised the possibility of issuing national digital currency based on blockchain
we can't help asking, what is the basis of blockchain? What magic is driving or "deceiving" these institutions to lose their position for such a rising concept
blockchain originated from bitcoin. At present, the most successful blockchain is also bitcoin's blockchain. The reason why blockchain makes people reverie is that it has the characteristics of high transparency, unchangeable and no middleman
suppose I brainstorm and apply these features of blockchain to various applications in other instries, will it proce disruptive effects? Well, it's like now you have a new drug, which can cure all kinds of diseases in theory. Does that mean it's really suitable for treatment? You have to try, because you don't know the side effects! Now the blockchain is in such a stage. It seems to be able to cure all kinds of instries, but in fact it is only in the theoretical stage
when it comes to theory, I have to talk about it
first of all, what is the biggest difference between paper ledger and blockchain ledger
the former accounts by people, while the latter accounts by computer. Because people are too "smart", so bookkeeping is easy to be unexpected, and the efficiency is also very low, but computers are different, computers are "stupid", it is to act according to instructions, and the efficiency will be very high, there is also scalability. Ordinary database is a proct between paper account book and blockchain account book. It can save the system's partial dependence on human beings, but there are also problems in ordinary database. For example, it has access rights, such as the pension you pay. Can you know where they are going
therefore, companies, institutions or indivials with some ideas have gone to study blockchain technology.
2. const SHA256 = require(crypto-js/SHA256);< br />class Block{
constructor(index,timestamp,data,previousHash=' 39;)< br />{
this.index=index;< br />this.timestamp=timestamp;< br />this.data=data;< br />this.previousHash=previousHash;< br />$this.hash=this.calculateHash();< br />}
calculateHash(){
return SHA256(this,index+this.previousHash+this.timestamp+JSON.stringify(this.data)).tostring();< br />}
}
class Blockchain{
constructor(){
this.chain=[this.createGenesisBlock()];<
}
/ / create a generated information block
creategenesis block() {
return new block (0, & quot; 01/01/2019",& quot; Genesis block", 0);
/ / the date is the user's data. In fact, it is the hash value obtained by adding several values together. Here, the information is encrypted and the picture is encrypted. Then the data is still stored in the database, but all the data are hash values. To get this data, you must know the hash value of the previous data block. Then, if the hacker needs to crack all the nodes, the hash value is decrypted, Then all the blocks from the first node to the last node can be decrypted to get the real data. So the security of data stored in the blockchain depends on whether the data is encrypted. If the plaintext is not encrypted, then it is not a blockchain
}
/ / get the last block
getlatesblock() {
return this.chain [this.chain. Length-1]
}
/ / create block
addblock (newblock) {
newblock. Previoushash = this. Getlatesblock(). Hash< br />newBlock.hash=newBlock.calculateHash();< br />this.chain.push(newBlock);< br />}
}
constructor(index,timestamp,data,previousHash=' 39;)< br />{
this.index=index;< br />this.timestamp=timestamp;< br />this.data=data;< br />this.previousHash=previousHash;< br />$this.hash=this.calculateHash();< br />}
calculateHash(){
return SHA256(this,index+this.previousHash+this.timestamp+JSON.stringify(this.data)).tostring();< br />}
}
class Blockchain{
constructor(){
this.chain=[this.createGenesisBlock()];<
}
/ / create a generated information block
creategenesis block() {
return new block (0, & quot; 01/01/2019",& quot; Genesis block", 0);
/ / the date is the user's data. In fact, it is the hash value obtained by adding several values together. Here, the information is encrypted and the picture is encrypted. Then the data is still stored in the database, but all the data are hash values. To get this data, you must know the hash value of the previous data block. Then, if the hacker needs to crack all the nodes, the hash value is decrypted, Then all the blocks from the first node to the last node can be decrypted to get the real data. So the security of data stored in the blockchain depends on whether the data is encrypted. If the plaintext is not encrypted, then it is not a blockchain
}
/ / get the last block
getlatesblock() {
return this.chain [this.chain. Length-1]
}
/ / create block
addblock (newblock) {
newblock. Previoushash = this. Getlatesblock(). Hash< br />newBlock.hash=newBlock.calculateHash();< br />this.chain.push(newBlock);< br />}
}
3. The information of each block in the blockchain is different, and the generation time and recorded data of each block are different. You can regard the blockchain as a bookkeeping book. Every once in a while, someone will write all the transaction information on the blockchain network to one page of the ledger, page by page, and record all the transactions on the blockchain network in turn according to the time
on the other hand, all nodes (computers in short) participating in the network will store one account book, which is updated in real time. Even if one node fails, the blockchain will not be affected.
on the other hand, all nodes (computers in short) participating in the network will store one account book, which is updated in real time. Even if one node fails, the blockchain will not be affected.
4. Yes, but the hardware is constantly updated, so basically don't worry. A transaction only takes about 100 bytes, or 100 kb.
5. It depends on the project. Take bitcoin as an example. Now the account book that records all the information of bitcoin network may reach 220g.
6. Blockchain is a technical solution to collectively maintain a reliable database through centralization and distrust. This technical solution allows any number of nodes in the participating system to calculate and record all the information exchange data in the system in a period of time to a data block through cryptography algorithm, and generate the fingerprint of the data block for linking the next data block and checking. All participating nodes in the system jointly determine whether the record is true
blockchain can improve the way of data recording in audit. In the current network audit, although there is an early warning mechanism, it still needs auditors to judge and handle the abnormal records manually; Blockchain can automatically process the abnormal records through whether each node verifies and approves the block and the transaction information in it, whether the network node is attacked, and whether the account book of each node is complete, so as to make real-time audit possible. Auditors can directly access and query the effective information on the blockchain, judge whether the processing is reasonable and make corrections. In the blockchain, timestamps are used to record various transactions and operations, which can achieve historical traceability and tracking, and greatly improve the quality and efficiency of audit
blockchain can change the storage mode of audit data. In traditional audit, data are stored in an audit center server, which not only has the problems of high load and slow running speed, but also is vulnerable to attack; The blockchain audit system is a typical distributed storage, each node has the same backup, which can not only save the high cost and maintenance costs of the server, but also ensure the integrity of the data
semi public private chain can be used for audit. Blockchain can be divided into three forms: public chain, semi open private chain and full private chain. Considering the characteristics of audit instry, it is appropriate to adopt semi open private chain mode. For the audited units and enterprises, some trade secret information is not disclosed, but the pre selected nodes within the group decide the generation of the block. External suppliers can participate in the transaction but not the accounting process. Externally, it provides a third-party query node to query through the open API. In this way, it can not only ensure the internal privacy of the enterprise, but also enable the external auditors to implement real-time audit query.
blockchain can improve the way of data recording in audit. In the current network audit, although there is an early warning mechanism, it still needs auditors to judge and handle the abnormal records manually; Blockchain can automatically process the abnormal records through whether each node verifies and approves the block and the transaction information in it, whether the network node is attacked, and whether the account book of each node is complete, so as to make real-time audit possible. Auditors can directly access and query the effective information on the blockchain, judge whether the processing is reasonable and make corrections. In the blockchain, timestamps are used to record various transactions and operations, which can achieve historical traceability and tracking, and greatly improve the quality and efficiency of audit
blockchain can change the storage mode of audit data. In traditional audit, data are stored in an audit center server, which not only has the problems of high load and slow running speed, but also is vulnerable to attack; The blockchain audit system is a typical distributed storage, each node has the same backup, which can not only save the high cost and maintenance costs of the server, but also ensure the integrity of the data
semi public private chain can be used for audit. Blockchain can be divided into three forms: public chain, semi open private chain and full private chain. Considering the characteristics of audit instry, it is appropriate to adopt semi open private chain mode. For the audited units and enterprises, some trade secret information is not disclosed, but the pre selected nodes within the group decide the generation of the block. External suppliers can participate in the transaction but not the accounting process. Externally, it provides a third-party query node to query through the open API. In this way, it can not only ensure the internal privacy of the enterprise, but also enable the external auditors to implement real-time audit query.
7. Blockchain is a decentralized distributed record book and a credit data system. Its advantages are obvious
1. What the Internet changes is the acquisition and transmission of information, while what blockchain does is the transmission of value
for example, on the Internet, we can easily and quickly generate information and it to any place. All information can be spread efficiently, but some valuable information that can only be transferred but cannot be shared often needs credit endorsement
for example, we can't the payment directly to the other party, but we need to subtract some money from the payment account and add some money to the collection account to complete the payment process. The current Internet protocol does not support the function of value transfer. The current value transfer is not direct transmission. Instead, it is endorsed by a centralized third party, such as Alipay, such as banks.
now these centralized organizations put all the calculation of value transfer in a centralized server, which will certainly involve the participation of people, which will cause many problems, such as some "finite theory" and "opportunistic behavior", which will make the whole behavior less credible. So there is a basic question, how to reach a credit consensus
this is how blockchain technology came into being. It can be said that blockchain can build a pure point-to-point value transfer system. Without the mutual trust of each node, blockchain can ensure the integrity and security of data records in the system, and can be separated from the endorsement of third-party organizations, effectively recing the complexity and risk of transactions
2. It is open and transparent, and can not be tampered with
all data of the blockchain can not be tampered with or deleted, and the information of the whole system is open and transparent. If someone owes you a sum of money, and now the data has been put on the blockchain, if he doesn't want to return it to you and play a rogue with you, you can go to the court to protect your rights through the data forensics on the blockchain, so as to get back your legitimate funds. Because the data on the blockchain is open to the whole network, the users of the whole network will know his rogue behavior, which will greatly increase his credit cost. Dishonesty will make him have an important impact in the next life.
1. What the Internet changes is the acquisition and transmission of information, while what blockchain does is the transmission of value
for example, on the Internet, we can easily and quickly generate information and it to any place. All information can be spread efficiently, but some valuable information that can only be transferred but cannot be shared often needs credit endorsement
for example, we can't the payment directly to the other party, but we need to subtract some money from the payment account and add some money to the collection account to complete the payment process. The current Internet protocol does not support the function of value transfer. The current value transfer is not direct transmission. Instead, it is endorsed by a centralized third party, such as Alipay, such as banks.
now these centralized organizations put all the calculation of value transfer in a centralized server, which will certainly involve the participation of people, which will cause many problems, such as some "finite theory" and "opportunistic behavior", which will make the whole behavior less credible. So there is a basic question, how to reach a credit consensus
this is how blockchain technology came into being. It can be said that blockchain can build a pure point-to-point value transfer system. Without the mutual trust of each node, blockchain can ensure the integrity and security of data records in the system, and can be separated from the endorsement of third-party organizations, effectively recing the complexity and risk of transactions
2. It is open and transparent, and can not be tampered with
all data of the blockchain can not be tampered with or deleted, and the information of the whole system is open and transparent. If someone owes you a sum of money, and now the data has been put on the blockchain, if he doesn't want to return it to you and play a rogue with you, you can go to the court to protect your rights through the data forensics on the blockchain, so as to get back your legitimate funds. Because the data on the blockchain is open to the whole network, the users of the whole network will know his rogue behavior, which will greatly increase his credit cost. Dishonesty will make him have an important impact in the next life.
8. It seems that this Duyou doesn't know about the blockchain technology. In fact, in recent years, the state has been vigorously supporting the blockchain, and the blockchain technology, which specializes in blockchain technology, has won a lot of praise. In the aspect of food safety, the blockchain green cloud proct traceability platform created by the blockchain technology can ensure the traceability of the quality of each characteristic proct in our consumers' hands, and eliminate counterfeiting and shoddy.
9. NBA 2020 brilliant career, that point can point skills, that is to say, for example, break through the shooting block and so on, these skills can point
Hot content