Skip to content

v2.1.1 Release Notes

Compare
Choose a tag to compare
@eledra89 eledra89 released this 13 Mar 09:18
· 46 commits to master since this release
1f218fa

This update add the getDefaultEndorsermentPolicy to utlis.common.js
The default endorsement policy is now forced to be "Signed by all organization"
For example, a default policy for a network with 2 organizations:

{
  identities: [
    { role: { name: "member", mspId: "org1" }},
    { role: { name: "member", mspId: "org2" }}
  ],
  policy: {
    "2-of": [{ "signed-by": 0 }, { "signed-by": 1 }]
  }
}