ExamGecko
Question list
Search
Search

Question 115 - CBSA discussion

Report
Export

Chaincode is a decentralized transactional program, running on the validating nodes. As with every chaincode, it implements the ____________________ in particular, Init and Invoke functions.

What does is actually implemented?

A.
SDK
Answers
A.
SDK
B.
REST Interface
Answers
B.
REST Interface
C.
EVM
Answers
C.
EVM
D.
Chaincode interface
Answers
D.
Chaincode interface
Suggested answer: D

Explanation:

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.

asked 16/09/2024
KENEILWE DITHLAGE
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first