Skip to content

Instantly share code, notes, and snippets.

@huahuayu
Created September 21, 2020 07:48
Show Gist options
  • Save huahuayu/2aa3f34c634dce6a3998293dcc098e61 to your computer and use it in GitHub Desktop.
Save huahuayu/2aa3f34c634dce6a3998293dcc098e61 to your computer and use it in GitHub Desktop.
{
"payload": {
"data": {
"config_update": {
"channel_id": "acmeChannel",
"isolated_data": {},
"read_set": {
"groups": {
"Application": {
"groups": {
"Org1": {
"groups": {},
"mod_policy": "",
"policies": {
"Admins": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Endorsement": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Readers": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Writers": {
"mod_policy": "",
"policy": null,
"version": "0"
}
},
"values": {
"MSP": {
"mod_policy": "",
"value": null,
"version": "0"
}
},
"version": "0"
}
},
"mod_policy": "",
"policies": {},
"values": {},
"version": "1"
}
},
"mod_policy": "",
"policies": {},
"values": {},
"version": "0"
},
"write_set": {
"groups": {
"Application": {
"groups": {
"Org1": {
"groups": {},
"mod_policy": "Admins",
"policies": {
"Admins": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Endorsement": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Readers": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Writers": {
"mod_policy": "",
"policy": null,
"version": "0"
}
},
"values": {
"AnchorPeers": {
"mod_policy": "Admins",
"value": {
"anchor_peers": [
{
"host": "peer1.acme.com",
"port": 7051
}
]
},
"version": "0"
},
"MSP": {
"mod_policy": "",
"value": null,
"version": "0"
}
},
"version": "1"
}
},
"mod_policy": "",
"policies": {},
"values": {},
"version": "1"
}
},
"mod_policy": "",
"policies": {},
"values": {},
"version": "0"
}
},
"signatures": []
},
"header": {
"channel_header": {
"channel_id": "acmeChannel",
"epoch": "0",
"extension": null,
"timestamp": "2020-09-21T07:18:52Z",
"tls_cert_hash": null,
"tx_id": "",
"type": 2,
"version": 0
},
"signature_header": null
}
},
"signature": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment