Blockchain Trading Process

Source: Internet
Author: User

The app/cli sends a INSTANTIATE/INVOKE request to the specified endorser node, and after endorser receives the request, if the relevant chaincode exists, the request is sent to The Chaincode side, and executes the correlation function (because the execution process, may involve multiple state reads and writes, and each read and write will involve the operation of the underlying DB, so this process involves multiple communication with the endorser node); After Chaincode execution is complete, Sends a message to the Endorser node, and if the execution succeeds, the endorser node encapsulates the execution result and aligns the endorse and returns the result to the APP/CLI side, and the APP/CLI node receives the result of the endorser's execution, and the transaction (which contains the read that was returned in the previous step) Write set) sent to the Order node The order node will sort and package several transactions into blocks, send to the commiter node commiter node Verify the transaction verification of each node through, synchronize chunks, write to the state database, Transaction completed. The essence of trading is actually a chaincode call.

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.