Skip to content

Commit

Permalink
Merge "[FAB-6600] Sample chaincode for private data"
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rWin authored and Gerrit Code Review committed Jun 3, 2018
2 parents 8c85450 + 5956178 commit f65f493
Show file tree
Hide file tree
Showing 3 changed files with 651 additions and 0 deletions.
16 changes: 16 additions & 0 deletions chaincode/marbles02_private/collections_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"name": "collectionMarbles",
"policy": "OR('Org1MSP.member', 'Org2MSP.member')",
"requiredPeerCount": 0,
"maxPeerCount": 3,
"blockToLive":1000000
},
{
"name": "collectionMarblePrivateDetails",
"policy": "OR('Org1MSP.member')",
"requiredPeerCount": 0,
"maxPeerCount": 3,
"blockToLive":3
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"index":{"fields":["docType","owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"}
Loading

0 comments on commit f65f493

Please sign in to comment.