In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
[block chain system]
Block chain is to synchronize the storage of all nodes in the whole network through the storage resources of distributed nodes, and through the corresponding consensus technology to ensure the effectiveness of internal nodes to change the storage content, and maintain a complete searchable database. In this system, what is stored is the change of the balance or the total balance between the accounts generated in the chain. of course, some more perfect system functions also include the maintenance of the data state of multiple accounts to the sub-accounts of the database.
Therefore, the main function of the system is to record changes in state and then synchronize. For nodes, the core requirement of both PoW,PoS and PoX is to follow specific voting rules and synchronize new changes in the storage of all nodes.
If a system uses a blockchain structure, it does not support the user's personal data, or the data we want to achieve value, and the data on the blockchain is account data and settlement data. the data is exactly the same stored on each node.
So what is a distributed storage system?
Distributed storage system is a kind of distributed system that shares the storage resources of distributed nodes and manages the data of the data storage side through file integrity proof and erasure code check technology. the nodes of the whole network do not maintain the same storage information to reduce redundancy (in the block chain system, the nodes of the whole network maintain the same storage information).
Going back to the example of consumer data mentioned at the beginning of this article, the existing Internet companies make appropriate backups to ensure that the data is not lost through distributed data storage, RAFT and multi-level disaster recovery, so as to establish a system that can store massive data, efficient and low cost.
In other words, in the part of distributed storage systems, almost all companies have reached a consensus that distributed storage is a good way to achieve large amounts of data storage at this stage. No matter whether the blockchain exists or not, the distributed storage system is relatively perfect and has been widely used in real life.
Block chain system that provides distributed storage
After clarifying the two different distributed systems, the blockchain system and the distributed storage system, we then discuss the blockchain system that provides distributed storage. The block chain system which provides distributed storage is a kind of block chain system which is different from the general common chain. It is a distributed storage + special block chain system design.
The core logic of an ordinary blockchain system is to cover all the transaction attributes related to the account, such as account (public and private key), account transfer (signature system and consensus system), and conditional transfer (opcode and its corresponding coding method).
While a block chain system that provides data storage needs to cover the above three attributes, because it provides storage attributes, in order to ensure that the stored state can also restrict the conditions in the future, it is necessary to add judgment logic to its operation code to ensure that the state generated by storage and the state supported by data can be traced on the chain. This is why we need to make a special design of the blockchain system that provides storage.
Specifically, the block chain needs to maintain the data state under specific conditions, and the state is protected to ensure that the state changes accordingly after the transaction is correct. Then, if the state of distributed storage is not combined with the blockchain system through the corresponding design, there will be a gap of automatic execution, and if the gap of the state is exploited, the state of the stored procedure will be recorded in advance, or the lag will be recorded, which will affect the account balance in the blockchain system, that is, the unsafe space of the system.
Therefore, the difference between the block chain system that provides distributed storage and the general common chain system is mainly reflected in the "status" part, recording certain states and making feedback on the account.
In addition, storing the relevant state also enables the intelligent contract to obtain the status in time, so that a sub-ledger that can use external data can be designed, which can be better flowed in the engineering. it will also reduce the possibility of assets loss on the chain caused by the prophecy machine.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.