BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain Exam CBDH Topic 3 Question 2 Discussion

Actual exam question for Blockchain's CBDH exam
Question #: 2
Topic #: 3
[All CBDH Questions]

Chaincode in Hyperledger Fabric is a decentralized transactional program which is running on the validating nodes. Chaincode implements the Chaincode interface in particular, Init and Invoke functions.

Which two statements about Chaincode is correct? (Select two.)

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Chaincode is a decentralized transactional program, running on the validating nodes. As with every chaincode, it implements the Chaincode interface in particular, Init and Invoke functions. Init is called during Instantiate transaction after the chaincode container has been established for the first time, allowing the chaincode to initialize its internal data. Invoke is called to update or query the ledger in a proposal transaction. Updated state variables are not committed to the ledger until the transaction is committed.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel