区块链全部资料大全下载,区块链全部资料大全最新
请查看相关英文文档
『一』What is blockchain? Popular explanation. The simplest explanation of blockchain.
Blockchain is a decentralized distributed ledger database. , the advantage of this distributed ledger is that buyers and sellers can trade directly without any intermediary. Everyone has a backup, even if yours is lost, it will not be affected.
If you have a ledger at home, let you keep it. In the past, your parents gave you your salary and asked you to record it in your account book. If you are greedy and want to buy something delicious in the meantime, the record in the account book may be missing by more than ten yuan, and no one else will know.
How to use blockchain to solve problems: If you use the whole family mobilization method to keep accounts, the above-mentioned problems will not exist, because you are keeping accounts, your father is also keeping accounts, and your mother is also keeping accounts. , they can all see the general ledger. You can’t change it, and neither can your parents. In this way, your father who wants to buy cigarettes and you who want to eat can’t do anything about it.
(1) Extensive reading of all blockchain information:
Blockchain application fields
1. Financial field
Blockchain is used in international exchange, letters of credit, equity registration and stock exchanges, etc. The financial field has potentially huge application value. 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.
2. Internet of Things and Logistics Fields
Blockchain can also be naturally combined in the Internet of Things and logistics fields. Through blockchain, logistics costs can be reduced, the production and delivery process of items can be traced, and the efficiency of supply chain management can be improved. This field is considered to be a promising application direction of the blockchain.
3. Public welfare field
The data stored on the blockchain is highly reliable and cannot be tampered with, so it is naturally suitable for use in social welfare scenarios. Relevant information in the public welfare process, such as donation projects, fundraising details, fund flows, recipient feedback, etc., can be stored on the blockchain and transparently and publicly disclosed conditionally to facilitate social supervision.
4. Insurance field
In terms of insurance claims, insurance institutions are responsible for fund collection, investment, and claims settlement, and often have high management and operating costs. Through the application of smart contracts, there is no need for the policy holder to apply or the insurance company to approve it. As long as the claim settlement conditions are triggered, the insurance policy can automatically settle claims.
『二』What are the total blockchains
Blockchain mainly solves the trust and security issues of transactions, so it proposes four technological innovations to address this issue. :
(1) Distributed ledger means that transaction accounting is completed by multiple nodes distributed in different places, and each node records a complete account, so they can all participate in supervising the legality of transactions. At the same time, they can also jointly testify for them.
Different from traditional distributed storage, the uniqueness of blockchain distributed storage is mainly reflected in two aspects: First, each node of the blockchain stores complete data according to the block chain structure. Traditional distributedStorage generally means dividing data into multiple parts for storage according to certain rules. Second, the storage of each node in the blockchain is independent and has equal status, relying on the consensus mechanism to ensure storage consistency, while traditional distributed storage generally synchronizes data to other backup nodes through the central node. [8]
No node can record ledger data independently, thus avoiding the possibility of a single bookkeeper being controlled or bribed to record false accounts. Also because there are enough accounting nodes, theoretically speaking, the accounts will not be lost unless all nodes are destroyed, thereby ensuring the security of the accounting data.
(2) Asymmetric encryption and authorization technology. The transaction information stored on the blockchain is public, but the account identity information is highly encrypted and can only be accessed with the authorization of the data owner, thus Data security and personal privacy are guaranteed.
(3) Consensus mechanism is how all accounting nodes reach a consensus to determine the validity of a record. This is both a means of identification and a means of preventing tampering. Blockchain proposes four different consensus mechanisms, which are suitable for different application scenarios and strike a balance between efficiency and security.
The consensus mechanism of the blockchain has the characteristics of "the minority obeys the majority" and "everyone is equal". "The minority obeys the majority" does not entirely refer to the number of nodes, but can also be computing power, number of shares, or other factors. A characteristic quantity that a computer can compare. "Everyone is equal" means that when a node meets the conditions, all nodes have the right to give priority to the consensus result, which will be directly recognized by other nodes and may eventually become the final consensus result. Taking Bitcoin as an example, it uses proof of work. Only when more than 51% of the accounting nodes in the entire network are controlled, it is possible to forge a non-existent record. When there are enough nodes joining the blockchain, this is basically impossible, thus eliminating the possibility of fraud.
(4) Smart contracts, smart contracts are based on these trustworthy and non-tamperable data and can be automated Enforce some predefined rules and terms. Take insurance as an example. If everyone's information (including medical information and risk occurrence information) is true and trustworthy, it will be easy to automate claims settlement in some standardized insurance products.
『三』What is blockchain technology? What exactly is blockchain?
Blockchain technology is one of the top ten typical judicial technology applications on the Internet. Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
Blockchain is an important concept of Bitcoin. In fact, it is a decentralized database. Blockchain, as the underlying technology of Bitcoin, is a series of data blocks generated using cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next data block.
Blockchain originated from Bitcoin. On November 1, 2008, a person claiming to be Satoshi Nakamoto (SaToshi Nakamoto published the article "Bitcoin: A Peer-to-Peer Electronic Cash System", which elaborated on the concept of the electronic cash system framework based on P2P network technology, encryption technology, timestamp technology, blockchain technology, etc., marking the The birth of.
(3) Extended reading of all blockchain information:
The birth of blockchain:
The concept of blockchain was first proposed by Satoshi Nakamoto in 2008. In the following years, blockchain became the core component of the electronic currency Bitcoin: a public account for all transactions. By using peer-to-peer networks and distributed timestamp servers, blockchain databases can be autonomously managed.
The blockchain invented for Bitcoin made it the first digital currency to solve the problem of repeated consumption. Bitcoin design has become a source of inspiration for other applications. On December 20, 2016, the Digital Currency Alliance-China FinTech Digital Currency Alliance and FinTech Research Institute were officially established.
『四』 What is blockchain? An explanation of blockchain technology
Blockchain is a new application of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. model. Blockchain is an important concept of Bitcoin. It is essentially a decentralized database.
At the same time, as the underlying technology of Bitcoin, it is a series of data blocks generated using cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify its Validity of information (anti-counterfeiting) and generation of the next block.
The blockchain is a public data list, and each record in it is called a block. These blocks are connected together like a chain to form a blockchain. Just like an idiom solitaire, there must be some connection between adjacent words to form a word chain. The same is true for blockchain, but the connection between blocks is much more complex.
(4) Extended reading of all blockchain information
Blockchain technology innovation does not mean speculating on virtual currencies, and the use of blocks should be prevented Chains issue virtual currencies and speculate on air coins. At the same time, we should also note that blockchain is still in its early development stage and needs further development and improvement in terms of security, standards, supervision, etc.
The general direction is not wrong, but it is necessary to avoid rushing in and duplicating construction, and to open up the imagination space of the blockchain in orderly competition. China has a good foundation in the field of blockchain. Some large Internet companies have already laid out their plans. The talent pool is relatively sufficient and the application scenarios are rich. It is fully qualified to achieve a leading position in this new track.
From a larger perspective, human beings can develop civilization because they have achieved effective cooperation among large-scale groups of people. The "invisible hand" explained by Adam Smith also realizes the division of labor and cooperation in human society through the market mechanism.
From this point of view, blockchain has greatly expanded the breadth and depth of human trust and collaboration. Perhaps, blockchain is not only the next generation of Internet technology, but also the next generation of cooperation mechanisms and organizational forms.
『Wu』What are the basic knowledge about blockchain
1. Application of blockchain technology in banking industry
Blockchain technology is the largest The characteristic of is decentralization, and this feature will reduce a lot of costs for the banking industry. The development of digital currency will make it possible to realize real-time digital transactions in banks. For example, in bill transactions, bank bill transactions have always relied on a third party to realize the transfer of valuable certificates. Even electronic bill transactions require interactive authentication through information from the central bank's ECDS system. . Blockchain technology can realize point-to-point transfer of value and no longer requires centralized system control. This not only speeds up the speed of ticket transfer, but more importantly, it can reduce errors caused by human factors and reduce processes. Naturally, it will reduce the bank's demand for personnel and save the bank's labor costs.
2. Application of blockchain technology in the insurance industry
Blockchain technology also has incomparable advantages in the insurance industry. From the perspective of data management, the application of blockchain technology by insurance companies can effectively improve risk management and control capabilities, including the risk supervision of insurance companies and the risk management of policyholders.
The application of blockchain technology in the insurance industry can strengthen the internal risk supervision of insurance companies. Blockchain technology can record the daily operating processes of insurance companies on nodes, and can achieve in-process control over the company's capital flow, investment status, compensation payments and other businesses, and improve the company's risk management and control capabilities.
3. Application of blockchain technology in the securities industry
The application of blockchain technology in the securities industry can increase the flexibility of securities issuance. Companies issuing securities can use smart contracts , by setting the method and time of securities issuance, securities can even be issued 24 hours a day under the most ideal condition.
4. Blockchain technology and financial infrastructure
Blockchain technology uses a decentralized mechanism for value exchange, which will lead to a modern world characterized by centralization. Some financial infrastructures have undergone earth-shaking changes.
5. Application of blockchain technology in supply chain
The application of blockchain technology in supply chain first provides credit guarantee , the blockchain records the circulation information of commodities, etc., which can prove the true reliability of commodities and their circulation, so as to conduct a comprehensive evaluation of the utility of enterprises on the chain, etc., and has become an important factor for corporate bank loan credit, financing credit, An effective guarantee for transaction credit.
『Lu』 What are the core blockchain technologies of blockchain technology?
What is the hottest topic on the Internet right now? You don’t need to tell me what the editor is saying, that is Blockchain technology, but many friends have only heard of itThis technology does not have too much in-depth understanding, so what are the blockchain technologies? Below we will bring you an introduction to the core technology of blockchain for your reference.
What are the core elements of blockchain technology?
Blockchain technology can be a public ledger (visible by anyone) or a permissioned network (visible only by those authorized), which solves supply chain challenges , because it is an immutable record that is shared among network participants and updated in real time.
Blockchain technology----data layer: designing the data structure of the ledger
Core technology 1. Block + chain:
Technically speaking, block is a data structure that records transactions. Reflects the flow of funds for a transaction. The blocks of transactions that have been reached in the system are connected together to form a main chain, and all nodes participating in the calculation record the main chain or part of the main chain.
Each block consists of a block header and a block body. The block body is only responsible for recording all transaction information in the previous period, mainly including the number of transactions and transaction details; the block header encapsulates the current version number, previous A block address, timestamp (recording the time when the block was generated, accurate to the second), random number (recording the value of decrypting the answer to the math question related to the block), the target hash value of the current block, and the Merkle number Root value and other information. From a structural point of view, most functions of the blockchain are implemented by the block header.
Core technology 2. Hash function:
The hash function can convert data of any length into a set of fixed-length codes through the Hash algorithm. The principle is based on a cryptographic one-way hash function. This kind of function is easy to verify, but difficult to crack. Usually, the industry uses y=hash(x) to represent it. This hash function implements operations on x to calculate a hash value y.
Commonly used hash algorithms include MD5, SHA-1, SHA-256, SHA-384 and SHA-512, etc. Taking the SHA256 algorithm as an example, inputting any string of data into SHA256 will result in a 256-bit Hash value (hash value). Its characteristics: the same data input will get the same result. As long as the input data changes slightly (for example, a 1 becomes a 0), a completely different result will be obtained, and the result cannot be predicted in advance. Forward calculation (calculating the corresponding Hash value from the data) is very easy. Reverse calculation (cracking) is extremely difficult and is considered impossible under current technological conditions.
Core technology 3. Merkle tree:
Merkle tree is a hash binary tree, which can be used to quickly verify the integrity of large-scale data. In the blockchain network, the Merkle tree is used to summarize all transaction information in a block, and ultimately generates a unified hash value of all transaction information in the block. Any change in transaction information in the block will cause Merkle tree changes.
Core technology 4. Asymmetric encryption algorithm:
Asymmetric encryption algorithm is a key protection algorithm.Encryption method requires two keys: public key and private key. The public key and the private key are a pair. If the public key is used to encrypt data, only the corresponding private key can be used to decrypt it, thereby obtaining the corresponding data value; if the private key is used to sign the data, then only the corresponding public key can be used to sign the data. In order to verify the signature, the sender of the verification information is the holder of the private key.
Because encryption and decryption use two different keys, this algorithm is called an asymmetric encryption algorithm, while symmetric encryption uses the same key in the encryption and decryption processes.
Blockchain technology----network layer: realize the decentralization of accounting nodes
Core technology 5. P2P network:
P2P network (peer-to-peer network), also known as point-to-point technology, is no Central server, Internet system that relies on user groups to exchange information. Unlike a centralized network system with a central server, each client in a peer-to-peer network acts as both a node and a server. Domestic Xunlei software uses P2P technology. The P2P network has the characteristics of decentralization and robustness.
Blockchain technology----Consensus layer: allocate the task load of accounting nodes
Core technology 6. Consensus mechanism:
Consensus mechanism is how to reach consensus among all accounting nodes to identify The validity of a record is both a means of identification and a means of preventing tampering. There are currently four main types of consensus mechanisms: PoW, PoS, DPoS and distributed consensus algorithms.
PoW (Proof of Work, proof of work): PoW mechanism, which is like Bitcoin’s mining mechanism, miners package existing transactions that have not been recorded by the network into a block, and then continue to traverse and try to find a random number , so that the hash value of the new block plus the random number meets certain difficulty conditions. Finding a random number that meets the conditions is equivalent to determining the latest block of the blockchain, and is also equivalent to obtaining the current round of accounting rights of the blockchain. Miners broadcast blocks that meet the mining difficulty conditions in the Yuanfu network. After verifying that the block meets the mining difficulty conditions and that the transaction data in the block meets the protocol specifications, other nodes in the entire network will each Blocks are linked to their own version of the blockchain, thereby forming a network-wide consensus on the current network state.
PoS (Proof of Stake, Proof of Stake): PoS mechanism, a distributed consensus mechanism that requires nodes to provide proof of a certain number of tokens to obtain competition for blockchain accounting rights. If you rely solely on the token balance to determine the bookkeeper, you will inevitably make the rich win, which will lead to the centralization of bookkeeping rights and reduce the fairness of the consensus. Therefore, different PoS mechanisms use different methods to increase the amount of money based on the proof of equity. The randomness of accounting rights avoids centralization. For example, in the PeerCoin PoS mechanism, the Bitcoin with the longest chain age has a greater chance of obtaining accounting rights. NXT and Blackcoin use a formula to predict the next accounting node. The probability of being selected as an accounting node with more tokens will bebig. In the future, Ethereum will also switch from the current PoW mechanism to a PoS mechanism. Judging from the information currently available, Ethereum's PoS mechanism will use nodes to place bets on the next block. The winner of the bet will receive an additional Ethereum currency award. Those who do not win will be deducted Ether coins to reach consensus on the next block.
DPoS (DelegatedProof-Of-Stake, share authorization certificate): DPoS is easy to understand and is similar to the modern corporate board of directors system. The DPoS mechanism adopted by BitShares is that shareholders vote to select a certain number of witnesses. Each witness has two seconds of authority to generate blocks in order. If the witness cannot generate a block within the given time slice, The block generation authority is given to the witness corresponding to the next time slice. Shareholders can replace these witnesses at any time by voting. This design of DPoS makes the generation of blocks faster and more energy-saving.
Distributed Consistency Algorithm: Distributed Consistency Algorithm is based on traditional distributed consistency technology. Among them are Byzantine fault-tolerant algorithms that solve the Byzantine Generals problem, such as PBFT (Byzantine fault-tolerant algorithm). In addition, distributed consensus algorithms (Pasox, Raft) that solve non-Byzantine problems are not explained in this article. This type of algorithm is currently a commonly used consensus mechanism in alliance chain and private chain scenarios.
Taken together, POW is suitable for public chains. If you build a private chain, it is more suitable to use POS because there is no trust problem in verification nodes; and because there are untrustworthy local nodes in the alliance chain, it is more suitable to use DPOS.
Blockchain technology----Incentive layer: Develop a "salary system" for accounting nodes
Core technology 7. Issuance mechanism and incentive mechanism:
Take Bitcoin as an example. Bitcoins are initially rewarded by the system to miners who create new blocks, and this reward is halved approximately every four years. At the beginning, miners were rewarded with 50 Bitcoins for each new block recorded, and this reward is halved approximately every four years. By analogy, by around AD 2140, newly created blocks will no longer receive rewards from the system. By then, the total number of Bitcoins will be approximately 21 million. This is the total number of Bitcoins, so it will not increase indefinitely.
Another source of incentives is transaction fees. When there are no system rewards for newly created blocks, the miners' income will change from system rewards to transaction fees. For example, when you transfer, you can specify 1% of it as a handling fee to be paid to the miner who records the block. If the output value of a transaction is less than the input value, the difference is the transaction fee, which will be added to the incentive for that block. As long as a given amount of electronic currency has entered circulation, the incentive mechanism can gradually be converted to rely entirely on transaction fees, so there is no need to issue new currency.
Blockchain technology----contract layer: giving the ledger programmable features
Core technology 8. Smart contract:
Smart contract is a set of programmed rules and logic that respond to scenarios. Implemented by decentralized, trusted shared script code deployed on the blockchain. usuallyIn this case, after the smart contract is signed by all parties, it is attached to the blockchain data in the form of program code, and is recorded in a specific block of the blockchain after being propagated through the P2P network and verified by nodes. Smart contracts encapsulate a number of predefined states and transition rules, scenarios that trigger contract execution, response actions under specific scenarios, etc. The blockchain can monitor the status of smart contracts in real time, and activate and execute the contract by checking external data sources and confirming that specific trigger conditions are met.
The above is what blockchain technologies the editor has brought to you? All content of the introduction to the core technology of blockchain.
『撒』Looking for blockchain learning materials
"New Economic Blueprint and Introduction"
Published: 2016
Recommendation: This book is mainly for programmers. Combined with API programming, it tells you the principles and usage of cryptocurrency, and how to develop related software. For non-programmer readers, the first few chapters of this book are still suitable as an in-depth introduction to Bitcoin. Book download
『8』What is blockchain technology? What exactly is blockchain?
In a narrow sense, blockchain is a way to A chained data structure composed of data blocks that are sequentially connected, and a cryptographically guaranteed distributed ledger that cannot be tampered with or forged.
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. It is a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data securely.
[Infrastructure]
Generally speaking, the blockchain system consists of data layer, network layer, consensus layer, incentive layer, contract layer and application layer composition. Among them, the data layer encapsulates the underlying data blocks and related basic data and basic algorithms such as data encryption and timestamps; the network layer includes distributed networking mechanisms, data dissemination mechanisms, and data verification mechanisms; the consensus layer mainly encapsulates network nodes Various consensus algorithms; the incentive layer integrates economic factors into the blockchain technology system, mainly including the issuance mechanism and distribution mechanism of economic incentives; the contract layer mainly encapsulates various scripts, algorithms and smart contracts, and is the core of the blockchain The basis of programmable features; the application layer encapsulates various application scenarios and cases of the blockchain. In this model, the chain block structure based on timestamps, the consensus mechanism of distributed nodes, economic incentives based on consensus computing power, and flexible programmable smart contracts are the most representative innovations of blockchain technology.
Extended information:
[Blockchain core technology]
Blockchain mainly solves the trust and security issues of transactions, so it addresses this issue Four technological innovations:
1. Distributed ledgerBasically, transaction accounting is completed by multiple nodes distributed in different places, and each node records a complete account, so they can all participate in supervising the legality of the transaction and can also jointly testify for it.
The uniqueness of blockchain’s distributed storage is mainly reflected in two aspects: First, each node of the blockchain stores complete data according to the block chain structure. Traditional distributed storage generally stores The data is divided into multiple parts for storage according to certain rules. Second, the storage of each node in the blockchain is independent and has equal status, relying on the consensus mechanism to ensure storage consistency, while traditional distributed storage generally synchronizes data to other backup nodes through the central node.
No node can record ledger data independently, thus avoiding the possibility of a single bookkeeper being controlled or bribed to record false accounts. Also because there are enough accounting nodes, theoretically speaking, the accounts will not be lost unless all nodes are destroyed, thereby ensuring the security of the accounting data.
2. Asymmetric encryption and authorization technology. Transaction information stored on the blockchain is public, but account identity information is highly encrypted and can only be accessed with authorization from the data owner. , thus ensuring data security and personal privacy.
3. The consensus mechanism is how all accounting nodes reach a consensus to determine the validity of a record. This is both a means of identification and a means of preventing tampering. Blockchain proposes four different consensus mechanisms, which are suitable for different application scenarios and strike a balance between efficiency and security.
The consensus mechanism of the blockchain has the characteristics of "the minority obeys the majority" and "everyone is equal". "The minority obeys the majority" does not entirely refer to the number of nodes, but can also be the computing power and the number of shares. Or other characteristic quantities that the computer can compare. "Everyone is equal" means that when a node meets the conditions, all nodes have the right to give priority to the consensus result, which will be directly recognized by other nodes and may eventually become the final consensus result.
4. Smart contracts. Smart contracts are based on these trustworthy and non-tamperable data and can automatically execute some predefined rules and terms. Take insurance as an example. If everyone's information (including medical information and risk occurrence information) is true and trustworthy, it will be easy to automate claims settlement in some standardized insurance products.
In the daily business of insurance companies, although transactions are not as frequent as those in the banking and securities industries, the reliance on trusted data continues unabated. Therefore, the author believes that using blockchain technology from the perspective of data management can effectively help insurance companies improve their risk management capabilities. Specifically speaking, it is mainly divided into risk management of policyholders and risk supervision of insurance companies.
Blockchain - Network
『玖』What is blockchain
Blockchain is distributed data storage, point-to-point transmission, consensus mechanism, encryption New application models of computer technology such as algorithms. Blockchainin), 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.
(9) Extended reading of all blockchain information
Characteristics of blockchain:
1. Deposit certificate< /p>
The "non-tamperable" feature of blockchain provides a solution to the problem of "certificate storage" 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".