Fix config

pull/117/head
Baohua Yang 2018-01-28 20:52:21 +08:00
parent 3dbc7b7826
commit fb2ca79c3d
17 changed files with 25097 additions and 41599 deletions

View File

@ -31,7 +31,6 @@ test:
@echo "Please make sure u have setup Docker and pulled images by 'make setup'."
make ready # Finish all testing
make stop clean
ready: # create/join channel, install/instantiate cc
@ -58,8 +57,8 @@ ready: # create/join channel, install/instantiate cc
make test_fetch_blocks # fetch block files
make test_config_update # not work with this version
make test_channel_update # not work with this version
#make test_config_update # not work with this version
#make test_channel_update # not work with this version
make logs_save
make test_fetch_blocks # fetch block files again

View File

@ -24,8 +24,10 @@ echo_b "Updating anchor peers for peer0/org1... no use for only single channel"
channelUpdate ${APP_CHANNEL} 1 0 Org1MSPanchors.tx
## Install chaincode on all peers
echo_b "Installing chaincode on peer0..."
chaincodeInstall 0 ${CC_02_INIT_ARGS}
CC_NAME=${CC_02_NAME}
CC_PATH=${CC_02_PATH}
echo_b "Installing chaincode ${CC_NAME} on peer0..."
chaincodeInstall 1 0 ${CC_NAME} ${CC_INIT_VERSION} ${CC_PATH}
# Instantiate chaincode on all peers
# Instantiate can only be executed once on any node

View File

@ -570,10 +570,10 @@
},
"signatures": [
{
"signature": "MEQCIHCV+JW1yK6lTSqvD8YMcJzz4BoZMiEmHeYc0rBlQO/hAiAB6Zwjd9hP53EZi6GsSaO6ysvxUsoaN6edqUraIV05Qw==",
"signature": "MEUCIQDH5tsiHFdh8dge+benjvbV/7ucwoyEbe7y2LIgHUMcbgIgcX6hPHIeIebSGubLvoBSrtf+Eev1w8aQ/kyvPMWQkaw=",
"signature_header": {
"creator": "CgdPcmcyTVNQEoAGLS0tLS1CRUdJTiAtLS0tLQpNSUlDR1RDQ0FjQ2dBd0lCQWdJUkFPMTc5OGNQSll0SFQ4d3BkRkVuSzlVd0NnWUlLb1pJemowRUF3SXdjekVMCk1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkcKY21GdVkybHpZMjh4R1RBWEJnTlZCQW9URUc5eVp6SXVaWGhoYlhCc1pTNWpiMjB4SERBYUJnTlZCQU1URTJOaApMbTl5WnpJdVpYaGhiWEJzWlM1amIyMHdIaGNOTVRjeE1qSTVNVE0xT1RBNFdoY05NamN4TWpJM01UTTFPVEE0CldqQmJNUXN3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU4KVTJGdUlFWnlZVzVqYVhOamJ6RWZNQjBHQTFVRUF3d1dRV1J0YVc1QWIzSm5NaTVsZUdGdGNHeGxMbU52YlRCWgpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDlBd0VIQTBJQUJDWlBKc0ZnN2xHV2psQUhpaDdyek13SU5XSFRqRlZmCktsVThDRjNycWczUkF6dDRwMzhTZnQrQi9QdUFzUzNxOHc5OW1DZ01sdjRaOHZkWWRycklCbitqVFRCTE1BNEcKQTFVZER3RUIvd1FFQXdJSGdEQU1CZ05WSFJNQkFmOEVBakFBTUNzR0ExVWRJd1FrTUNLQUlBMXVNS3JCSWRMWAorTWk4RHh6MVV6WUl1THRpRGVOaFVkWHVnOFJTVEhwdk1Bb0dDQ3FHU000OUJBTUNBMGNBTUVRQ0lBWXhuVVV2CnJBYStsQ0YrV1NvRjVoY0NGUnBNOThwN0RhdHZvQlFCaVFCa0FpQmtRTHpHT3NmU09FNFExUUp1Qm1QanRZNUQKU1lyWjR3dGJnWlF0TjhTT3pRPT0KLS0tLS1FTkQgLS0tLS0K",
"nonce": "FdgA0clTNdAL2P1tbgr//dkjk/s3f226"
"nonce": "k3hpEUEDXPPumX0ntReFBUUr5cI+CLWo"
}
}
]
@ -581,43 +581,43 @@
"header": {
"channel_header": {
"channel_id": "businesschannel",
"timestamp": "2017-12-29T14:26:11.000Z",
"timestamp": "2018-01-28T12:46:06.000Z",
"type": 2
},
"signature_header": {
"creator": "CgdPcmcyTVN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GiKJi57cSe51X1CN8kG"
"nonce": "BOsmZDoOzp5dqM8YIdpauQbp2yc8W0iS"
}
}
},
"signature": "MEQCIDh6VmFmdxgD9S9pExJnshd2ieJQMaTgs9glWDhu0M/+AiB4HUvFHnBbaCvy8AlKb2zEv07cfRLW00gIw9I+pGSYSQ=="
"signature": "MEQCIHM8EIpFGg6vbgNeOHOuoztKel6esD8egKNL+y0dvNvlAiAVoZbDjKmS9rZP9YhvSfz7oPc2hewJPtO7WtPiqgeclg=="
}
},
"header": {
"channel_header": {
"channel_id": "businesschannel",
"timestamp": "2017-12-29T14:26:11.000Z",
"timestamp": "2018-01-28T12:46:06.000Z",
"type": 1
},
"signature_header": {
"creator": "CgpPcmRlcmVyTVNQEusFLS0tLS1CRUdJTiAtLS0tLQpNSUlDRERDQ0FiS2dBd0lCQWdJUVV4eGxkMlI4dXNJbmtTMVJzc25RaXpBS0JnZ3Foa2pPUFFRREFqQnBNUXN3CkNRWURWUVFHRXdKVlV6RVRNQkVHQTFVRUNCTUtRMkZzYVdadmNtNXBZVEVXTUJRR0ExVUVCeE1OVTJGdUlFWnkKWVc1amFYTmpiekVVTUJJR0ExVUVDaE1MWlhoaGJYQnNaUzVqYjIweEZ6QVZCZ05WQkFNVERtTmhMbVY0WVcxdwpiR1V1WTI5dE1CNFhEVEUzTVRJeU9URXpOVGt3T0ZvWERUSTNNVEl5TnpFek5Ua3dPRm93V0RFTE1Ba0dBMVVFCkJoTUNWVk14RXpBUkJnTlZCQWdUQ2tOaGJHbG1iM0p1YVdFeEZqQVVCZ05WQkFjVERWTmhiaUJHY21GdVkybHoKWTI4eEhEQWFCZ05WQkFNVEUyOXlaR1Z5WlhJdVpYaGhiWEJzWlM1amIyMHdXVEFUQmdjcWhrak9QUUlCQmdncQpoa2pPUFFNQkJ3TkNBQVRBek5GNmpZZ0twNkxKN0R4Q1ZwL0orZmtzUVhDMHpOUExJbHRNQnUvQW1aK1Z3QnZ6ClYrd3B6SW5la3ZPeFJHYW9VRHBXY2s2Y2RPVklxWTc5SS9DbG8wMHdTekFPQmdOVkhROEJBZjhFQkFNQ0I0QXcKREFZRFZSMFRBUUgvQkFJd0FEQXJCZ05WSFNNRUpEQWlnQ0QybmFvQk5OVHV1VUV4SXpBdFMrMFp3NXpUUTlRVwozTWlJcHRkTVJ4L0llVEFLQmdncWhrak9QUVFEQWdOSUFEQkZBaUVBNm9HTEVGWEp2M2wvSmh3UysxWC9tMW9JCnVBTFlEZkRxYm5RUEY5Wjk2R0FDSURuTFdUVlBhQUdiV1FIUFZQY2JKanVpZ1BKeFh2cGFYQ2xGTGdOSk5WSjEKLS0tLS1FTkQgLS0tLS0K",
"nonce": "bvrz1V2PwJ1HJhhagmqpvPf6a/fW7izx"
"nonce": "E6DXmt5d24KzqtaNnBM9EAStZ4nzSr9n"
}
}
},
"signature": "MEUCIQDjarrVtnFiXm0UWEbp9Zstzb9nkig2Xq4pfyc+qcGxrQIgGy5vOmvdROzbxLShrddnq1FRA3RfCxkq1kH9r/BozKk="
"signature": "MEUCIQD+PMhE5LYtD+ay3qRfliLl5UalE72n5xtjuqLkmkgGoQIgZQuoqCBkeaWc21hjruGg1rFuwrf4AaN8fC+hsUuEkL8="
}
]
},
"header": {
"data_hash": "34buGD1qajbb9KTLIWRL7XCVZiPp8B6BSnvwMuaplyc=",
"data_hash": "iMoFxY3zvLdTiPPgP7EQU48jRSnSjnOYhcCOt2DQW+E=",
"number": "2",
"previous_hash": "OZhjnvvHIp5OxYL1OvEXS5N3oGKqBmaW6jKwrHKSTx0="
"previous_hash": "jz5lbY6LnnoqO89SAd/xK3FetAJEaIfPRtKvHJdnxgk="
},
"metadata": {
"metadata": [
"EuIGCpcGCvoFCgpPcmRlcmVyTVNQEusFLS0tLS1CRUdJTiAtLS0tLQpNSUlDRERDQ0FiS2dBd0lCQWdJUVV4eGxkMlI4dXNJbmtTMVJzc25RaXpBS0JnZ3Foa2pPUFFRREFqQnBNUXN3CkNRWURWUVFHRXdKVlV6RVRNQkVHQTF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JnZ3Foa2pPUFFRREFnTklBREJGQWlFQTZvR0xFRlhKdjNsL0pod1MrMVgvbTFvSQp1QUxZRGZEcWJuUVBGOVo5NkdBQ0lEbkxXVFZQYUFHYldRSFBWUGNiSmp1aWdQSnhYdnBhWENsRkxnTkpOVkoxCi0tLS0tRU5EIC0tLS0tChIYoFArIUjAU5winN6mbG2yfucja5ujaDk2EkYwRAIgFeeqcJJagwqmMg/s3YsRTbbysvW+aRp4ejQ9bkhX30UCIBTXOD8WrdDGQGTLUwNeSbq5GOJ5B9cztw/7g5leg+xi",
"",
""
]

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