Hyperledger Fabric Trading Process

Source: Internet
Author: User
Tags hyperledger fabric

First of all, a simple look at the above transaction flow chart, the following is a detailed diagram of the entire fabric of the whole business process:

1. The block chain client sends the transaction request to all endorsed nodes (endorsing peer) that have been agreed before. Here is a description of the choice of endorsing peer is a certain range, not in all the endorsing peer arbitrary choice, is the transaction is the Chaincode and the Chaincode defined endorsement policy joint decision.

2. Endorsement node received the above information, first with the client's public key to verify its signature, endorsement node implementation of Intelligent contract (is simulated transactions, will not be written into the ledger), the results of the implementation feedback to the client.

3. The client collects "enough" endorsement of the results of the node, it shows that the transaction through the endorsement phase. It is then packaged and sent to the consensus node (orderers). The number of "sufficient" is how much, depending on the endorsement strategy endorsement policy is provided, on the contrary, if the client does not collect enough information, the transaction will be abolished. The client may choose to initiate the transaction again.

4. Although the consensus phase has different algorithms, the goal is to add effective transactions to the newly generated blocks and notify all nodes to keep their books in line. The consensus node broadcasts the results to all nodes (peer). Each node then updates its own ledger.

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.