ExamGecko
Question list
Search
Search

Related questions











Question 25 - CBDH discussion

Report
Export

What type of peer

executes chaincode?

A.
Anchor peer
Answers
A.
Anchor peer
B.
Endorsing Peer
Answers
B.
Endorsing Peer
C.
Chaincode is executed by the client
Answers
C.
Chaincode is executed by the client
D.
Ordered Peer
Answers
D.
Ordered Peer
E.
Chaincode is not executed by a peer.
Answers
E.
Chaincode is not executed by a peer.
Suggested answer: B

Explanation:

Endorsing Peer can be marked as Endorser peer (i.e. Endorsing peer). Upon receiving the “transaction invocation request” from the Client application the Endorser peer Validates the transaction. Check certificate details and roles of the requester. Executes the Chaincode (Smart Contract) and simulates the outcome of the transaction. But it does not update the ledger. At the end of the above two tasks the Endorser may approve to disapprove the transaction. As only the Endorser node executes the Chaincode (Smart Contract) so there is no necessity to install Chaincode in each and every node of the network which increases the scalability of the network.

asked 16/09/2024
aaron black
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first