Position: Home page » Blockchain » It's nonce that connects blockchains

It's nonce that connects blockchains

Publish: 2021-05-26 07:58:24
1. In many cases of blockchain commercial application, we can always see the word baas. Baas is the abbreviation of blockchain as a service, which is translated into "blockchain as a service" in Chinese. So what is blockchain as a service baas? With this question, we will follow Xiao Wang of Renren blockchain technology team to discuss it carefully
according to Xiao Wang, the concept of blockchain as a service (baas) is mainly proposed by Microsoft and IBM. To put it bluntly, it is actually a new type of cloud service, a cloud service combined with blockchain technology. For example, Microsoft's azure cloud computing platform and IBM's bluemix garage cloud platform all provide blockchain as a service baas
blockchain as a service (baas) is a space created by enterprises such as Microsoft and IBM from their own cloud service network to run a blockchain node. Compared with ordinary nodes and exchange nodes, the main purpose of baas nodes is to quickly establish the development environment they need, and provide a series of operation services based on blockchain, such as search query, transaction submission, data analysis, etc. these services can be centralized or decentralized to help developers verify their concepts and models faster. The service of baas node is reflected in: it is more instrumental and easy to create, deploy, run and monitor blockchain.
2.

Blockchain is a term in the field of information technology. In essence, it is a shared database. The data or information stored in it is characterized by "unforgeability", "trace in the whole process", "traceability", "openness and transparency" and "collective maintenance". Based on these characteristics, blockchain technology has laid a solid "trust" foundation, created a reliable "cooperation" mechanism, and has broad application prospects

on January 10, 2019, the state Internet Information Office issued the regulations on the management of blockchain information services. In October 24, 2019, ring the eighteenth collective learning of the Central Political Bureau, general secretary Xi Jinping stressed that "block chain as an important breakthrough in core technology and independent innovation", "accelerating the development of block chain technology and instrial innovation". "Blockchain" has entered the public field of vision and become the focus of social attention

on December 2, 2019, the word was selected into the top ten catchwords of "biting words" in 2019

extended data:

Application of blockchain Finance:

since 2016, the major financial giants have also carried out blockchain innovation projects to explore the possibility of applying blockchain Technology in various financial scenarios. In particular, Puyin group took the lead in creating a "blockchain +" standard digital currency

standard digital currency refers to the process of assets identification, evaluation, right confirmation and insurance completed by a third party organization, which is written into the blockchain through careful digital algorithm to form the standard corresponding relationship between assets and digital currency, which is called standard digital currency

in order to realize the great leap forward development of blockchain finance, promote the new development of China's economy, accelerate the circulation of global assets, and realize the dream of rejuvenation that has been struggling for generations, Puyin group will hold the Guiyang strategic development ceremony of Puyin blockchain finance in Guizhou on December 9, 2016

the meeting will discuss the realization of digital circulation of assets by blockchain, the financial transaction mode of blockchain, and the application of blockchain services and social public instry. This conference will mark the beginning of the application of blockchain finance and the change and development of the new financial ecology

3. Introction to seven core technologies of blockchain operation on January 15, 2018
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.
4.

According to experts, blockchain can be understood as a distributed public ledger, which is connected by various blocks into a chain. In the traditional bookkeeping system, the bookkeeping right is controlled by the central server

on the "account book" of blockchain, every point in the chain can record information on it, forming a point-to-point accounting system. Therefore, blockchain technology is considered as a decentralized technology

For example, in a village of 100 people, Zhang San bought a cow from Li Si and paid him 10000 yuan. In the past, he had to rely on Zhao Liu, a middleman, to transfer his 10000 yuan to Li Si

with the blockchain system, Zhang San can directly record his 10000 yuan to Li Si's account book, and the transaction information will be transmitted to the whole village, that is, the whole blockchain system, so that other 98 people can see the information. The whole transaction process is recorded by the system, which has the advantage of traceability to prevent the loss of Zhao Liu's account book or Li Si's denial of account

extended data

in 2008, Nakamoto first proposed the concept of blockchain. In the following years, blockchain became the core component of electronic currency bitcoin: as a public account book for all transactions. By using peer-to-peer network and distributed timestamp server, the blockchain database can be managed independently

the blockchain invented for bitcoin makes it the first digital currency to solve the problem of repeated consumption. The design of bitcoin has become a source of inspiration for other applications

5. How can blockchain be connected in sequence
blockchain is composed of a series of blocks generated by cryptographic algorithm. Each block is filled with transaction records, and the blocks are connected in sequence to form a chain structure, which is the blockchain ledger
taking bitcoin as an example, when miners generate new blocks, they need to calculate the new hash value and random number according to the hash value, new transaction block and random number of the previous block. In other words, each block is generated on the basis of the previous block data, which ensures the uniqueness of the blockchain data
because subtle changes in transaction records will completely change the result of hash value, miners can't cheat when competing for computing power. Each miner must wait until the previous block is generated before starting to calculate the qualified random number according to the data of the previous block, which ensures the fairness of mining.
6. The solutions are as follows:
1. Regularly clean the st in the computer, turn off the computer, open the chassis, use a hair dryer and blow with cold air< At ordinary times, 360 guard, Jinshan guard and other tools should be used to clean up the system garbage and temporary files generated by the Internet, and check and kill malicious

Italian software
3. The computer configuration is poor, so try to set the virtual memory as large as possible, and install anti-virus software with less resources, such as NOD32, or only one

auxiliary anti-virus software
4. Try to set the IP to static IP, which can rece the startup time of the computer
5. Don't put too many files and icons on the computer desktop, which will slow down the reaction of the computer. Try not to install the software on disk C
6. Regularly defragment the disk. Open the drive of my computer to defragment - properties - tools

select the disk to be defragmented. Open the "disk defragmenter" window - Analysis - defragmentation - the system will start to defragment

.
7. Take a look at which clan you belong to. Each clan digs different mines in Gao'an. However, mining in Gao'an can not meet the demand of monthly cards. Therefore, it is suggested that LZ join the 00 Legion as soon as possible to have safe and efficient mining sites as well as mining bonus.
8. It's a public list of all the transactions that have been sent. It ensures that everyone knows the real owner (address) of each bitcoin. All full function nodes on the network will keep a of the blockchain
block is an independent unit on the blockchain. Each block contains the hash value of the previous block (so it is impossible for someone to delete or modify any block on the blockchain without making some hash values on the blockchain mismatched), as well as as as many unconfirmed transactions that can be found on the network, and a number called nonce random number. Someone who is creating a block must find a suitable nonce random number so that the hash value of the block is lower than a certain threshold (the target value). This can only be done by trying all the random numbers one after another until a random number with the desired hash value is found. The lower the target value is, the more difficult it is to find a suitable random number. Deliberately making block creation so difficult is to prevent someone from spending bitcoin, and then create and promote his own blockchain that does not include the transaction that shows that bitcoin has been spent just now, erase the transaction record once and allow him to spend bitcoin twice. When a valid block is created, it will be distributed to the whole network, and then search for the next block based on this block.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750