拥有区块链核心技术
请查看相关英文文档
⑴ What is the core technology of blockchain?
Simply put, blockchain is a distributed database that provides Byzantine fault tolerance and ensures ultimate consistency; From the data structure point of view, it is a chained data block structure based on time series; from the node topology point of view, all its nodes are redundant backups of each other; from the operation point of view, it provides a public and private key management system based on cryptography to manage the account.
Perhaps the above concept is too abstract, let me give you an example so that you can understand it easier.
You can imagine that there are 100 computers distributed around the world. The network between these 100 machines is a wide area network, and the owners of these 100 machines do not trust each other.
So, what kind of algorithm (consensus mechanism) do we use to provide it with a trustworthy environment and make:
The data exchange process between nodes cannot be tampered with, and the generated historical records It cannot be tampered with;
The data of each node will be synchronized to the latest data, and the validity of the latest data will be verified;
Based on the principle of the minority obeying the majority, the data maintained by the overall node can objectively reflect the exchange history.
Blockchain is a technical solution created to solve the above problems.
2. The core technology components of blockchain
Whether it is a public chain or a consortium chain, it requires at least four modules: P2P network protocol, distributed consistency algorithm (consensus mechanism), encryption signature algorithm, Account and storage model.
1. P2P network protocol
P2P network protocol is the lowest module of all blockchains and is responsible for network transmission and broadcast of transaction data, node discovery and maintenance.
Usually what we use is the Bitcoin P2P network protocol module, which follows certain interaction principles. For example: when connecting to other nodes for the first time, you will be required to confirm the status according to the handshake protocol. After the handshake, you will start to request the address data and block data of the Peer node.
This P2P interactive protocol also has its own set of instructions, which are reflected in the command field of the Message Header. These commands provide the upper layer with node discovery, node acquisition, block header acquisition, Block acquisition and other functions, these functions are very low-level and very basic functions. If you want to learn more, you can refer to the Peer Discovery chapter in the Bitcoin Developer Guide.
2. Distributed consensus algorithm
In the field of classic distributed computing, we have non-Byzantine fault-tolerant algorithms represented by the Raft and Paxos algorithm families, as well as the PBFT consensus algorithm with Byzantine fault-tolerant characteristics.
If we look at it from the perspective of technological evolution, we can draw a picture in which blockchain technology has expanded the original distributed algorithm economically.
In the pictureWe can see that computer applications were mostly single-point applications at the beginning, and cold disaster recovery was used for high availability and convenience. Later, they developed into multi-active in different places. These multi-active in different places may use load balancing and routing technologies. With the distribution With the development of traditional system technology, we have transitioned to distributed systems based on Paxos and Raft.
In the field of blockchain, PoW workload proof algorithm, PoS equity proof algorithm, and DPoS proxy equity proof algorithm are mostly used. The above three are the mainstream consensus algorithms in the industry. These algorithms are similar to the classic distributed consensus algorithm. The difference is that they incorporate the concept of economic games. Below I will briefly introduce these three consensus algorithms respectively.
PoW: Usually refers to solving a mathematical problem of specific difficulty under given constraints. Whoever solves it faster can obtain the right to bookkeeping (block production). This solution process is often converted into a calculation problem, so when competing for speed, it becomes who has a better calculation method and whose equipment has better performance.
PoS: This is a proof-of-stake mechanism. Its basic concept is that the difficulty of generating a block should be proportional to your stake (ownership ratio) in the network. The core idea of its implementation is: Use the coin age (CoinAge) of your locked tokens and a small proof of work to calculate a target value. When the target value is met, you will be able to obtain accounting rights.
DPoS: A simple understanding is to convert the bookkeepers in the PoS consensus algorithm into a small circle composed of a specified number of nodes, instead of everyone can participate in bookkeeping. This circle may have 21 nodes or 101 nodes, depending on the design. Only nodes in this circle can obtain accounting rights. This will greatly improve the throughput of the system, because fewer nodes means that the network and nodes are controllable.
3. Encrypted signature algorithm
In the field of blockchain, the most commonly used hash algorithm is the hash algorithm. The hash algorithm has the characteristics of collision resistance, irreversibility of the original image, and problem friendliness.
Among them, problem friendliness is the basis for the existence of many PoW currencies. In Bitcoin, the SHA256 algorithm is used as the calculation method for proof of work, which is what we call the mining algorithm.
In Litecoin, we will also see the Scrypt algorithm, which is different from SHA256 in that it requires large memory support. In some other currencies, we can also see mining algorithms based on the SHA3 algorithm. Ethereum uses an improved version of the Dagger-Hashimoto algorithm, named Ethash, which is an IO-intractable algorithm.
Of course, in addition to the mining algorithm, we will also use the RIPEMD160 algorithm, which is mainly used to generate addresses. Most of the numerous Bitcoin derivative codes adopt the Bitcoin address design.
In addition to addresses, we will also use the core and the cornerstone of the blockchain Token system: public and private key cryptographic algorithms.
In the Bitcoin code, ECDSA is basically used. ECDSA is a combination of ECC and DSA. The entire signature process is similar to DSA. The difference is that the algorithm used in the signature is ECC (Elliptic Curve Function).
Technically, we start by generating a private key, then generate a public key from the private key, and finally generate an address from the public key. Each of the above steps is an irreversible process, which means that the public key cannot be derived from the address. , derived from the public key to the private key.
4. Account and transaction model
From the initial definition, we know that blockchain can be considered a distributed database from a technical perspective only. So, what type of database do most blockchains use? What about the database?
When I designed the Metaverse blockchain, I referred to a variety of databases, including NoSQL’s BerkeleyDB and LevelDB, and some currencies use SQL-based SQLite. As the underlying storage facilities, most of them are lightweight embedded databases. Since they do not involve the ledger characteristics of the blockchain, these storage technologies are no different from those used in other situations.
The ledger characteristics of blockchain are usually divided into UTXO structure and ledger structure based on Accout-Balance structure, which we also call the ledger model. UTXO is the abbreviation of "unspent transaction input/output", which translated means "unspent transaction input/output".
This is an accounting mode for Token transfer in the blockchain. Each transfer appears in the form of input and output; in the Balance structure, there is no such mode.
⑵ What does the core technology of blockchain include?
First of all, we can take a look at the official website explanation of blockchain technology. In a narrow sense, blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order, and is 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 the security of data transmission and access. A new distributed infrastructure and computing paradigm that uses smart contracts composed of automated script codes to program and manipulate data.
As everyone may know, blockchain technology is an underlying architecture independent of the Bitcoin system. From an architectural model perspective, it is a set of distributed ledgers. The so-called ledger is naturally used to record Account.
In blockchain technology, in order to generate accounting records, there must be transactions and flows of funds, so it is best toIn the initial blockchain technology, the cryptocurrency corresponding to Lao Zeying's main network was used as a circulating item. The circulation transaction records of the cryptocurrency between various accounts on the blockchain main network will be recorded on the main network.
Different from other transaction record databases, transaction records on the blockchain technology mainnet will be recorded on all block nodes (i.e. all data blocks) in the mainnet. This is The so-called decentralization principle means that in blockchain technology, there is no central database to save all records. Each block on the chain has transaction data for the entire chain, that is, every data block , are all centers.
Another characteristic of blockchain technology is that it cannot be tampered with, because every transaction on the Daqing blockchain will be recorded in all blocks on the chain, so any single data block cannot be tampered with. Records cannot be changed, and even if you do, the real data will be recorded in all other data blocks, and each set of data can be traced back to when it first appeared.
Because of these characteristics of blockchain technology, after the advent of Bitcoin, blockchain has also received a lot of attention, and many people have begun to want to use blockchain technology to create a centerless and traceable system. , data that does not change to ensure the credibility of the data.
However, blockchain technology also faces many problems, such as a single application scenario, native erroneous data that cannot be modified, and currencies stolen by hackers that cannot be recovered.
⑶ The core of blockchain technology is
The core of blockchain technology
is the consensus algorithm. The essence of the consensus algorithm is in the
distributed network< br />Under the condition that each node does not trust each other, by providing evidence
scarce resources
, a
Nash equilibrium
game field is formed to win the trust of all parties. , quickly reach agreement between various nodes and complete tasks synchronously.
⑷ What are the core blockchain technologies of blockchain technology?
What is the hottest Internet topic at the moment? You don’t need to explain it to the editor to know that it is the blockchain. Blockchain technology, but many friends have only heard of this technology and do not have much in-depth understanding of it. 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.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 seconds), random number (recording the value of decrypting the answer to the math question related to the block), target hash value of the current block, and 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 secret method that 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 the 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. with a central network with a central serverDifferent from the network system, each client in the peer-to-peer network is 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 (ProofofStake, Proof of Stake): PoS mechanism requires nodes to provide proof of a certain number of tokens to obtain a distributed consensus mechanism for competing 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 more tokens you own, the greater the probability of being selected as an accounting node. 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 makesBlock generation is faster and more energy efficient.
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. Normally, 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.
⑸ Are there 7 core technologies for blockchain operation that you should know?
How many of the 7 core technologies for blockchain operation do you know?
1 .Blockchain link
As the name suggests, blockchain is a chain composed of blocks.Each block is divided into two parts: block header and block body (including transaction data). The block header includes the hash (PrevHash) value (also called hash value) of the previous block used to implement block linking and the random number (nonce) used to calculate the mining difficulty. The hash value of the previous block is actually the hash value of the header of the previous block, and the rules for calculating random numbers determine which miner can obtain the power to record the block.
2. Consensus Mechanism
Blockchain was born with Bitcoin and is the basic technical architecture of Bitcoin. Blockchain can be understood as a decentralized accounting system based on the Internet. A decentralized digital currency system like Bitcoin requires blockchain to ensure the consistency of accounting by each honest node without a central node. Therefore, the core of blockchain technology is a consensus mechanism that reaches a consensus on the legality of transactions among individuals who have no basis for trust in each other without central control.
There are currently four main categories of blockchain consensus mechanisms: PoW, PoS, DPoS, and distributed consensus algorithms.
3. Unlocking scripts
Scripts are an important technology for automatic verification and automatic execution of contracts on the blockchain. Each output of each transaction does not strictly point to an address, but to a script. A script is like a set of rules that govern how the recipient can spend the assets locked on this output.
The legality verification of transactions also relies on scripts. Currently it relies on two types of scripts: locking scripts and unlocking scripts. The locking script is a condition added to the output transaction, implemented through a script language, and is located at the output of the transaction. The unlocking script corresponds to the locking script. Only if the conditions required by the locking script are met, the corresponding assets on this script can be spent, which is located at the input of the transaction. Many flexible items can be expressed through scripting language. The interpretation script is similar to a "virtual machine" in our programming field, which is distributed and runs on every node in the blockchain network.
4. Transaction Rules
Blockchain transactions are the basic units that constitute blocks, and are also the actual effective content that the blockchain is responsible for recording. A blockchain transaction can be a transfer or other transactions such as the deployment of smart contracts.
In the case of Bitcoin, a transaction refers to a payment transfer. The trading rules are as follows:
1) The input and output of the transaction cannot be empty.
2) For each input of the transaction, if its corresponding UTXO output can be found in the current transaction pool, the transaction will be rejected. Because the current transaction pool is a transaction that has not been recorded in the blockchain, and each input of the transaction should come from a confirmed UTXO. If found in the current transaction pool, it is a double spend transaction.
3) For each input in the transaction, its corresponding output must be UTXO.
4) Each input unlocking script must work with the corresponding output locking script to verify the compliance of the transaction.
5.Transaction Priority
The priority of blockchain transactions is determined by the blockchain protocol rules. For Bitcoin, the priority of a transaction being included in a block is determined by the time it takes for the transaction to be broadcast to the network and the size of the transaction. As the time it takes for a transaction to be broadcast to the network increases and the chain age of the transaction increases, the priority of the transaction is increased and will eventually be included in the block. For Ethereum, the priority of a transaction is also related to the transaction fee that the publisher of the transaction is willing to pay. The higher the transaction fee that the publisher is willing to pay, the higher the priority of the transaction being included in the block.
6.Merkle proof
The original application of Merkle proof is the Bitcoin system (Bitcoin), which was described and created by Satoshi Nakamoto in 2009. The Bitcoin blockchain uses Merkle proofs in order to store transactions in every block. This makes the transaction unable to be tampered with and makes it easy to verify whether the transaction is included in a specific block.
7.RLP
RLP (Recursive Length Prefix, recursive length prefix encoding) is a main encoding method for object serialization in Ethereum. Its purpose is to encode any nested sequence of binary virtual data. Lu Ji
⑹ What is blockchain technology? What are the core components of blockchain technology?
What is blockchain technology? What are the core components of blockchain technology? What is blockchain technology:
Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. The so-called consensus mechanism is a mathematical algorithm that establishes trust and obtains rights and interests between different nodes in the blockchain system.
Blockchain is an important concept of Bitcoin. It is essentially a decentralized database and serves as the underlying technology of Bitcoin. The blockchain is a series of data blocks generated using cryptographic methods. Each data block contains information about a Bitcoin network transaction and is used to verify the validity of its information (anti-counterfeiting) and generate the next block.
The core components of blockchain technology:
Blockchain mainly solves the trust and security issues of transactions, so it proposes four technological innovations to address this issue:
The first one is called distribution A type of 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 the transaction and can also jointly testify for it.
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 distributed storage generally divides data into multiple parts for storage according to certain rules. Second, the storage of each node in the blockchain is independent., with equal status, rely 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.
The second one is called 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. This ensures data security and personal privacy.
The third one is called the consensus mechanism, which 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, the 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. [8]
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.
The last technical feature is called 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.
Chongqing Jinwowo Analysis: The consensus mechanism is the core of blockchain technology. The consensus mechanism largely determines the degree of mutual trust between nodes in the entire blockchain system, and also determines other users’ views on the blockchain. The degree of trust in online data
What is the core component of blockchain technology? Chongqing Jinwowo Analysis: Blockchain TechnologyIt consists of three core technologies: consensus mechanism, common defense mechanism, and distributed storage.
The three core technologies are supported by machine trust, that is, through the support of network technology, breakthroughs in difficult problems such as point-to-point transaction, decentralization, non-tampering of recorded information, irreversible transactions, and information encryption are achieved through network technology support.
The development of blockchain technology is becoming more and more prosperous with the continuous expansion of applications. This powerful development force coming from the needs of various industries has caused rapid changes in blockchain technology, allowing various industries to achieve great results. The results are attracting more and more attention, and professional technologies and resources are constantly concentrated in this industry, thus bringing the development of blockchain technology to a new stage, and the impact of this development of blockchain technology has also much attention.
When talking about blockchain technology, Bitcoin has to be mentioned. Many people know that the electronic currency Bitcoin does not rely on the issuance of a specific monetary institution, but is generated through a large number of calculations by a specific algorithm. In fact, the core that truly supports Bitcoin is blockchain technology.
How does the invisible and intangible Bitcoin operate through blockchain technology? The interpretation circulated in the industry is that blockchain can be regarded as a technical solution for collectively maintaining reliable databases through "decentralization" and "trustlessness". In layman’s terms, this technology can be understood as a technology in which everyone participates in accounting. In the past, people used centralized servers to keep accounts, but in the blockchain technology system, everyone can participate in accounting and jointly identify Authenticity of records.
"Through this technology, even if there is no neutral third-party organization, two parties that do not trust each other can achieve cooperation. In short, the blockchain is like a 'machine that creates trust.'" Bubi Company It is a leading blockchain service provider in China and has made many breakthroughs in the blockchain technology platform. It can meet scenarios with tens of millions of users and has the ability to quickly build upper-layer application businesses.
The blockchain technology used by all parties involved in recording and storing information adopts a decentralized distributed structure, which saves a lot of intermediary costs and can better ensure data security; at the same time, it has a time stamp that cannot be tampered with. It can effectively solve problems such as data tracking and information anti-counterfeiting.
Will it become the next trend of Internet finance?
Although blockchain emerged with Bitcoin, the derived value of this technology has transcended digital currency. Bubi Blockchain focuses on the innovation of blockchain technology and products. It already possesses a number of core technologies and has developed its own blockchain service platform. With decentralized trust as the core, we are committed to building an open value circulation network to allow digital assets to flow freely. What Bubi wants to do is to create a new technology and product - to realize real value circulation and bring the Internet to a new level. With the application of this technology, there will be no central organization when transferring assets, and direct transfer of assets between us can be achieved.
In the current international financial market, the United StatesCentral banks, Swiss banks, and some insurance and futures companies are all rushing to develop blockchain technology. Fang Liang introduced that in the Internet financial industry, blockchain technology will first affect financial infrastructure such as payment systems, securities settlement systems, and transaction databases; later, the technology will also expand to general financial services, such as credit systems and "anti-money laundering" "wait.
"The payment and clearing system in the financial field will evolve towards decentralization. The electronic ledger supported by blockchain technology is a reliable system that is error-free and cannot be tampered with. It has various functions for payment, clearing, transaction, confirmation of rights, etc. A profound impact," Li Yan said.
Therefore, industry insiders believe that blockchain technology may be the next trend in the Internet financial industry. As the interconnection of all things deepens, Yang Tao, assistant director of the Institute of Finance, Chinese Academy of Social Sciences, also said that blockchain will make it possible for all individuals to become important nodes in the allocation of financial resources, and will also promote the improvement of existing financial system rules. Build a shared and win-win financial development ecosystem.
Blockchain technology will affect many industries
"Blockchain technology has been widely used in the era of big data." Li Yan said frankly that in addition to the Internet financial field, blockchain technology has been used in many industries. It has been applied in many fields and has shown great prospects.
For example, the healthcare industry has benefited greatly from blockchain technology. In reality, patient private information leaks often occur, and centralized database or file cabinet management in medical departments is no longer the optimal choice. Medical institutions are using blockchain technology to keep patients' private information confidential.
In addition, blockchain technology also has important legal implications. In some civil fields, it is often necessary to provide evidence to determine blame, and blockchain technology can record every step and help judicial authorities identify the specific responsible person.
"Especially in the field of assets, whether it is physical assets such as real estate and cars, or intangible assets such as health and reputation, this technology can be used to complete registration, transactions, and tracking. It can be said that any production and life that lacks trust In all fields, blockchain technology will have its place."
The development of blockchain technology has also brought about changes in the operational concepts of various industries. New technologies and new concepts have promoted new developments in various industries. This The impact of this driving force on society and the promotion of economic activities are also huge. Many new industry phenomena will occur one after another, and the public is also waiting and watching, expecting this brand-new technology to be used by various industries and better benefit all industries.
The so-called blockchain technology, also known as distributed ledger technology, is an Internet database technology that is characterized by decentralization. , open and transparent, allowing everyone to participate in database records.
Explained in layman’s terms: If the database is assumed to be a ledger, reading and writing the database can be regarded as a bookkeeping behavior. The principle of blockchain technology is to find out the fastest and best bookkeeping within a period of time. people, from thisAn individual keeps accounts, and then sends this page of information to everyone else in the entire system. This is equivalent to changing all the records in the database and sending them to every other node in the entire network, so blockchain technology is also called a distributed ledger.
What is the core technology of Jinwowo blockchain technology?
Chongqing Jinwowo analyzes the core technologies of blockchain technology as follows:
Distributed ledger technology, asymmetric encryption technology and smart contracts.
The core of the blockchain is that it stores all information in an independent personal computer network, making it a decentralized and distributed structure.
This means that the system is not owned by a controlling company or person, but that everyone can use and run the system.
I specifically checked the information to answer your question! Renren blockchain service allows users to quickly build their own IT infrastructure and blockchain services on a flexible and open cloud platform. Using BaaS can greatly reduce the cost of implementing the underlying technology of the blockchain, simplify the construction and operation and maintenance of the blockchain, and at the same time, face the scenarios in various industry fields, meet the personalized needs of users, and quickly deliver customized BaaS in one stop. Hope to adopt
What is blockchain technology?Blockchain has been hyped up like crazy, but you know nothing about it!
Blockchain is a distributed database system participated by different nodes and an open ledger system.
It consists of a series of data blocks or data packets generated according to cryptographic methods, that is, blocks. Each block of data information is automatically timestamped, thus Calculate a data encryption value, that is, a hash value (hash).
Blockchain technology is essentially a distributed accounting technology. It allows everyone to have an instantly synchronized ledger in their hands. Every transaction that occurs in the entire network will have thousands of backups and synchronous records. When perpetrators attempt to tamper with ledger data, they must change the ledger in the hands of the majority of people to achieve their goal.
⑺ "Hot Spot Observation" Using blockchain as the core technology to move towards web3.0
Recently, according to foreign media reports, Meta Platforms will provide deep compatibility with blockchain technology. Integrate social systems with Web3.0 technologies such as blockchain and cryptocurrency. In the next decade, blockchain technology may have a profound impact on the industry. Web3.0, the future Internet, will also be a brand new business model, and it has become a new trend.
What is the difference between Web3.0 and Web2.0?
The profit model is different: Web2.0 whether online Advertising business, SP value-added business or other charging models all require the detonation of user information on this platform; Web3.0 has a clearer and feasible profit model, and has certain fair incentives for the development team. Through Token and certain communication The license is reserved to motivate the development team, so that the development of the protocol can truly generate value and generate more practical scenarios. As the value of the token increases, corresponding returns can be obtained.
With every change, the respective positioning and relationship between users and the network are changing: users have gone from being passive recipients of content to becoming the main creators of content. and viewers, while the network has evolved from a single content-carrying platform to a service provider that can intelligently provide users with more customized help.
Web3.0 has the following characteristics: Information sources are individualized, and the sources of information gradually return to individuals instead of some authoritative institutions; communication channels are diversified, and information The dissemination of information is no longer limited to a single media and platform; customized information has become mainstream. Under the first two characteristics, information is bound to grow explosively, so how to provide customized information for users within a limited time is inevitable.
The role of blockchain in Web3.0
By many independent Nodes form a network. Even if one or two nodes are compromised by hackers, there are thousands of nodes that store safe and effective data. Even if a node is paralyzed, it can still operate normally. A decentralized network that completely removes the middleman, does not need to trust any company, does not need to trust any third party, the code is the law, just trust the mathematical and computational principles on which the blockchain is built.
The consensus mechanism of the blockchain does not require a centralized authority to make decisions. All nodes in the network that save data are driven by incentives and aggregated Decisions are made together: what state the database should be in, which transactions should be accepted, and which transactions should be rejected, which determines the authenticity of the blockchain database. Blockchain has brought a new economic model to Web3.0. It is no longer the company with a centralized server that has huge wealth. Blockchain gives value to the network itself and the community members connected to the network through tokens.
The intervention of blockchain has accelerated the development of Web3.0 due to its decentralization and non-tamperable data characteristics.The arrival of the new era has also further improved the all-round expansion of the Web 3.0 era from the Internet to life.
⑻ What does the core technology of blockchain include
Chongqing Jinwowo analyzes the core technology of blockchain as follows:
1-Block, chain
2-Distributed structure - open source, decentralized protocol
3-Asymmetric encryption algorithm
4-Script
⑼ Blockchain core technology-P2P network< /p>
Peer-to-peer network is one of the core technologies in the blockchain. Its main focus is to provide a stable network structure for the blockchain to broadcast unpackaged transactions (transactions in the transaction pool) As well as consensus blocks, some consensus algorithms also require peer-to-peer network support (such as PBFT). Another auxiliary function, such as Ethereum's message network, also requires peer-to-peer network support.
P2P networks are divided into two categories: structured and unstructured networks. The structured network uses a similar DHT algorithm to build the network structure; the unstructured network is a flat network, and each node has the addresses of some neighbor nodes.
The main responsibilities of a peer-to-peer network are maintaining the network structure and sending information. The network structure should focus on the two aspects of adding new nodes and network updates, while sending information includes broadcast and unicast aspects
How to establish and maintain an entire point-to-point network? How to join and exit nodes?
There are two core parameters for establishing a network structure. One is the number of nodes connected to each node, and the second is the maximum number of forwardings.
The new node knows nothing about the entire network. It either obtains some nodes in the network to connect to through a central service, or connects to "seed" nodes in the network.
Network update processing occurs when new nodes join or nodes exit, or even when some nodes have poor network and cannot be connected, they come back alive after a while, etc. These routing table changes are generally broadcast through the node's existing connections. It should be noted that due to the particularity of point-to-point networks, the routing table of each node is different (also called partial view)
Broadcasts generally use flooding protocols, that is, received and forwarded, so that When messages spread in the network, some restrictions are generally applied. For example, a maximum number of forwardings must be set for a message to avoid excessive load on the network.
Unicast requires the support of a structured network structure, usually DHT, which is similar to the DNS resolution method. It searches for the target node address hop by hop, then transmits it, and updates the local routing table.
To quickly retrieve information, there are two data structures that can be used. One is tree type, such as AVL tree, red-black tree, B-tree, etc.; the other is hash table.
Hash tables are more efficient than trees, but require more memory.
Information is represented in the form of key-value pairs, that is, one key corresponds to one value. What we are looking for is the key, and the value is the attached information.
The problem that the hash table needs to solve is how to evenly allocate a storage location to each key.
There are two key points here: 1. Allocate a storage location for the key. This allocation algorithm is fixed. Ensure that the same algorithm is used during storage and search, otherwise it will not be found after it is stored; 2. It should be distributed evenly. There should not be more data stored in some places and less data in some places.
Structures such as hashtable and map in general languages are implemented using this technology. The hash function can directly use the modulo function, key%n. In this way, n represents the number of places, and the key is an integer. , if the key is of other types, a hash needs to be performed first to convert the key into an integer. This method can solve the above two requirements, but when n is not large enough (less than the data to be stored), conflicts will occur. There must be two keys to be stored in one place. At this time, one needs to be placed in this place. The linked list will be assigned to the same location, different keys, and placed in order. When there are too many keys in one location, the search speed of the linked list is too slow, and it needs to be converted into a tree type structure (red-black tree or AVL tree).
As mentioned above, hash tables are very efficient, but occupy content. This limitation can be solved by using multiple machines. In a distributed environment, the above locations can be understood as computers (later called nodes), that is, how to map a key to a node. Each node has a node ID, which is the mapping of key->node id. This mapping The algorithm must also be fixed.
This algorithm also has a very important requirement, namely scaleability. When new nodes join and exit, the number of keys that need to be migrated should be as small as possible.
This mapping algorithm has two typical structures, one is ring-shaped and the other is tree-shaped; the ring-shaped one is called consistent hashing algorithm, and the tree-shaped one is called kademlia algorithm.
The point selection algorithm is a mapping algorithm that solves key->node id. To put it figuratively, it means selecting the node in its life for a key.
Assuming we use 32 hashes, the total amount of key data that can be accommodated is 2**32, which is called hash space. The node ID is mapped to an integer, and the key is also mapped to an integer. The difference between the key hash and the node hash value is called the distance (if it is a negative number, the modulus must be taken, not the absolute value). For example, the hash of a key is 100 (represented by an integer), and the hash of a node is 105, then The distance between these two is 105-100=5. Of course, other distance representations can also be used, such as subtraction in reverse, but the algorithm must be fixed. We map (place) the key to the node closest to it. If the distance is taken modulo, it seems that the node and key are placed on a ring, and the key belongs to the node closest to it from a clockwise angle.
The distance of the kademlia algorithm is represented by the numerical value after the XOR calculation of the key hash and the node hash (integer). From left to right, the more "same prefixes" there are, the greater the distance. Closer, the position is different the further to the left, the further away.
The embodiment of the tree structure is to regard the nodes and keys as the nodes of the tree. The number of bits supported by this algorithm is 160 bits, that is, 20 8 bytes. The height of the tree is 160, and each edge represents one bit.
The point selection algorithm is the same as consistent hashing. From all nodes, the node with the smallest distance from the key is selected as the destination of the key.
Since it is in a distributed environment, in order to ensure high availability, we assume that there is no central routing table. Without this routing table that can see the whole picture, it brings some challenges, such as how to discover nodes, Find node?
In P2P networks, a common method is for each node to maintain a partial routing table, which only contains routing information for some nodes. In the flooding algorithm, these nodes are random; in the DHT algorithm, the routing table is structured, and the nodes maintained are also selective. So how to reasonably select nodes that need to maintain routing information?
A simple approach is for each node to store information about nodes larger than it, so that a ring can be formed. However, there is a big problem and a small problem in doing so. The big problem is that each node knows too little information (only the hash and address of the next node). When a key is given, it does not know if there is any node in the network that is shorter than the distance to the key. So it first determines whether the key belongs to itself and the next node. If so, then the key belongs to the next node. If not, it calls the same method on the next node. The complexity is N (number of nodes). An optimization method is that the other nodes maintained by each node i are: i+2 1, i+2 2,...i+2**31. By observing this data, it is found that from near to far, the node is more Becoming more and more sparse. This can reduce the complexity to lgN
Each node saves the information of other nodes, including, from left to right, nodes that are different from this node in each bit, and selects at most k (algorithm hyperparameters). For example, on node 00110 (for demonstration purposes, select 5 digits), the node routing information to be saved is:
1****: xxx,....,xxx(k)
01: xxx,....,xxx(k items)
000: xxx,....,xxx(k items)
0010: xxx,....,xxx(k items)
00111: xxx,....,xxx(k)
The above line is called k-bucket. From a visual point of view, the closer you are to yourself, the denser the nodes are, and the further away you are, the sparser the nodes are. This route search and node search algorithm also has lgN complexity.
- 上一篇: 小米布局区块链
- 下一篇: 基于区块链的系统开发,基于区块链的系统设计