Fix bootstrap peer
parent
7875441ad4
commit
636d561928
|
@ -33,6 +33,7 @@ PEER_TLS_PATH = '/etc/hyperledger/fabric/tls'
|
|||
|
||||
|
||||
yaml = YAML()
|
||||
yaml.explicit_start = True
|
||||
|
||||
|
||||
def list_to_dict(l, sep=':'):
|
|
@ -47,22 +47,22 @@ ready: # create/join channel, install/instantiate cc
|
|||
|
||||
make test_channel_create
|
||||
make test_channel_join
|
||||
#make update_anchors
|
||||
make update_anchors
|
||||
|
||||
make test_cc_install
|
||||
#make test_cc_instantiate
|
||||
#make test_cc_invoke_query
|
||||
make test_cc_instantiate
|
||||
make test_cc_invoke_query
|
||||
|
||||
#make test_lscc # test lscc operations
|
||||
#make test_qscc # test qscc operations
|
||||
make test_lscc # test lscc operations
|
||||
make test_qscc # test qscc operations
|
||||
|
||||
#make test_fetch_blocks # fetch block files
|
||||
#make test_config_update
|
||||
#make test_channel_update
|
||||
make test_fetch_blocks # fetch block files
|
||||
make test_config_update
|
||||
#make test_channel_update # not work with this version
|
||||
|
||||
#make logs_save
|
||||
#make test_fetch_blocks # fetch block files again
|
||||
#make test_configtxlator
|
||||
make logs_save
|
||||
make test_fetch_blocks # fetch block files again
|
||||
make test_configtxlator
|
||||
|
||||
@echo "Now the fabric network is ready to play"
|
||||
@echo "run 'make cli' to enter into the fabric-cli container."
|
||||
|
|
|
@ -142,7 +142,7 @@ services:
|
|||
- CORE_PEER_ADDRESS=peer1.org2.example.com:7051
|
||||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org2.example.com:7051
|
||||
- CORE_PEER_CHAINCODELISTENADDRESS=peer1.org2.example.com:7052
|
||||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer1.org2.example.com:7051
|
||||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org2.example.com:7051
|
||||
- CORE_PEER_LOCALMSPID=Org2MSP
|
||||
- CORE_PEER_TLS_ENABLED=true
|
||||
volumes:
|
||||
|
|
|
@ -22,7 +22,6 @@ import (
|
|||
|
||||
"github.com/hyperledger/fabric/core/chaincode/shim"
|
||||
pb "github.com/hyperledger/fabric/protos/peer"
|
||||
"github.com/pquerna/ffjson/ffjson"
|
||||
)
|
||||
|
||||
// SimpleChaincode example simple Chaincode implementation
|
||||
|
@ -64,11 +63,6 @@ func (t *SimpleChaincode) Init(stub shim.ChaincodeStubInterface) pb.Response {
|
|||
return shim.Error(err.Error())
|
||||
}
|
||||
|
||||
item := map[string]string {"hi":"morning"}
|
||||
|
||||
buf, err := ffjson.Marshal(&item)
|
||||
fmt.Printf("ffjson result=%v\n", buf)
|
||||
|
||||
return shim.Success(nil)
|
||||
}
|
||||
|
||||
|
|
|
@ -414,7 +414,7 @@ chaincodeQuery () {
|
|||
setEnvs $org $peer
|
||||
# we either get a successful response, or reach TIMEOUT
|
||||
while [ "$(($(date +%s)-starttime))" -lt "$TIMEOUT" -a $rc -ne 0 ]; do
|
||||
echo_b "Attempting to Query peer$peer ...$(($(date +%s)-starttime)) secs"
|
||||
echo_b "Attempting to Query peer${peer}.org${org} ...$(($(date +%s)-starttime)) secs"
|
||||
peer chaincode query \
|
||||
-C "${channel}" \
|
||||
-n "${name}" \
|
||||
|
|
|
@ -8,10 +8,12 @@ elif [ -f scripts/func.sh ]; then
|
|||
fi
|
||||
|
||||
## Install chaincode on all peers
|
||||
echo_b "Installing chaincode on all 4 peers..."
|
||||
chaincodeInstall 1 0 ${CC_02_NAME} ${CC_INIT_VERSION} ${CC_02_PATH}
|
||||
chaincodeInstall 1 1 ${CC_02_NAME} ${CC_INIT_VERSION} ${CC_02_PATH}
|
||||
chaincodeInstall 2 0 ${CC_02_NAME} ${CC_INIT_VERSION} ${CC_02_PATH}
|
||||
chaincodeInstall 2 1 ${CC_02_NAME} ${CC_INIT_VERSION} ${CC_02_PATH}
|
||||
CC_NAME=${CC_02_NAME}
|
||||
CC_PATH=${CC_02_PATH}
|
||||
echo_b "Installing chaincode ${CC_NAME} on all 4 peers..."
|
||||
chaincodeInstall 1 0 ${CC_NAME} ${CC_INIT_VERSION} ${CC_PATH}
|
||||
chaincodeInstall 1 1 ${CC_NAME} ${CC_INIT_VERSION} ${CC_PATH}
|
||||
chaincodeInstall 2 0 ${CC_NAME} ${CC_INIT_VERSION} ${CC_PATH}
|
||||
chaincodeInstall 2 1 ${CC_NAME} ${CC_INIT_VERSION} ${CC_PATH}
|
||||
|
||||
echo_g "=== Install chaincode done ==="
|
|
@ -7,10 +7,11 @@ elif [ -f scripts/func.sh ]; then
|
|||
source scripts/func.sh
|
||||
fi
|
||||
|
||||
# Instantiate chaincode on all peers
|
||||
# Instantiate can only be executed once on any node
|
||||
# Instantiate chaincode in the channel, executed once on any node is enough
|
||||
CC_NAME=${CC_02_NAME}
|
||||
CC_INIT_ARGS=${CC_02_INIT_ARGS}
|
||||
echo_b "Instantiating chaincode on channel ${APP_CHANNEL} (once for each channel is enough, we make it concurrent here)..."
|
||||
chaincodeInstantiate "${APP_CHANNEL}" 1 0 ${CC_02_NAME} ${CC_INIT_VERSION} ${CC_02_INIT_ARGS}
|
||||
chaincodeInstantiate "${APP_CHANNEL}" 2 0 ${CC_02_NAME} ${CC_INIT_VERSION} ${CC_02_INIT_ARGS}
|
||||
chaincodeInstantiate "${APP_CHANNEL}" 1 0 ${CC_NAME} ${CC_INIT_VERSION} ${CC_INIT_ARGS}
|
||||
chaincodeInstantiate "${APP_CHANNEL}" 2 0 ${CC_NAME} ${CC_INIT_VERSION} ${CC_INIT_ARGS}
|
||||
|
||||
echo_g "=== Instantiate chaincode done ==="
|
||||
|
|
|
@ -7,26 +7,29 @@ elif [ -f scripts/func.sh ]; then
|
|||
source scripts/func.sh
|
||||
fi
|
||||
|
||||
CC_NAME=${CC_02_NAME}
|
||||
CC_INVOKE_ARGS=${CC_02_INVOKE_ARGS}
|
||||
CC_QUERY_ARGS=${CC_02_QUERY_ARGS}
|
||||
#Query on chaincode on Peer0/Org1
|
||||
echo_b "Querying chaincode on peer org2/peer0..."
|
||||
chaincodeQuery ${APP_CHANNEL} 2 1 ${CC_02_NAME} ${CC_02_QUERY_ARGS} 100
|
||||
echo_b "Querying chaincode ${CC_NAME} on peer org2/peer0..."
|
||||
chaincodeQuery ${APP_CHANNEL} 2 1 ${CC_NAME} ${CC_QUERY_ARGS} 100
|
||||
|
||||
#Invoke on chaincode on Peer0/Org1
|
||||
echo_b "Sending invoke transaction (transfer 10) on org1/peer0..."
|
||||
chaincodeInvoke ${APP_CHANNEL} 1 0 ${CC_02_NAME} ${CC_02_INVOKE_ARGS}
|
||||
chaincodeInvoke ${APP_CHANNEL} 1 0 ${CC_NAME} ${CC_INVOKE_ARGS}
|
||||
|
||||
#Query on chaincode on Peer1/Org2, check if the result is 90
|
||||
echo_b "Querying chaincode on peer 1 and 3..."
|
||||
chaincodeQuery ${APP_CHANNEL} 1 1 ${CC_02_NAME} ${CC_02_QUERY_ARGS} 90
|
||||
chaincodeQuery ${APP_CHANNEL} 2 1 ${CC_02_NAME} ${CC_02_QUERY_ARGS} 90
|
||||
chaincodeQuery ${APP_CHANNEL} 1 1 ${CC_NAME} ${CC_QUERY_ARGS} 90
|
||||
chaincodeQuery ${APP_CHANNEL} 2 1 ${CC_NAME} ${CC_QUERY_ARGS} 90
|
||||
|
||||
#Invoke on chaincode on Peer1/Org2
|
||||
echo_b "Sending invoke transaction on org2/peer3..."
|
||||
chaincodeInvoke ${APP_CHANNEL} 2 1 ${CC_02_NAME} ${CC_02_INVOKE_ARGS}
|
||||
chaincodeInvoke ${APP_CHANNEL} 2 1 ${CC_NAME} ${CC_INVOKE_ARGS}
|
||||
|
||||
#Query on chaincode on Peer1/Org2, check if the result is 80
|
||||
echo_b "Querying chaincode on all 4peers..."
|
||||
chaincodeQuery ${APP_CHANNEL} 1 0 ${CC_02_NAME} ${CC_02_QUERY_ARGS} 80
|
||||
chaincodeQuery ${APP_CHANNEL} 2 0 ${CC_02_NAME} ${CC_02_QUERY_ARGS} 80
|
||||
chaincodeQuery ${APP_CHANNEL} 1 0 ${CC_NAME} ${CC_QUERY_ARGS} 80
|
||||
chaincodeQuery ${APP_CHANNEL} 2 0 ${CC_NAME} ${CC_QUERY_ARGS} 80
|
||||
|
||||
echo_g "=== All GOOD, chaincode invoke/query completed ==="
|
||||
|
|
|
@ -7,18 +7,21 @@ elif [ -f scripts/func.sh ]; then
|
|||
source scripts/func.sh
|
||||
fi
|
||||
|
||||
CC_NAME=${CC_02_NAME}
|
||||
CC_PATH=${CC_02_PATH}
|
||||
CC_UPGRADE_ARGS=${CC_02_UPGRADE_ARGS}
|
||||
#Upgrade to new version
|
||||
echo_b "Upgrade chaincode to new version..."
|
||||
chaincodeInstall 1 0 "${CC_02_NAME}" "${CC_UPGRADE_VERSION}" "${CC_02_PATH}"
|
||||
chaincodeInstall 1 1 "${CC_02_NAME}" "${CC_UPGRADE_VERSION}" "${CC_02_PATH}"
|
||||
chaincodeInstall 2 0 "${CC_02_NAME}" "${CC_UPGRADE_VERSION}" "${CC_02_PATH}"
|
||||
chaincodeInstall 2 1 "${CC_02_NAME}" "${CC_UPGRADE_VERSION}" "${CC_02_PATH}"
|
||||
echo_b "Upgrade chaincode ${CC_NAME} to new version..."
|
||||
chaincodeInstall 1 0 "${CC_NAME}" "${CC_UPGRADE_VERSION}" "${CC_PATH}"
|
||||
chaincodeInstall 1 1 "${CC_NAME}" "${CC_UPGRADE_VERSION}" "${CC_PATH}"
|
||||
chaincodeInstall 2 0 "${CC_NAME}" "${CC_UPGRADE_VERSION}" "${CC_PATH}"
|
||||
chaincodeInstall 2 1 "${CC_NAME}" "${CC_UPGRADE_VERSION}" "${CC_PATH}"
|
||||
|
||||
# Upgrade on one peer of the channel will update all
|
||||
chaincodeUpgrade ${APP_CHANNEL} 1 0 "${CC_02_NAME}" "${CC_UPGRADE_VERSION}" "${CC_02_UPGRADE_ARGS}"
|
||||
chaincodeUpgrade ${APP_CHANNEL} 1 0 "${CC_NAME}" "${CC_UPGRADE_VERSION}" "${CC_UPGRADE_ARGS}"
|
||||
|
||||
# Query new value, should refresh through all peers in the channel
|
||||
chaincodeQuery ${APP_CHANNEL} 1 0 "${CC_02_NAME}" "${CC_02_QUERY_ARGS}" 100
|
||||
chaincodeQuery ${APP_CHANNEL} 2 1 "${CC_02_NAME}" "${CC_02_QUERY_ARGS}" 100
|
||||
chaincodeQuery ${APP_CHANNEL} 1 0 "${CC_NAME}" "${CC_QUERY_ARGS}" 100
|
||||
chaincodeQuery ${APP_CHANNEL} 2 1 "${CC_NAME}" "${CC_QUERY_ARGS}" 100
|
||||
|
||||
echo_g "=== All GOOD, chaincode Upgrade completed ==="
|
||||
|
|
|
@ -19,14 +19,15 @@ peer=0
|
|||
#--tls "true" \
|
||||
#--cafile ${ORDERER_TLS_CA} \
|
||||
|
||||
CC_NAME=${CC_02_NAME}
|
||||
echo_b "LSCC Get id"
|
||||
chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getid","'${APP_CHANNEL}'", "'$CC_02_NAME'"]}'
|
||||
chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getid","'${APP_CHANNEL}'", "'${CC_NAME}'"]}'
|
||||
|
||||
echo_b "LSCC Get cc ChaincodeDeploymentSpec"
|
||||
chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getdepspec","'${APP_CHANNEL}'", "'$CC_02_NAME'"]}'
|
||||
chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getdepspec","'${APP_CHANNEL}'", "'${CC_NAME}'"]}'
|
||||
|
||||
echo_b "LSCC Get cc bytes"
|
||||
chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getccdata","'${APP_CHANNEL}'", "'$CC_02_NAME'"]}'
|
||||
chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getccdata","'${APP_CHANNEL}'", "'${CC_NAME}'"]}'
|
||||
|
||||
echo_b "LSCC Get all chaincodes installed on the peer"
|
||||
chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getinstalledchaincodes"]}'
|
||||
|
@ -38,17 +39,17 @@ chaincodeQuery "${APP_CHANNEL}" $org $peer lscc '{"Args":["getchaincodes"]}'
|
|||
#peer chaincode query \
|
||||
# -C "${APP_CHANNEL}" \
|
||||
# -n lscc \
|
||||
# -c '{"Args":["getid","'${APP_CHANNEL}'", "'$CC_02_NAME'"]}'
|
||||
# -c '{"Args":["getid","'${APP_CHANNEL}'", "'$CC_NAME'"]}'
|
||||
|
||||
#peer chaincode query \
|
||||
# -C "${APP_CHANNEL}" \
|
||||
# -n lscc \
|
||||
# -c '{"Args":["getdepspec","'${APP_CHANNEL}'", "'$CC_02_NAME'"]}'
|
||||
# -c '{"Args":["getdepspec","'${APP_CHANNEL}'", "'$CC_NAME'"]}'
|
||||
|
||||
#peer chaincode query \
|
||||
# -C "${APP_CHANNEL}" \
|
||||
# -n lscc \
|
||||
# -c '{"Args":["getccdata","'${APP_CHANNEL}'", "'$CC_02_NAME'"]}'
|
||||
# -c '{"Args":["getccdata","'${APP_CHANNEL}'", "'$CC_NAME'"]}'
|
||||
|
||||
#peer chaincode query \
|
||||
# -C "${APP_CHANNEL}" \
|
||||
|
|
|
@ -39,18 +39,25 @@ ORG1_PEER1_URL="peer1.org1.example.com:7051"
|
|||
ORG2_PEER0_URL="peer0.org2.example.com:7051"
|
||||
ORG2_PEER1_URL="peer1.org2.example.com:7051"
|
||||
|
||||
# Chaincode related
|
||||
CC_02_NAME="exp02"
|
||||
CC_02_PATH="examples/chaincode/go/chaincode_example02"
|
||||
CC_02_PATH="examples/chaincode/go/fabcar2"
|
||||
CC_INIT_VERSION=1.0
|
||||
CC_UPGRADE_VERSION=1.1
|
||||
|
||||
# Chaincode exp02 related
|
||||
CC_02_NAME="exp02"
|
||||
CC_02_PATH="examples/chaincode/go/chaincode_example02"
|
||||
CC_02_INIT_ARGS='{"Args":["init","a","100","b","200"]}'
|
||||
CC_02_UPGRADE_ARGS='{"Args":["upgrade","a","100","b","200"]}'
|
||||
CC_02_INVOKE_ARGS='{"Args":["invoke","a","b","10"]}'
|
||||
CC_02_QUERY_ARGS='{"Args":["query","a"]}'
|
||||
|
||||
# Chaincode map related
|
||||
CC_MAP_NAME="map"
|
||||
CC_MAP_PATH="examples/chaincode/go/map"
|
||||
CC_MAP_INIT_ARGS='{"Args":["init",""]}'
|
||||
CC_MAP_UPGRADE_ARGS='{"Args":["upgrade",""]}'
|
||||
CC_MAP_INVOKE_ARGS='{"Args":["invoke","put","key","value"]}'
|
||||
CC_MAP_QUERY_ARGS='{"Args":["get","key"]}'
|
||||
|
||||
# TLS config
|
||||
CORE_PEER_TLS_ENABLED="true"
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -22,7 +22,8 @@
|
|||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -34,9 +35,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -46,8 +49,10 @@
|
|||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP"
|
||||
}
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -59,9 +64,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -71,8 +78,10 @@
|
|||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP"
|
||||
}
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -84,9 +93,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
|
@ -99,7 +110,8 @@
|
|||
"port": 7051
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -119,8 +131,10 @@
|
|||
"tls_root_certs": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNTakNDQWZDZ0F3SUJBZ0lSQU8yOUR1OWlzeXhtTUVqZk9JTFpPRk13Q2dZSUtvWkl6ajBFQXdJd2RqRUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIekFkQmdOVkJBTVRGblJzCmMyTmhMbTl5WnpFdVpYaGhiWEJzWlM1amIyMHdIaGNOTVRnd01UQXpNVE13T1RVMFdoY05Namd3TVRBeE1UTXcKT1RVMFdqQjJNUXN3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTVM1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4elkyRXViM0puTVM1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCTnBOVEpROXJ0dE5hMk1lQlV1dnNEMDNNR0FpNUZWc1FUNW83R3ZLa0hPSEFQT3FYZC9VYVRpMAp5NXJhei9ZTjhYdXMzWEJ4ZFU2aklwbUhXM21ZVGdXalh6QmRNQTRHQTFVZER3RUIvd1FFQXdJQnBqQVBCZ05WCkhTVUVDREFHQmdSVkhTVUFNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdLUVlEVlIwT0JDSUVJSzhSNkhxZHU0R28KR1Z0UEljRjdDdmovYVBWQnpSd3lIUm8vNGI4RWJMTmNNQW9HQ0NxR1NNNDlCQU1DQTBnQU1FVUNJUUQxT2NheQp0UjBMZ2pLakw1VXEvbkdDRzVETmVKWllJWXhZdWQrbnFaazZLd0lnQ2QybVZ6Wm9xZ0dYZ21jS0luV0pJdjl2CkhyNmdjVzI0ZTQ4M2lNbVBFQzA9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
|
@ -138,7 +152,8 @@
|
|||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -150,9 +165,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -162,8 +179,10 @@
|
|||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP"
|
||||
}
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -175,9 +194,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -187,8 +208,10 @@
|
|||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP"
|
||||
}
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -200,9 +223,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
|
@ -215,7 +240,8 @@
|
|||
"port": 7051
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -235,8 +261,10 @@
|
|||
"tls_root_certs": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNTVENDQWZDZ0F3SUJBZ0lSQUx5aWozWTZtNFl0alNtTm9xaUNFend3Q2dZSUtvWkl6ajBFQXdJd2RqRUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIekFkQmdOVkJBTVRGblJzCmMyTmhMbTl5WnpJdVpYaGhiWEJzWlM1amIyMHdIaGNOTVRnd01UQXpNVE13T1RVMFdoY05Namd3TVRBeE1UTXcKT1RVMFdqQjJNUXN3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTWk1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4elkyRXViM0puTWk1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCSFZmQVFLSXFGUzNNbTlzNjRDaWVhRmUyU2t2Z010SU9HQkpRWGl1RGtCWktoNTNCZDgyQ1I2dgpQOFlBcktxOXI2eXdRNjh2TS9ud21ZNlFJTEhlbDlXalh6QmRNQTRHQTFVZER3RUIvd1FFQXdJQnBqQVBCZ05WCkhTVUVDREFHQmdSVkhTVUFNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdLUVlEVlIwT0JDSUVJRnpXRHFFTzhVdG4KSEQ2dmp2UnBLWWY0UkJiTVh5ZGlMMThtTkZpOTBUb2dNQW9HQ0NxR1NNNDlCQU1DQTBjQU1FUUNJR3NtK2xBawpVV0I2OUR2UUxhMGIrMzBvTnlFQnl1MkJVVTVoZk1GeFRSNVNBaUIzaFhxTExiQUErQkhTVFJyWmVicHd0KzFVCk9yM0JTdEtuenFYdEpkSUhCQT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
|
@ -252,25 +280,30 @@
|
|||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
|
@ -290,7 +323,8 @@
|
|||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "ADMIN"
|
||||
}
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -302,9 +336,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -314,8 +350,10 @@
|
|||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP"
|
||||
}
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -327,9 +365,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -339,8 +379,10 @@
|
|||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP"
|
||||
}
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
|
@ -352,9 +394,11 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
|
@ -376,10 +420,13 @@
|
|||
"tls_root_certs": [
|
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F1L1M4b2VQZGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
|
@ -392,34 +439,41 @@
|
|||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"BlockValidation": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
|
@ -429,26 +483,32 @@
|
|||
"absolute_max_bytes": 102760448,
|
||||
"max_message_count": 10,
|
||||
"preferred_max_bytes": 524288
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"BatchTimeout": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"timeout": "2s"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"ChannelRestrictions": {
|
||||
"mod_policy": "Admins"
|
||||
"mod_policy": "Admins",
|
||||
"version": "0"
|
||||
},
|
||||
"ConsensusType": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"type": "solo"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"mod_policy": "",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
|
@ -458,25 +518,30 @@
|
|||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
|
@ -484,18 +549,22 @@
|
|||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"width": 4294967295
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Consortium": {
|
||||
"mod_policy": "",
|
||||
"value": {
|
||||
"name": "SampleConsortium"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"HashingAlgorithm": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"name": "SHA256"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"OrdererAddresses": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
|
@ -503,11 +572,14 @@
|
|||
"addresses": [
|
||||
"orderer.example.com:7050"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"sequence": "3"
|
||||
"sequence": "3",
|
||||
"type": 0
|
||||
},
|
||||
"last_update": {
|
||||
"payload": {
|
||||
|
@ -519,21 +591,38 @@
|
|||
"Application": {
|
||||
"groups": {
|
||||
"Org2MSP": {
|
||||
"mod_policy": "",
|
||||
"policies": {
|
||||
"Admins": {},
|
||||
"Readers": {},
|
||||
"Writers": {}
|
||||
"Admins": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {}
|
||||
}
|
||||
"MSP": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"version": "1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
},
|
||||
"type": 0,
|
||||
"write_set": {
|
||||
"groups": {
|
||||
"Application": {
|
||||
|
@ -541,9 +630,18 @@
|
|||
"Org2MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {},
|
||||
"Readers": {},
|
||||
"Writers": {}
|
||||
"Admins": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"AnchorPeers": {
|
||||
|
@ -555,9 +653,13 @@
|
|||
"port": 7051
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"MSP": {}
|
||||
"MSP": {
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
}
|
||||
|
@ -565,15 +667,20 @@
|
|||
"mod_policy": "Admins",
|
||||
"version": "1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mod_policy": "",
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"signatures": [
|
||||
{
|
||||
"signature": "MEUCIQDYkrR3n0EXWcin31AncXhYzyo9K753tGviyfQVUYZyLwIgLXujRAfQaLJ/kj7agcmpENroFbFNwJ2yn6zU8lDuoKE=",
|
||||
"signature": "MEUCIQCBmOeHd8S/jdhmNGxCszPbEfcv4p/1EEBWyoHsCrsbfgIgQHn7HSg8z/6xFQdDD+/OoQ0JDUXOJbmxEvIo/qZ4n4A=",
|
||||
"signature_header": {
|
||||
"creator": "CgdPcmcyTVNQEoAGLS0tLS1CRUdJTiAtLS0tLQpNSUlDR2pDQ0FjQ2dBd0lCQWdJUkFOMnVKZDJueE1VVE9XOXdLTm9YZHhnd0NnWUlLb1pJemowRUF3SXdjekVMCk1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkcKY21GdVkybHpZMjh4R1RBWEJnTlZCQW9URUc5eVp6SXVaWGhoYlhCc1pTNWpiMjB4SERBYUJnTlZCQU1URTJOaApMbTl5WnpJdVpYaGhiWEJzWlM1amIyMHdIaGNOTVRnd01UQXpNVE13T1RVMVdoY05Namd3TVRBeE1UTXdPVFUxCldqQmJNUXN3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU4KVTJGdUlFWnlZVzVqYVhOamJ6RWZNQjBHQTFVRUF3d1dRV1J0YVc1QWIzSm5NaTVsZUdGdGNHeGxMbU52YlRCWgpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDlBd0VIQTBJQUJKR1N4RlpFN3NvcDZVbWVkcnZmWDNCQ0RVRUpJdTg0Cm1RTk1jYWQzMXpUNmR3Sm0zaHJBL1h6dk1uMzUvS25sWXpkS2hMMmNPWHdVbERHWXFqR2p4UTZ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Sm0zaHJBL1h6dk1uMzUvS25sWXpkS2hMMmNPWHdVbERHWXFqR2p4UTZqVFRCTE1BNEcKQTFVZER3RUIvd1FFQXdJSGdEQU1CZ05WSFJNQkFmOEVBakFBTUNzR0ExVWRJd1FrTUNLQUlIWXdDTmNFK0ZmcgpaWHFaSTRKTFA4WVhqelRmcU9WUWs5MmI0NC9kVTVUdU1Bb0dDQ3FHU000OUJBTUNBMGdBTUVVQ0lRQ2JKaWRRCjg0Qzh4aGpVbVJwb2lsSEtsNUZDSXdVQnc2OURaUU8vN1p6ZVB3SWdCcENRY2dLRDRGbk5WWStHczRTNVN2UlMKQVhZeFVMWnBYWURRWHQxS2FMST0KLS0tLS1FTkQgLS0tLS0K",
|
||||
"mspid": "Org2MSP"
|
||||
},
|
||||
"nonce": "OKB2Q4Xj9oeXmeukVzgAu2EtbGY+Qn3J"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -581,43 +688,55 @@
|
|||
"header": {
|
||||
"channel_header": {
|
||||
"channel_id": "businesschannel",
|
||||
"timestamp": "2018-01-03T13:10:10.000Z",
|
||||
"type": 2
|
||||
"epoch": "0",
|
||||
"timestamp": "2018-01-14T11:45:36.000Z",
|
||||
"tx_id": "",
|
||||
"type": 2,
|
||||
"version": 0
|
||||
},
|
||||
"signature_header": {
|
||||
"creator": "CgdPcmcyTVNQEoAGLS0tLS1CRUdJTiAtLS0tLQpNSUlDR2pDQ0FjQ2dBd0lCQWdJUkFOMnVKZDJueE1VVE9XOXdLTm9YZHhnd0NnWUlLb1pJemowRUF3SXdjekVMCk1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkcKY21GdVkybHpZMjh4R1RBWEJnTlZCQW9URUc5eVp6SXVaWGhoYlhCc1pTNWpiMjB4SERBYUJnTlZCQU1URTJOaApMbTl5WnpJdVpYaGhiWEJzWlM1amIyMHdIaGNOTVRnd01UQXpNVE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JjaLWEgrr4AmKNhSgBzo="
|
||||
}
|
||||
},
|
||||
"header": {
|
||||
"channel_header": {
|
||||
"channel_id": "businesschannel",
|
||||
"timestamp": "2018-01-03T13:10:10.000Z",
|
||||
"type": 1
|
||||
"epoch": "0",
|
||||
"timestamp": "2018-01-14T11:45:36.000Z",
|
||||
"tx_id": "",
|
||||
"type": 1,
|
||||
"version": 0
|
||||
},
|
||||
"signature_header": {
|
||||
"creator": "CgpPcmRlcmVyTVNQEusFLS0tLS1CRUdJTiAtLS0tLQpNSUlDRERDQ0FiS2dBd0lCQWdJUU1GdzVRaFZmd2tkdnJCMytZZllmcHpBS0JnZ3Foa2pPUFFRREFqQnBNUXN3CkNRWURWUVFHRXdKVlV6RVRNQkVHQTFVRUNCTUtRMkZzYVdadmNtNXBZVEVXTUJRR0ExVUVCeE1OVTJGdUlFWnkKWVc1amFYTmpiekVVTUJJR0ExVUVDaE1MWlhoaGJYQnNaUzVqYjIweEZ6QVZCZ05WQkFNVERtTmhMbVY0WVcxdwpiR1V1WTI5dE1CNFhEVEU0TURFd016RXpNRGsxTlZvWERUSTRNREV3TVRFek1EazFOVm93V0RFTE1Ba0dBMVVFCkJoTUNWVk14RXpBUkJnTlZCQWdUQ2tOaGJHbG1iM0p1YVdFeEZqQVVCZ05WQkFjVERWTmhiaUJHY21GdVkybHoKWTI4eEhEQWFCZ05WQkFNVEUyOXlaR1Z5WlhJdVpYaGhiWEJzWlM1amIyMHdXVEFUQmdjcWhrak9QUUlCQmdncQpoa2pPUFFNQkJ3TkNBQVJpY2tSZ0dUcW91QmFPK0lWTDkrVzBjMDBTdTd4MTZyWDhJak5Ham82Z1prVUFZanB6Ck1LbUIxQ1JXM2VvVTJ0VWQ2cklCTVhqNE1RRlVSRTlXek9ldG8wMHdTekFPQmdOVkhROEJBZjhFQkFNQ0I0QXcKREFZRFZSMFRBUUgvQkFJd0FEQXJCZ05WSFNNRUpEQWlnQ0FaSHlhaE5iK3BLb2VpMGg0SWlnMjh4WFB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nMjh4WFBieENtTgpSdlpOTGErMUs4dU5xakFLQmdncWhrak9QUVFEQWdOSUFEQkZBaUVBdlRySTNCeTRNUnArM0oxQldPa3VhOEhICi80VndZRjY0am4yT0xJbE4vLzBDSUQ2OVNuOHJzR25qeHI0U2pGNGs3M3NIbzBkM2RXWTlYcG43TU1HcEQrdmwKLS0tLS1FTkQgLS0tLS0K",
|
||||
"mspid": "OrdererMSP"
|
||||
},
|
||||
"nonce": "tUlDKUlpk4HBahFWeSTuwOumb24UQxqa"
|
||||
}
|
||||
}
|
||||
},
|
||||
"signature": "MEQCIFppR//PEEaiHBhIftWQ1hOrKO9YEgi8Ua220xde4v5CAiBgosGvclnBJCgqVOhpEsxBZNOi2SfSrdk3ovSpQVhycw=="
|
||||
"signature": "MEUCIQCRJEqEKXS0zswR9VV9iW3PDNBTyx++e1EIv8DGGNjVUAIgFPGqH96kvWpY7nTS+emhjRyFnNyqHfIz71U4T9dVGiU="
|
||||
}
|
||||
]
|
||||
},
|
||||
"header": {
|
||||
"data_hash": "QIBrx5h7za362T4JqvX+s3g3lXfk+kJknfMY5jwAAc0=",
|
||||
"data_hash": "MBpB+KXoUXIfx7Uvi+pu3Nw4yNE4gCsJgzyThQpamw8=",
|
||||
"number": "2",
|
||||
"previous_hash": "11TSWm38gAMrtmnibGW1MQt4l4QyXyUSh5XArpJJl7s="
|
||||
"previous_hash": "ayiaxilXZ5mAzVqkxjG7rSFaXhv6gOdo8WBb3ZACjL0="
|
||||
},
|
||||
"metadata": {
|
||||
"metadata": [
|
||||
"EuIGCpcGCvoFCgpPcmRlcmVyTVNQEusFLS0tLS1CRUdJTiAtLS0tLQpNSUlDRERDQ0FiS2dBd0lCQWdJUU1GdzVRaFZmd2tkdnJCMytZZllmcHpBS0JnZ3Foa2pPUFFRREFqQnBNUXN3CkNRWURWUVFHRXdKVlV6RVRNQkVHQTFVRUNCTUtRMkZzYVdadmNtNXBZVEVXTUJRR0ExVUVCeE1OVTJGdUlFWnkKWVc1amFYT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NzNzSG8wZDNkV1k5WHBuN01NR3BEK3ZsCi0tLS0tRU5EIC0tLS0tChIYbfUO1Qdv0LHMmqXh4pKaryBBT/SEOw/rEkYwRAIgJWemsA/ljGvswN+uNVSl8SEeJl/3Q9qRE+zg+PuI1J0CIHmiVz1oYjSnX8W7s2oGqpEpY6T5YtxkrIx7jMHwZaXX",
|
||||
"",
|
||||
""
|
||||
]
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"channel_id": "",
|
||||
"type": 0
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"payload": {
|
||||
"header": {
|
||||
"channel_header": {
|
||||
"channel_id": "businesschannel",
|
||||
"type": 2
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"config_update": {
|
||||
"channel_id": "",
|
||||
"type": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
|
||||
|
||||
"businesschannel
|
Binary file not shown.
|
@ -0,0 +1,577 @@
|
|||
{
|
||||
"channel_group": {
|
||||
"groups": {
|
||||
"Application": {
|
||||
"groups": {
|
||||
"Org1MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "ADMIN"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"AnchorPeers": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"anchor_peers": [
|
||||
{
|
||||
"host": "peer0.org1.example.com",
|
||||
"port": 7051
|
||||
}
|
||||
]
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNHakNDQWNDZ0F3SUJBZ0lSQVArWjg4azduanNIcDlsM2tpV21kOXN3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIREFh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21jS0luV0pJdjl2CkhyNmdjVzI0ZTQ4M2lNbVBFQzA9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
},
|
||||
"Org2MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "ADMIN"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"AnchorPeers": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"anchor_peers": [
|
||||
{
|
||||
"host": "peer0.org2.example.com",
|
||||
"port": 7051
|
||||
}
|
||||
]
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNHakNDQWNDZ0F3SUJBZ0lSQU4ydUpkMm54TVVUT1c5d0tOb1hkeGd3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekl1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGd3TVRBek1UTXdPVFUxV2hjTk1qZ3dNVEF4TVRNd09UVTEKV2pCYk1Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFZk1CMEdBMVVFQXd3V1FXUnRhVzVBYjNKbk1pNWxlR0Z0Y0d4bExtTnZiVEJaCk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQkpHU3hGWkU3c29wNlVtZWRydmZYM0JDRFVFSkl1ODQKbVFOTWNhZDMxelQ2ZHdKbTNockEvWHp2TW4zNS9LbmxZemRLaEwyY09Yd1VsREd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VTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTWk1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4elkyRXViM0puTWk1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCSFZmQVFLSXFGUzNNbTlzNjRDaWVhRmUyU2t2Z010SU9HQkpRWGl1RGtCWktoNTNCZDgyQ1I2dgpQOFlBcktxOXI2eXdRNjh2TS9ud21ZNlFJTEhlbDlXalh6QmRNQTRHQTFVZER3RUIvd1FFQXdJQnBqQVBCZ05WCkhTVUVDREFHQmdSVkhTVUFNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdLUVlEVlIwT0JDSUVJRnpXRHFFTzhVdG4KSEQ2dmp2UnBLWWY0UkJiTVh5ZGlMMThtTkZpOTBUb2dNQW9HQ0NxR1NNNDlCQU1DQTBjQU1FUUNJR3NtK2xBawpVV0I2OUR2UUxhMGIrMzBvTnlFQnl1MkJVVTVoZk1GeFRSNVNBaUIzaFhxTExiQUErQkhTVFJyWmVicHd0KzFVCk9yM0JTdEtuenFYdEpkSUhCQT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
},
|
||||
"Orderer": {
|
||||
"groups": {
|
||||
"OrdererOrg": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "ADMIN"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNDVENDQWJDZ0F3SUJBZ0lRQ09kN3NBNGVNbnhmM3QySkxZUWZEREFLQmdncWhrak9QUVFEQWpCcE1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVVNQklHQTFVRUNoTUxaWGhoYlhCc1pTNWpiMjB4RnpBVkJnTlZCQU1URG1OaExtVjRZVzF3CmJHVXVZMjl0TUI0WERURTRNREV3TXpFek1EazFObG9YRFRJNE1ERXdNVEV6TURrMU5sb3dWakVMTUFrR0ExVUUKQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkdjbUZ1WTJsegpZMjh4R2pBWUJnTlZCQU1NRVVGa2JXbHVRR1Y0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJCnpqMERBUWNEUWdBRXRIVWp2b2FvMlNwNXFMakxCRCtYY1hmSzk4emYrVnBYZjZUNVhUcHc5RDF6VElNcmZUQVgKeVdlM082d1NtK1BXbGdQcVF3emtZZWs2aTA4eUJNNU5CS05OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3RwpBMVVkRXdFQi93UUNNQUF3S3dZRFZSMGpCQ1F3SW9BZ0dSOG1vVFcvcVNxSG90SWVDSW9Odk1WejI4UXBqVWIyClRTMnZ0U3ZMamFvd0NnWUlLb1pJemowRUF3SURSd0F3UkFJZ1d6YnJib2xUZDJYQ0ZiVGcrRGZFRzZTMjhuc2gKRWpHbkd3QVRyaEl3U2lvQ0lBelhVWGRsdHFqK2NDeWlBRmxCS2NKVWhjMCt3SFZ0UU50UXJQc1hNU2MwCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
],
|
||||
"crypto_config": {
|
||||
"identity_identifier_hash_function": "SHA256",
|
||||
"signature_hash_family": "SHA2"
|
||||
},
|
||||
"name": "OrdererMSP",
|
||||
"root_certs": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNMekNDQWRhZ0F3SUJBZ0lSQUoreXpiSC9VQzdkMSs1eWNSem9kWVV3Q2dZSUtvWkl6ajBFQXdJd2FURUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhGREFTQmdOVkJBb1RDMlY0WVcxd2JHVXVZMjl0TVJjd0ZRWURWUVFERXc1allTNWxlR0Z0CmNHeGxMbU52YlRBZUZ3MHhPREF4TURNeE16QTVOVFZhRncweU9EQXhNREV4TXpBNU5UVmFNR2t4Q3pBSkJnTlYKQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVFlXNGdSbkpoYm1OcApjMk52TVJRd0VnWURWUVFLRXd0bGVHRnRjR3hsTG1OdmJURVhNQlVHQTFVRUF4TU9ZMkV1WlhoaGJYQnNaUzVqCmIyMHdXVEFUQmdjcWhrak9QUUlCQmdncWhrak9QUU1CQndOQ0FBVFhJVHRNRnl1NVlyQkNiazdvdFFhMFBKc1cKZ2RydGlDSVhJY2lQWEU4SHdKOU1MQWYrOURQWFY2K283Zm1VbldZak5IejdyeFp6UXovN3JUUENoK0hibzE4dwpYVEFPQmdOVkhROEJBZj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BxVWZCRDdic1M1aHExYVVyQ0JxOTZBN2czUXA3TEJiWVBZZ3VVRAo3WTZqWHpCZE1BNEdBMVVkRHdFQi93UUVBd0lCcGpBUEJnTlZIU1VFQ0RBR0JnUlZIU1VBTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0tRWURWUjBPQkNJRUlLTkpMV1Qzd0J5OGk3TFFqVWJrTkRPaExaZFJsRllVcFYydEhTWEYKSTgxaU1Bb0dDQ3FHU000OUJBTUNBMGNBTUVRQ0lCM3dpZnU3dDZDR0RCMTA3bVNEZ1JYUG5UTWgyYmNudktRMAppY2xHaVlBS0FpQlRDY1hwL3NzQ25FVnY5NGhoMmJoODFpMWRsN2p4L2RkT3F1L1M4b2VQZGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
]
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"BlockValidation": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BatchSize": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"absolute_max_bytes": 102760448,
|
||||
"max_message_count": 10,
|
||||
"preferred_max_bytes": 524288
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"BatchTimeout": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"timeout": "2s"
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"ChannelRestrictions": {
|
||||
"mod_policy": "Admins",
|
||||
"version": "0"
|
||||
},
|
||||
"ConsensusType": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"type": "solo"
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"mod_policy": "",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BlockDataHashingStructure": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"width": 4294967295
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Consortium": {
|
||||
"mod_policy": "",
|
||||
"value": {
|
||||
"name": "SampleConsortium"
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"HashingAlgorithm": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"name": "SHA256"
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"OrdererAddresses": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"value": {
|
||||
"addresses": [
|
||||
"orderer.example.com:7050"
|
||||
]
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"sequence": "3",
|
||||
"type": 0
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,578 @@
|
|||
{
|
||||
"channel_group": {
|
||||
"groups": {
|
||||
"Application": {
|
||||
"groups": {
|
||||
"Org1MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "ADMIN"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org1MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"AnchorPeers": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"anchor_peers": [
|
||||
{
|
||||
"host": "peer0.org1.example.com",
|
||||
"port": 7051
|
||||
}
|
||||
]
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {
|
||||
"admins": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNHakNDQWNDZ0F3SUJBZ0lSQVArWjg4azduanNIcDlsM2tpV21kOXN3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekV1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGd3TVRBek1UTXdPVFUwV2hjTk1qZ3dNVEF4TVRNd09UVTAKV2pCYk1Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFZk1CME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
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "ADMIN"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "Org2MSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"AnchorPeers": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"anchor_peers": [
|
||||
{
|
||||
"host": "peer0.org2.example.com",
|
||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S2w1RkNJd1VCdzY5RFpRTy83WnplUHdJZ0JwQ1FjZ0tENEZuTlZZK0dzNFM1U3ZSUwpBWFl4VUxacFhZRFFYdDFLYUxJPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
],
|
||||
"crypto_config": {
|
||||
"identity_identifier_hash_function": "SHA256",
|
||||
"signature_hash_family": "SHA2"
|
||||
},
|
||||
"name": "Org2MSP",
|
||||
"root_certs": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRekNDQWVtZ0F3SUJBZ0lRTUFhOEZaSTVPbjNnQmlOSnRwc2lsVEFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTWk1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NaTVsZUdGdGNHeGxMbU52YlRBZUZ3MHhPREF4TURNeE16QTVOVFJhRncweU9EQXhNREV4TXpBNU5UUmEKTUhNeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVApZVzRnUm5KaGJtTnBjMk52TVJrd0Z3WURWUVFLRXhCdmNtY3lMbVY0WVcxd2JHVXVZMjl0TVJ3d0dnWURWUVFECkV4TmpZUzV2Y21jeUxtVjRZVzF3YkdVdVkyOXRNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUKbURURHYxekZ4Q0NBOW9PejVRRE5VRW9TWVFvQzdwSTdmVVpVYmJNMzVpS3N5TStWZlZ5a3ZnUmlmRDVOeFVBOApzTiswMkpyRGFIdTB0SXF3M3p1eGFhTmZNRjB3RGdZRFZSMFBBUUgvQkFRREFnR21NQThHQT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HQkpRWGl1RGtCWktoNTNCZDgyQ1I2dgpQOFlBcktxOXI2eXdRNjh2TS9ud21ZNlFJTEhlbDlXalh6QmRNQTRHQTFVZER3RUIvd1FFQXdJQnBqQVBCZ05WCkhTVUVDREFHQmdSVkhTVUFNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdLUVlEVlIwT0JDSUVJRnpXRHFFTzhVdG4KSEQ2dmp2UnBLWWY0UkJiTVh5ZGlMMThtTkZpOTBUb2dNQW9HQ0NxR1NNNDlCQU1DQTBjQU1FUUNJR3NtK2xBawpVV0I2OUR2UUxhMGIrMzBvTnlFQnl1MkJVVTVoZk1GeFRSNVNBaUIzaFhxTExiQUErQkhTVFJyWmVicHd0KzFVCk9yM0JTdEtuenFYdEpkSUhCQT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
||||
]
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
},
|
||||
"Org3MSP": null
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "1"
|
||||
},
|
||||
"Orderer": {
|
||||
"groups": {
|
||||
"OrdererOrg": {
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "ADMIN"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"identities": [
|
||||
{
|
||||
"principal": {
|
||||
"msp_identifier": "OrdererMSP",
|
||||
"role": "MEMBER"
|
||||
},
|
||||
"principal_classification": "ROLE"
|
||||
}
|
||||
],
|
||||
"rule": {
|
||||
"n_out_of": {
|
||||
"n": 1,
|
||||
"rules": [
|
||||
{
|
||||
"signed_by": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"MSP": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"config": {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
||||
"crypto_config": {
|
||||
"identity_identifier_hash_function": "SHA256",
|
||||
"signature_hash_family": "SHA2"
|
||||
},
|
||||
"name": "OrdererMSP",
|
||||
"root_certs": [
|
||||
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNMekNDQWRhZ0F3SUJBZ0lSQUoreXpiSC9VQzdkMSs1eWNSem9kWVV3Q2dZSUtvWkl6ajBFQXdJd2FURUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhGREFTQmdOVkJBb1RDMlY0WVcxd2JHVXVZMjl0TVJjd0ZRWURWUVFERXc1allTNWxlR0Z0CmNHeGxMbU52YlRBZUZ3MHhPREF4TURNeE16QTVOVFZhRncweU9EQXhNREV4TXpBNU5UVmFNR2t4Q3pBSkJnTlYKQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVFlXNGdSbkpoYm1OcApjMk52TVJRd0VnWURWUVFLRXd0bGVHRnRjR3hsTG1OdmJURVhNQlVHQTFVRUF4TU9ZMkV1WlhoaGJYQnNaUzVqCmIyMHdXVEFUQmdjcWhrak9QUUlCQmdncWhrak9QUU1CQndOQ0FBVFhJVHRNRnl1NVlyQkNiazdvdFFhMFBKc1cKZ2RydGlDSVhJY2lQWEU4SHdKOU1MQWYrOURQWFY2K283Zm1VbldZak5IejdyeFp6UXovN3JUUENoK0hibzE4dwpYVEFPQmdOVkhROEJBZjhFQkFNQ0FhWXdEd1lEVlIwbEJBZ3dCZ1lFVlIwbEFEQVBCZ05WSFJNQkFmOEVCVEFECkFRSC9NQ2tHQTFVZERnUWlCQ0FaSHlhaE5iK3BLb2VpMGg0SWlnMjh4WFBieENtTlJ2Wk5MYSsxSzh1TnFqQUsKQmdncWhrak9QUVFEQWdOSEFEQkVBaUIvWHdhbkxhRC9Oa20z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ZFJsRllVcFYydEhTWEYKSTgxaU1Bb0dDQ3FHU000OUJBTUNBMGNBTUVRQ0lCM3dpZnU3dDZDR0RCMTA3bVNEZ1JYUG5UTWgyYmNudktRMAppY2xHaVlBS0FpQlRDY1hwL3NzQ25FVnY5NGhoMmJoODFpMWRsN2p4L2RkT3F1L1M4b2VQZGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
||||
]
|
||||
},
|
||||
"type": 0
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"mod_policy": "Admins",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"BlockValidation": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BatchSize": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"absolute_max_bytes": 102760448,
|
||||
"max_message_count": 10,
|
||||
"preferred_max_bytes": 524288
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"BatchTimeout": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"timeout": "2s"
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"ChannelRestrictions": {
|
||||
"mod_policy": "Admins",
|
||||
"version": "0"
|
||||
},
|
||||
"ConsensusType": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"type": "solo"
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"mod_policy": "",
|
||||
"policies": {
|
||||
"Admins": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "MAJORITY",
|
||||
"sub_policy": "Admins"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Readers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Readers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Writers": {
|
||||
"mod_policy": "Admins",
|
||||
"policy": {
|
||||
"type": 3,
|
||||
"value": {
|
||||
"rule": "ANY",
|
||||
"sub_policy": "Writers"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"BlockDataHashingStructure": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"width": 4294967295
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"Consortium": {
|
||||
"mod_policy": "",
|
||||
"value": {
|
||||
"name": "SampleConsortium"
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"HashingAlgorithm": {
|
||||
"mod_policy": "Admins",
|
||||
"value": {
|
||||
"name": "SHA256"
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"OrdererAddresses": {
|
||||
"mod_policy": "/Channel/Orderer/Admins",
|
||||
"value": {
|
||||
"addresses": [
|
||||
"orderer.example.com:7050"
|
||||
]
|
||||
},
|
||||
"version": "0"
|
||||
}
|
||||
},
|
||||
"version": "0"
|
||||
},
|
||||
"sequence": "3",
|
||||
"type": 0
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue