Where is the hyperlewdger fabric endorsement policy stored?

0 votes

I used balance-transfer of fabric-samples, and I confirmed blocks.
endorsement-policy wasn't in the block.

Where is Endorsement policy stored?
Also, once endorsment-policy is instantiated, is it possible to tamper/change the policy?
(I using Hyperledger Fabric v1.1.0-preview)

Jul 2, 2018 in Blockchain by ariaholic
• 7,320 points
91 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I don't know exactly where is the Endorsement Policy stored.

May be someone from HLF TSC would help you here. But I know for sure that it is in no form which can be tampered with. But it is possible to change the endorsement policy of an already instantiated chaincode. Please refer to this link for a CLI based example Fabric Documentation v1.1 : section Upgrade & Invoke.

In addition to that, if I remember correctly, it can be done from the Java SDK as well. We used to specify a different endorsement policy yaml and change the version of the chaincode and used to install and instantiate. [ You need to change the version, so you have to install another copy even if there is no binary change :( ] As all the SDKs follow the same spec, NodeJS's upgrade API should also support this

answered Jul 2, 2018 by charlie_brown
• 7,710 points

Related Questions In Blockchain

+1 vote
1 answer
0 votes
1 answer

Where is the data stored in blockchain?

The smart contract is just the business ...READ MORE

answered Jun 29, 2018 in Blockchain by slayer
• 29,040 points
64 views
0 votes
1 answer

Where is the cryptogen tool in fabric?

Go in the fabric directory and then ...READ MORE

answered Oct 29, 2018 in Blockchain by Omkar
• 66,910 points
435 views
0 votes
1 answer
0 votes
1 answer
+1 vote
3 answers

Is it possible to store data about arbitrary objects on the blockchain using smart contracts?

Consider following tutorial from Hyperledger Fabric "Getting Started" pages. Basically ...READ MORE

answered Aug 30, 2018 in Blockchain by Artem
73 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.