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 3, 2018 in Blockchain by aryya
• 7,450 points
1,343 views

1 answer to this question.

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 3, 2018 by charlie_brown
• 7,720 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,350 points
1,225 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
• 69,210 points
2,681 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,215 views
0 votes
1 answer
+1 vote
3 answers

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

Basically you implement requested logic on by ...READ MORE

answered Aug 30, 2018 in Blockchain by Artem
1,219 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP