Use orderer org to fetch blocks
parent
0f2bb6d5fa
commit
2a766316b5
|
@ -29,6 +29,13 @@ verifyResult () {
|
|||
fi
|
||||
}
|
||||
|
||||
setOrdererEnvs () {
|
||||
CORE_PEER_LOCALMSPID="OrdererMSP"
|
||||
CORE_PEER_MSPCONFIGPATH=${ORDERER_ADMIN_MSP}
|
||||
CORE_PEER_TLS_ROOTCERT_FILE=${ORDERER_TLS_ROOTCERT}
|
||||
#t="\${ORG${org}_PEER${peer}_URL}" && CORE_PEER_ADDRESS=`eval echo $t`
|
||||
}
|
||||
|
||||
# Set global env variables for fabric usage
|
||||
# Usage: setEnvs org peer
|
||||
setEnvs () {
|
||||
|
@ -393,7 +400,8 @@ channelFetch () {
|
|||
local num=$4
|
||||
echo_b "=== Fetch block $num of channel $channel === "
|
||||
|
||||
setEnvs $org $peer
|
||||
#setEnvs $org $peer
|
||||
setOrdererEnvs
|
||||
# while 'peer chaincode' command can get the orderer endpoint from the peer (if join was successful),
|
||||
# lets supply it directly as we know it using the "-o" option
|
||||
if [ -z "${CORE_PEER_TLS_ENABLED}" -o "${CORE_PEER_TLS_ENABLED}" = "false" ]; then
|
||||
|
|
|
@ -22,11 +22,11 @@ done
|
|||
|
||||
echo_g "Block fetching done!"
|
||||
|
||||
exit 0
|
||||
|
||||
for i in {0..2}
|
||||
for i in {0..1}
|
||||
do
|
||||
echo_b "Fetch block $i"
|
||||
channelFetch ${SYS_CHANNEL} $org $peer $i
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -18,11 +18,13 @@ PEERS=( 0 1 )
|
|||
ORDERER_TLS_CA=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
|
||||
ORDERER_MSP=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp
|
||||
|
||||
ORDERER_TLS_ROOTCERT=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt
|
||||
ORG1_PEER0_TLS_ROOTCERT=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||
ORG1_PEER1_TLS_ROOTCERT=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt
|
||||
ORG2_PEER0_TLS_ROOTCERT=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
||||
ORG2_PEER1_TLS_ROOTCERT=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt
|
||||
|
||||
ORDERER_ADMIN_MSP=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp
|
||||
ORG1_ADMIN_MSP=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
||||
ORG2_ADMIN_MSP=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,509 @@
|
|||
{
|
||||
"data": {
|
||||
"data": [
|
||||
{
|
||||
"payload": {
|
||||
"data": {
|
||||
"config": {
|
||||
"channel_group": {
|
||||
"groups": {
|
||||
"Consortiums": {
|
||||
"groups": {
|
||||
"SampleConsortium": {
|
||||
"groups": {
|
||||
"Org1MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNHVENDQWNDZ0F3SUJBZ0lSQUoyZlZxR0MzMlhDNVFwZ1lzbXZZeEV3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIRE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kM3d3hXVWRlL3RwWGg5ZWs9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Org2MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRV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dSVkhTVUFNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdLUVlEVlIwT0JDSUVJRFBmdzUrMzVjTWkKRGFmWVJnOUxUbkhDdXV3N3hYbVZRZnhOQ0pxaWpSeHVNQW9HQ0NxR1NNNDlCQU1DQTBjQU1FUUNJQUsvMHNJYgpuL3Z0K0ZwSnc2VjJCMXZoZGpreUs1WHhENXpodENneXhTZDBBaUJNRVdTWjhCc2l0QkltM0JXNVdiVEJwYmllCnJBLzZaa2RVOFRQWGIrT3NZZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"values": {
|
||||
"ChannelCreationPolicy": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"value": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"rule": {
|
||||
"n_out_of": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Orderer": {
|
||||
"groups": {
|
||||
"OrdererOrg": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNDakNDQWJDZ0F3SUJBZ0lRQzUybXkzR1Fna21DbExDTFJhblFUakFLQmdncWhrak9QUVFEQWpCcE1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVVNQklHQTFVRUNoTUxaWGhoYlhCc1pTNWpiMjB4RnpBVkJnTlZCQU1URG1OaExtVjRZVzF3CmJHVXVZMjl0TUI0WERURTNNVEl3TVRFek5UY3lNRm9YRFRJM01URXlPVEV6TlRjeU1Gb3dWakVMTUFrR0ExVUUKQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkdjbUZ1WTJsegpZMjh4R2pBWUJnTlZCQU1NRVVGa2JXbHVRR1Y0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJCnpqMERBUWNEUWdBRWg0VGlXUjAwQitXc1NzNmlEMlhnbFRRZnhjZDRjZ2x3aDZEM1NKc2pqcjBYRTZlaS9RT3oKRUp5dnhBVUxQK0NpenlLTGVlMmFYb2tLbmJZMnRaY3hWYU5OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3RwpBMVVkRXdFQi93UUNNQUF3S3dZRFZSMGpCQ1F3SW9BZ0ZNZ1h2clUyTlVwckxkN3pwYnNaM1dVamNmUlhLaFQ3CjMvUFpzYkI2YWg0d0NnWUlLb1pJemowRUF3SURTQUF3UlFJaEFObWdVZWJrZmdmR3A2YmtSeE1vOTVTbFE3dk0KMHM4d04xN1d6ekxqNzVvK0FpQlFZSlpScVg3b203bktZMnlwa0lkVDJUTnBBM2xhWmlMRWdnNUd4SmNocUE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
],
|
||||
"crypto_config": {
|
||||
"identity_identifier_hash_function": "SHA256",
|
||||
"signature_hash_family": "SHA2"
|
||||
},
|
||||
"name": "OrdererMSP",
|
||||
"root_certs": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNMekNDQWRhZ0F3SUJBZ0lSQUplRnlNcVlxMWZCVDNreFd4L1YxTU13Q2dZSUtvWkl6ajBFQXdJd2FURUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhGREFTQmdOVkJBb1RDMlY0WVcxd2JHVXVZMjl0TVJjd0ZRWURWUVFERXc1allTNWxlR0Z0CmNHeGxMbU52YlRBZUZ3MHhOekV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hCc1pTNWpiMjB4R2pBWUJnTlZCQU1URVhSc2MyTmhMbVY0CllXMXdiR1V1WTI5dE1CNFhEVEUzTVRJd01URXpOVGN5TUZvWERUSTNNVEV5T1RFek5UY3lNRm93YkRFTE1Ba0cKQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2tOaGJHbG1iM0p1YVdFeEZqQVVCZ05WQkFjVERWTmhiaUJHY21GdQpZMmx6WTI4eEZEQVNCZ05WQkFvVEMyVjRZVzF3YkdVdVkyOXRNUm93R0FZRFZRUURFeEYwYkhOallTNWxlR0Z0CmNHeGxMbU52YlRCWk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQkhBQTBBYWhyMTJyU0tYMUtUbTQKd3daQ2U2QmhXc1JNY1o2RlZLaDFOYlV3Zi9TWmJ4SWloWHBOVXNJUGpHTWhwMUZod0ZiSjZZVDZUV0dLUDJNTQptdUdqWHpCZE1BNEdBMVVkRHdFQi93UUVBd0lCcGpBUEJnTlZIU1VFQ0RBR0JnUlZIU1VBTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0tRWURWUjBPQkNJRUlBKzZTTDhiUTd0Qk9MSVpUcjJ3VWtZVVk4WVVYWkcvNlVheVNseHcKTG0vck1Bb0dDQ3FHU000OUJBTUNBMGdBTUVVQ0lRQy9wRVZFQms4Zm9HWU04TEpZdFFmSTRobTlpQys0TFNPMQpVUUJudHpRUmpnSWdkdXFOaEl1SG5haVNsbS8rZWxyaSttQ2xXNFhtOTYzenlWS1RXL1dNd3BrPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BlockValidation": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BatchSize": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"absolute_max_bytes": 102760448,
|
||||
"max_message_count": 10,
|
||||
"preferred_max_bytes": 524288
|
||||
}
|
||||
},
|
||||
"BatchTimeout": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"timeout": "2s"
|
||||
}
|
||||
},
|
||||
"ChannelRestrictions": {
|
||||
"mod_policy": "Admins"
|
||||
},
|
||||
"ConsensusType": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"type": "solo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BlockDataHashingStructure": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"width": 4294967295
|
||||
}
|
||||
},
|
||||
"HashingAlgorithm": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"name": "SHA256"
|
||||
}
|
||||
},
|
||||
"OrdererAddresses": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"value": {
|
||||
"addresses": [
|
||||
"orderer.example.com:7050"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"header": {
|
||||
"channel_header": {
|
||||
"channel_id": "testchainid",
|
||||
"timestamp": "2017-12-01T14:02:20.000Z",
|
||||
"tx_id": "d8a16e3a703f1e3b77880d94d15bdbb9db3899ac6817d959660f658bb9543aef",
|
||||
"type": 1,
|
||||
"version": 1
|
||||
},
|
||||
"signature_header": {
|
||||
"nonce": "4r5WvGmFy5WxfmCTZ8xNzU4V1+FvNyC3"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"header": {
|
||||
"data_hash": "gk4cjc4hyMu1KR7G2cGuP5gQJ0tNzPedFpplzN4zASk="
|
||||
},
|
||||
"metadata": {
|
||||
"metadata": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,490 @@
|
|||
{
|
||||
"data": {
|
||||
"config": {
|
||||
"channel_group": {
|
||||
"groups": {
|
||||
"Consortiums": {
|
||||
"groups": {
|
||||
"SampleConsortium": {
|
||||
"groups": {
|
||||
"Org1MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNHVENDQWNDZ0F3SUJBZ0lSQUoyZlZxR0MzMlhDNVFwZ1lzbXZZeEV3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekV1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGN4T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|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Org2MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNHVENDQWIrZ0F3SUJBZ0lRSCsyZ2tIUVZTWUd3SE5tZGpWVzFyakFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTWk1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NaTVsZUdGdGNHeGxMbU52YlRBZUZ3MHhOekV5TURFeE16VTNNakJhRncweU56RXhNamt4TXpVM01qQmEKTUZzeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVApZVzRnUm5KaGJtTnBjMk52TVI4d0hRWURWUVFEREJaQlpHMXBia0J2Y21jeUxtVjRZVzF3YkdVdVkyOXRNRmt3CkV3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFVC8rcVhDaS91YWN5Uk5VWHorTEZXaVdremZZYmljNFcKeW1FcEp6UE5BK213akpPRnVERjd1cVZrVGYrekdCZ2I2SWg4TDFrRWU1TGEzQitLdW4ySHNxTk5NRXN3RGdZRApWUjBQQVFIL0JBUURBZ2VBTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEVlIwakJDUXdJb0FnVEYxU1RnMU5lNitXCkc5NEV5ditRdEFFdTFtWTZSeGVsVGMzeHdhblR5dnd3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQU5WQUxIa2EKQlRENVJQU1lZNlpGQmxtblJ2TzZLeWp1S3FZNURmZzdUZ2ROQWlBNVJmekdrTGNyWE4vMDZ4ZzR1SEF2Z1NkYgpYazFYeTJDMmFWUWpPY3IrK3c9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
],
|
||||
"crypto_config": {
|
||||
"identity_identifier_hash_function": "SHA256",
|
||||
"signature_hash_family": "SHA2"
|
||||
},
|
||||
"name": "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dzUrMzVjTWkKRGFmWVJnOUxUbkhDdXV3N3hYbVZRZnhOQ0pxaWpSeHVNQW9HQ0NxR1NNNDlCQU1DQTBjQU1FUUNJQUsvMHNJYgpuL3Z0K0ZwSnc2VjJCMXZoZGpreUs1WHhENXpodENneXhTZDBBaUJNRVdTWjhCc2l0QkltM0JXNVdiVEJwYmllCnJBLzZaa2RVOFRQWGIrT3NZZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"values": {
|
||||
"ChannelCreationPolicy": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"value": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"rule": {
|
||||
"n_out_of": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Orderer": {
|
||||
"groups": {
|
||||
"OrdererOrg": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNDakNDQWJDZ0F3SUJBZ0lRQzUybXkzR1Fna21DbExDTFJhblFUakFLQmdncWhrak9QUVFEQWpCcE1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVVNQklHQTFVRUNoTUxaWGhoYlhCc1pTNWpiMjB4RnpBVkJnTlZCQU1URG1OaExtVjRZVzF3CmJHVXVZMjl0TUI0WERURTNNVEl3TVRFek5UY3lNRm9YRFRJM01URXlPVEV6TlRjeU1Gb3dWakVMTUFrR0ExVUUKQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkdjbUZ1WTJsegpZMjh4R2pBWUJnTlZCQU1NRVVGa2JXbHVRR1Y0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJCnpqMERBUWNEUWdBRWg0VGlXUjAwQitXc1NzNmlEMlhnbFRRZnhjZDRjZ2x3aDZEM1NKc2pqcjBYRTZlaS9RT3oKRUp5dnhBVUxQK0NpenlLTGVlMmFYb2tLbmJZMnRaY3hWYU5OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3RwpBMVVkRXdFQi93UUNNQUF3S3dZRFZSMGpCQ1F3SW9BZ0ZNZ1h2clUyTlVwckxkN3pwYnNaM1dVamNmUlhLaFQ3CjMvUFpzYkI2YWg0d0NnWUlLb1pJemowRUF3SURTQUF3UlFJaEFObWdVZWJrZmdmR3A2YmtSeE1vOTVTbFE3dk0KMHM4d04xN1d6ekxqNzVvK0FpQlFZSlpScVg3b203bktZMnlwa0lkVDJUTnBBM2xhWmlMRWdnNUd4SmNocUE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
],
|
||||
"crypto_config": {
|
||||
"identity_identifier_hash_function": "SHA256",
|
||||
"signature_hash_family": "SHA2"
|
||||
},
|
||||
"name": "OrdererMSP",
|
||||
"root_certs": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNMekNDQWRhZ0F3SUJBZ0lSQUplRnlNcVlxMWZCVDNreFd4L1YxTU13Q2dZSUtvWkl6ajBFQXdJd2FURUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhGREFTQmdOVkJBb1RDMlY0WVcxd2JHVXVZMjl0TVJjd0ZRWURWUVFERXc1allTNWxlR0Z0CmNHeGxMbU52YlRBZUZ3MHhOekV5TURFeE16VTNNakJhRncweU56RXhNamt4TXpVM01qQmFNR2t4Q3pBSkJnTlYKQkFZVEF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E1CNFhEVEUzTVRJd01URXpOVGN5TUZvWERUSTNNVEV5T1RFek5UY3lNRm93YkRFTE1Ba0cKQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2tOaGJHbG1iM0p1YVdFeEZqQVVCZ05WQkFjVERWTmhiaUJHY21GdQpZMmx6WTI4eEZEQVNCZ05WQkFvVEMyVjRZVzF3YkdVdVkyOXRNUm93R0FZRFZRUURFeEYwYkhOallTNWxlR0Z0CmNHeGxMbU52YlRCWk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQkhBQTBBYWhyMTJyU0tYMUtUbTQKd3daQ2U2QmhXc1JNY1o2RlZLaDFOYlV3Zi9TWmJ4SWloWHBOVXNJUGpHTWhwMUZod0ZiSjZZVDZUV0dLUDJNTQptdUdqWHpCZE1BNEdBMVVkRHdFQi93UUVBd0lCcGpBUEJnTlZIU1VFQ0RBR0JnUlZIU1VBTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0tRWURWUjBPQkNJRUlBKzZTTDhiUTd0Qk9MSVpUcjJ3VWtZVVk4WVVYWkcvNlVheVNseHcKTG0vck1Bb0dDQ3FHU000OUJBTUNBMGdBTUVVQ0lRQy9wRVZFQms4Zm9HWU04TEpZdFFmSTRobTlpQys0TFNPMQpVUUJudHpRUmpnSWdkdXFOaEl1SG5haVNsbS8rZWxyaSttQ2xXNFhtOTYzenlWS1RXL1dNd3BrPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BlockValidation": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BatchSize": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"absolute_max_bytes": 102760448,
|
||||
"max_message_count": 10,
|
||||
"preferred_max_bytes": 524288
|
||||
}
|
||||
},
|
||||
"BatchTimeout": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"timeout": "2s"
|
||||
}
|
||||
},
|
||||
"ChannelRestrictions": {
|
||||
"mod_policy": "Admins"
|
||||
},
|
||||
"ConsensusType": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"type": "solo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BlockDataHashingStructure": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"width": 4294967295
|
||||
}
|
||||
},
|
||||
"HashingAlgorithm": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"name": "SHA256"
|
||||
}
|
||||
},
|
||||
"OrdererAddresses": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"value": {
|
||||
"addresses": [
|
||||
"orderer.example.com:7050"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"header": {
|
||||
"channel_header": {
|
||||
"channel_id": "testchainid",
|
||||
"timestamp": "2017-12-01T14:02:20.000Z",
|
||||
"tx_id": "d8a16e3a703f1e3b77880d94d15bdbb9db3899ac6817d959660f658bb9543aef",
|
||||
"type": 1,
|
||||
"version": 1
|
||||
},
|
||||
"signature_header": {
|
||||
"nonce": "4r5WvGmFy5WxfmCTZ8xNzU4V1+FvNyC3"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue