Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam HFCP Topic 4 Question 26 Discussion

Actual exam question for Linux Foundation's HFCP exam
Question #: 26
Topic #: 4
[All HFCP Questions]

What happens if the user submits a transaction with no matching function?

Show Suggested Answer Hide Answer
Suggested Answer: D

In Hyperledger Fabric, if a user submits a transaction with no matching function specified in the smart contract, the unknownTransaction function is invoked by default. This function serves as a catch-all method that can be used to handle cases where the transaction type is not recognized, providing a mechanism to manage or log these occurrences effectively .


Contribute your Thoughts:

Lashawna
2 days ago
Option B is the correct answer. Why would the peer even process a transaction with no matching function? That's just asking for trouble.
upvoted 0 times
...
Ashanti
6 days ago
I disagree, I believe the correct answer is A) The peer will have rejected the transaction.
upvoted 0 times
...
Markus
9 days ago
I think the answer is D) The unknownTransaction function is called.
upvoted 0 times
...

Save Cancel