Automatic driving of blockchain Technology
1. Blockchain links
as the name suggests, blockchain is a chain composed of blocks. Each block is divided into block head and block body (including transaction data). The block head includes the prevhash value (also known as hash value) of the previous block used to realize the block link 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 head of the previous block, and the random number calculation rule determines which miner can obtain the right to record the block
2. Consensus mechanism
blockchain is accompanied by the birth of bitcoin, which is the basic technology architecture of bitcoin. Blockchain can be understood as an Internet-based decentralized accounting system. A decentralized digital currency system like bitcoin requires the consistency of accounting of honest nodes without a central node, which needs blockchain to complete. Therefore, the core of blockchain technology is a consensus mechanism to reach a consensus on the legitimacy of transactions between indivials without mutual trust without central control
there are four main types of consensus mechanisms in blockchain: pow, POS, dpos and distributed consistency algorithm
3. Unlocking script
script is an important technology to realize automatic verification and contract execution on blockchain. Every output of every transaction does not point to an address in the strict sense, but to a script. A script is like a set of rules that constrain how the receiver can spend the asset locked on the output
the validation of transactions also depends on scripts. At present, it depends on two kinds of scripts: Lock script and unlock script. Locking script is a condition added to the output transaction, which is realized by a script language and located in the output of the transaction. The unlocking script corresponds to the locking script. Only when the conditions required by the locking script are met can the assets corresponding to the script be spent, which is located in the input of the transaction. Many flexible conditions can be expressed by script language. Interpretation script is similar to the "virtual machine" in our programming field, which runs in every node of the blockchain network in a distributed way
4. Transaction rules
blockchain transaction is not only the basic unit of a block, but also the actual effective content recorded by the blockchain. A blockchain transaction can be a transfer, or the deployment of smart contracts and other transactions
as far as bitcoin is concerned, a transaction refers to a single payment transfer. The transaction rules are as follows:
1) the input and output of the transaction cannot be empty
2) for each input of a 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 the transaction not recorded in the blockchain, and each input of the transaction should come from the confirmed utxo. If it is found in the current trading pool, it is Shuanghua trading
3) for each input in a transaction, the corresponding output must be utxo
4) each input unlocking script must verify the compliance of the transaction together with the corresponding output locking script
5. Transaction priority
the priority of blockchain transaction is determined by the blockchain protocol rules. For bitcoin, the priority of a transaction to be included in a block is determined by the time when the transaction is broadcast to the network and the amount of the transaction. With the increase of transaction broadcast time on the network and the increase of transaction chain age, the priority of transaction will be improved and eventually be included by the block. For Ethereum, the priority of the transaction is also related to the transaction fee that the publisher is willing to pay. The higher the transaction fee that the publisher is willing to pay, the higher the priority that the transaction is included in the block
6. Merkle proof
the original application of Merkle proof is bitcoin, which was described and created by Satoshi Nakamoto in 2009. Bitcoin blockchain uses Merkle proof to store transactions in each block. So that the transaction can not be tampered with, but also easy to verify whether the transaction is included in a specific block
7. RLP
RLP (recursive length prefix) is one of the main encoding methods of object serialization in Ethereum. Its purpose is to encode the sequence of arbitrary nested binary data.
Blockchain and artificial intelligence are the next era
There is a good combination between the twoblockchain is a new application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies. 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 by using cryptographic methods. Each data block contains a batch of information about bitcoin network transactions, Used to verify the validity of its information (anti-counterfeiting) and generate the next block
artificial intelligence, abbreviated as AI. It is a new technical science to research and develop the theory, method, technology and application system for simulating, extending and expanding human intelligence
Artificial intelligence is a branch of computer science, which attempts to understand the essence of intelligence and proce a new intelligent machine that can respond in a way similar to human intelligence. The research in this field includes robot, language recognition, image recognition, natural language processing and expert system. Since the birth of artificial intelligence, its theory and technology have become increasingly mature, and its application fields have also been expanding. It can be imagined that the scientific and technological procts brought by artificial intelligence in the future will be the "container" of human intelligence. Artificial intelligence can simulate the information process of human consciousness and thinking. Artificial intelligence is not human intelligence, but it can think like human and may surpass human intelligence At present, blockchain technology can be divided into three versions At present, in the first three versions, there are some problems, such as the lack of decentralization, low scalability, the mismatch between the incentive of the blocker and the best profit of the whole network, and the network always runs at the maximum capacity, such as bitcoin and Ethereum, which affect the efficiencyVelas combines the two to develop a public chain that can learn and improve itself
Velas enhances its consensus algorithm through artificial intelligence (AI) optimized neural network, and concts self-learning and self optimized public chain, aiming at improving the security, interoperability and high scalability of transfer process and intelligent contract. Velas adopts the dpos consensus enhanced by AI, which completely realizes decentralization without recing the security and transaction speed
technically, Velas has integrated functions and services such as cross chain payment, multi signature wallet supporting multi currency, anonymous transfer, etc. Its Ecosystem focuses on all application scenarios covering transaction and payment, such as exchanges, multi signature wallets, merchant platforms, etc. after AI is fully connected to the system, the transfer fee can be completely exempted
and complete decentralization through AI enhanced dpos (aidpos) & gt; AI chooses who to mortgage the token according to the needs of blockchain & gt; Velas only blocks when needed & lt; Between every 1 second and every 2 minutes & gt& gt; Scalability (up to 30000 TPS) & gt; Block procers are selected by artificial intuition< br />
we need to change and innovate in the present era, and blockchain, artificial intelligence and new retail are the procts of the era innovation which has been popular in recent years, which makes us proud and proud. Blockchain and artificial intelligence have become the two most discussed concepts in 2018. Blockchain and artificial intelligence have loyal followers in various instries. Which technology can better represent the future development direction of science and technology
in the past year, blockchain, an epoch-making technology, has come into the public eye. It is considered to be the most likely technology to bring about disruptive changes, and is warmly sought after by venture capital and capital with keen sense of smell
whether Alfa dog wins the world champion of weiqi, the opening of private supermarket or the driving of automatic driving cars, artificial intelligence has become the main character of daily news. With Google announcing the establishment of AI China Center in China, the development of artificial intelligence has been written into the government work report. Today, China has become the main role of the world's artificial intelligence instry. 2017 is a wonderful year, known as the "first year of application" of blockchain and artificial intelligence. It can be predicted that in 2018, blockchain and artificial intelligence will still stand in the air and receive high attention from all parties
What are blockchain and artificial intelligence? Blockchain is a kind of decentralized media, which brings an innovative mode of value storage and circulation. Artificial intelligence makes machines create value like human beings. It is a new system of value creation. Therefore, blockchain represents the future proction relationship, while AI represents the future proctivity. From the hot circle of friends of "three o'clock sleepless blockchain" in the early morning to the extensive elaboration of artificial intelligence and blockchain in the government work report in 2018, these two kinds of cutting-edge technologies that firmly catch people's attention are so different that any attempt to combine them will inevitably arouse the curiosity and doubt of the world
blockchain and blockchain technology are two different circles. We often say that currency circle and chain circle are a common division. Currency circle discusses the growth value of currency, while chain circle discusses pure technology. Therefore, sometimes we say that the concept of blockchain is greater than blockchain technology. In fact, the technology of blockchain is not very difficult. Its technology can be used in many places, but it is its technology that sometimes limits its development. On the contrary, the problem of AI is how to survive with human beings. Artificial intelligence is promoting the progress and development of the times in many aspects, but human society is not really ready to meet the arrival of the era of artificial intelligence, whether in human consciousness, ethics, laws and regulations or social management, there is still a long way to go
with the rapid development of artificial intelligence technology, human beings are forced to develop further and constantly innovate rather than stop.