CBDH practice question 2 of 25

What type of peer executes chaincode?

Full set: 195 questions
Answer options
A: Anchor peer
B: Endorsing Peer Correct answer
C: Chaincode is executed by the client
D: Ordered Peer
E: Chaincode is not executed by a peer.
Correct Answer:
B. Endorsing Peer
Explanation

Endorsing Peer Endorser peer Peers 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.

Scroll to Top