The basic principle of blockchain--how to set up the center of the chain

Source: Internet
Author: User
Tags hash pow

Ledger structure:
consensus mechanism: proof of workload mechanism (Proof of work)


Other proof mechanisms:
 
In the Bitcoin blockchain, when a transaction is generated through a node or purse, the transaction needs to be transmitted to other nodes for verification. The practice is to encrypt the transaction data through a digital signature and derive a string representing the unique hash value of the transaction via a hash function, and then broadcast the hash value (broadcast) to the other participating nodes in the Bitcoin blockchain network.
How the blockchain works in terms of a single transaction:
    When a new transaction is generated, it is broadcast to the other participating nodes in the blockchain network, each of which collects several unverified hash values into chunks, each of which can contain hundreds of or thousands of trades. It is a common practice for each node to calculate the work proof to determine who can verify the transaction, and to validate the transaction by the node that calculates the result the quickest. The fastest completion of the POW node, will broadcast their own chunks to other nodes, the other nodes will confirm that the block contains the transaction is valid, confirmed that it has not been repeated costs and has an effective digital signature, accept the block, when the block is formally connected to the blockchain, can not tamper with the data. Once all nodes have accepted the chunk, the blocks that were previously not finished with the POW work will be invalidated, and each node will reestablish a chunk to continue the next POW calculation.
 
Ps:
Some key technologies of blockchain:
1, Cloud Computing (Docker)
2, distributed storage
3, encryption algorithm
4, distributed Protocol
5, micro-service
6, Big Data
Open Source software:
Ethereum:https://github.com/ethereum/ethereumj
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.