Explore Courses Blog Tutorials Interview Questions
0 votes
in Blockchain by (12.7k points)

I am studying and running samples from the Hyperledger Fabric samples .

According to my understanding:-

Endorsement policies define which peers need to agree on the results of a transaction before it can be added to the ledger.

We can define this policy in our client code during chaincode instantiation.

(Is endorsement applied during query proposal as well or only during transaction/invoke proposal ?)

Currently, I am running the Build your First Network n/w from the Fabric samples and using Fabric Java SDK.

My question is how to check using Fabric Java SDK, which peers are endorsing the transaction, the number of endorsers? i.e how to check if the endorsement is working properly.


1 Answer

0 votes
by (29.5k points)

Hi, what you are looking for is TransactionActionInfo class from the Java SDK has endorsers and endorsement count.

Browse Categories