如何更改渠道政策

时间:2018-11-10 05:53:08

标签: hyperledger-fabric hyperledger hyperledger-fabric-ca

我的问题涉及https://hyperledger-fabric.readthedocs.io/en/latest/channel_update_tutorial.html#fetch-the-configuration

因此,我可以像提取最新的配置块一样执行相同的步骤,但是不要像这样向频道更改频道策略添加新的组织:

policies": {
  "Admins": {
    "mod_policy": "Admins",
    "policy": {
      "type": 3,
      "value": {
        "rule": "MAJORITY",
        "sub_policy": "Admins"
      }
    },
    "version": "0"
}

TO

"policies": {
  "Admins": {
    "mod_policy": "Admins",
    "policy": {
      "type": 3,
      "value": {
        "rule": "ANY", // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        "sub_policy": "Admins"
      }
    },
    "version": "0"
}

非常感谢您的帮助!

0 个答案:

没有答案