End2endIT

"C:Program FilesJavajdk1.8.0_112injava" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:Program FilesJetBrainsIntelliJ IDEA 2017.2.4libidea_rt.jar=17039:C:Program FilesJetBrainsIntelliJ IDEA 2017.2.4in" -Dfile.encoding=GBK -classpath "C:Program FilesJetBrainsIntelliJ IDEA 2017.2.4libidea_rt.jar;C:Program FilesJetBrainsIntelliJ IDEA 2017.2.4pluginsjunitlibjunit-rt.jar;C:Program FilesJetBrainsIntelliJ IDEA 2017.2.4pluginsjunitlibjunit5-rt.jar;C:Program FilesJavajdk1.8.0_112jrelibcharsets.jar;C:Program FilesJavajdk1.8.0_112jrelibdeploy.jar;C:Program FilesJavajdk1.8.0_112jrelibextaccess-bridge-64.jar;C:Program FilesJavajdk1.8.0_112jrelibextcldrdata.jar;C:Program FilesJavajdk1.8.0_112jrelibextdnsns.jar;C:Program FilesJavajdk1.8.0_112jrelibextjaccess.jar;C:Program FilesJavajdk1.8.0_112jrelibextjfxrt.jar;C:Program FilesJavajdk1.8.0_112jrelibextlocaledata.jar;C:Program FilesJavajdk1.8.0_112jrelibext
ashorn.jar;C:Program FilesJavajdk1.8.0_112jrelibextsunec.jar;C:Program FilesJavajdk1.8.0_112jrelibextsunjce_provider.jar;C:Program FilesJavajdk1.8.0_112jrelibextsunmscapi.jar;C:Program FilesJavajdk1.8.0_112jrelibextsunpkcs11.jar;C:Program FilesJavajdk1.8.0_112jrelibextzipfs.jar;C:Program FilesJavajdk1.8.0_112jrelibjavaws.jar;C:Program FilesJavajdk1.8.0_112jrelibjce.jar;C:Program FilesJavajdk1.8.0_112jrelibjfr.jar;C:Program FilesJavajdk1.8.0_112jrelibjfxswt.jar;C:Program FilesJavajdk1.8.0_112jrelibjsse.jar;C:Program FilesJavajdk1.8.0_112jrelibmanagement-agent.jar;C:Program FilesJavajdk1.8.0_112jrelibplugin.jar;C:Program FilesJavajdk1.8.0_112jrelib
esources.jar;C:Program FilesJavajdk1.8.0_112jrelib
t.jar;F:fabric-sdk-java	arget	est-classes;F:fabric-sdk-java	argetclasses;F:
epositoryjunitjunit4.12junit-4.12.jar;F:
epositoryorghamcresthamcrest-core1.3hamcrest-core-1.3.jar;F:
epositoryiogrpcgrpc-netty1.11.0grpc-netty-1.11.0.jar;F:
epositoryiogrpcgrpc-core1.11.0grpc-core-1.11.0.jar;F:
epositoryiogrpcgrpc-context1.11.0grpc-context-1.11.0.jar;F:
epositorycomgooglecodegsongson2.7gson-2.7.jar;F:
epositorycomgoogleerrorproneerror_prone_annotations2.1.2error_prone_annotations-2.1.2.jar;F:
epositorycomgooglecodefindbugsjsr3053.0.0jsr305-3.0.0.jar;F:
epositoryioopencensusopencensus-api.11.0opencensus-api-0.11.0.jar;F:
epositoryioopencensusopencensus-contrib-grpc-metrics.11.0opencensus-contrib-grpc-metrics-0.11.0.jar;F:
epositoryio
etty
etty-codec-http24.1.22.Final
etty-codec-http2-4.1.22.Final.jar;F:
epositoryio
etty
etty-codec-http4.1.22.Final
etty-codec-http-4.1.22.Final.jar;F:
epositoryio
etty
etty-codec4.1.22.Final
etty-codec-4.1.22.Final.jar;F:
epositoryio
etty
etty-handler4.1.22.Final
etty-handler-4.1.22.Final.jar;F:
epositoryio
etty
etty-buffer4.1.22.Final
etty-buffer-4.1.22.Final.jar;F:
epositoryio
etty
etty-common4.1.22.Final
etty-common-4.1.22.Final.jar;F:
epositoryio
etty
etty-handler-proxy4.1.22.Final
etty-handler-proxy-4.1.22.Final.jar;F:
epositoryio
etty
etty-transport4.1.22.Final
etty-transport-4.1.22.Final.jar;F:
epositoryio
etty
etty-resolver4.1.22.Final
etty-resolver-4.1.22.Final.jar;F:
epositoryio
etty
etty-codec-socks4.1.22.Final
etty-codec-socks-4.1.22.Final.jar;F:
epositoryiogrpcgrpc-protobuf1.11.0grpc-protobuf-1.11.0.jar;F:
epositorycomgoogleguavaguava20.0guava-20.0.jar;F:
epositorycomgoogleprotobufprotobuf-java-util3.5.1protobuf-java-util-3.5.1.jar;F:
epositorycomgoogleapigrpcproto-google-common-protos1.0.0proto-google-common-protos-1.0.0.jar;F:
epositoryiogrpcgrpc-protobuf-lite1.11.0grpc-protobuf-lite-1.11.0.jar;F:
epositoryiogrpcgrpc-stub1.11.0grpc-stub-1.11.0.jar;F:
epositoryio
etty
etty-tcnative-boringssl-static2.0.8.Final
etty-tcnative-boringssl-static-2.0.8.Final.jar;F:
epositorycomgoogleprotobufprotobuf-java3.5.1protobuf-java-3.5.1.jar;F:
epositoryorgouncycastlecpkix-jdk15on1.59cpkix-jdk15on-1.59.jar;F:
epositoryorgouncycastlecprov-jdk15on1.59cprov-jdk15on-1.59.jar;F:
epositorycommons-loggingcommons-logging1.2commons-logging-1.2.jar;F:
epositorycommons-clicommons-cli1.4commons-cli-1.4.jar;F:
epositoryorgapachecommonscommons-compress1.16.1commons-compress-1.16.1.jar;F:
epositoryorgobjenesisobjenesis2.6objenesis-2.6.jar;F:
epositorycommons-iocommons-io2.6commons-io-2.6.jar;F:
epositorylog4jlog4j1.2.17log4j-1.2.17.jar;F:
epositoryorgapachehttpcomponentshttpclient4.5.5httpclient-4.5.5.jar;F:
epositoryorgapachehttpcomponentshttpcore4.4.9httpcore-4.4.9.jar;F:
epositorycommons-codeccommons-codec1.10commons-codec-1.10.jar;F:
epositoryorgapachehttpcomponentshttpmime4.5.5httpmime-4.5.5.jar;F:
epositoryorgglassfishjavax.json1.1.2javax.json-1.1.2.jar;F:
epositoryjavaxjsonjavax.json-api1.1.2javax.json-api-1.1.2.jar;F:
epositoryorgyamlsnakeyaml1.20snakeyaml-1.20.jar" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 org.hyperledger.fabric.sdkintegration.End2endIT,setup



RUNNING: End2endIT.

2018-06-06 07:27:39,444 main WARN  SampleStore:90 - Could not find the file "C:UsersadminAppDataLocalTempHFCSampletest.properties"
2018-06-06 07:27:39,448 main WARN  SampleStore:90 - Could not find the file "C:UsersadminAppDataLocalTempHFCSampletest.properties"
Constructing channel foo
Created channel foo
2018-06-06 07:27:41,806 main INFO  Channel:721 - Peer peer0.org1.example.com joined into channel foo
Peer peer0.org1.example.com joined channel foo
2018-06-06 07:27:41,880 main INFO  Channel:721 - Peer peer1.org1.example.com joined into channel foo
Peer peer1.org1.example.com joined channel foo
Finished initialization channel foo
Running channel foo
Creating install proposal
Sending install proposal
2018-06-06 07:27:42,148 main INFO  InstallProposalBuilder:244 - Installing 'example_cc_go::github.com/example_cc::1' language Go chaincode from directory: 'F:fabric-sdk-javasrc	estfixturesdkintegrationgoccsample1srcgithub.comexample_cc' with source location: 'srcgithub.comexample_cc'. chaincodePath:'github.com/example_cc'
Successful install proposal response Txid: d312660cda90795ff5bb94f3eea89f33d9309a9f84ea061d479326be8d995304 from peer peer0.org1.example.com
Successful install proposal response Txid: d312660cda90795ff5bb94f3eea89f33d9309a9f84ea061d479326be8d995304 from peer peer1.org1.example.com
Received 2 install proposal responses. Successful+verified: 2 . Failed: 0
Sending instantiateProposalRequest to all peers with arguments: a and b set to 100 and 200 respectively
Succesful instantiate proposal response Txid: 315495170775f48bd7d288f8f8dac0167735209bf4b80b8be1cc2eacb64c614b from peer peer0.org1.example.com
Succesful instantiate proposal response Txid: 315495170775f48bd7d288f8f8dac0167735209bf4b80b8be1cc2eacb64c614b from peer peer1.org1.example.com
Received 2 instantiate proposal responses. Successful+verified: 2 . Failed: 0
Sending instantiateTransaction to orderer with a and b set to 100 and 200 respectively
Finished instantiate transaction with transaction id 315495170775f48bd7d288f8f8dac0167735209bf4b80b8be1cc2eacb64c614b
sending transactionProposal to all peers with arguments: move(a,b,100)
Successful transaction proposal response Txid: 489ffbe8e8bce9f81e4460f580cfe7818f206869cd3f1273b5ab37b19f924e99 from peer peer0.org1.example.com
Successful transaction proposal response Txid: 489ffbe8e8bce9f81e4460f580cfe7818f206869cd3f1273b5ab37b19f924e99 from peer peer1.org1.example.com
Received 2 transaction proposal responses. Successful+verified: 2 . Failed: 0
Successfully received transaction proposal responses.
Sending chaincode transaction(move a,b,100) to orderer.
Finished transaction with transaction id 489ffbe8e8bce9f81e4460f580cfe7818f206869cd3f1273b5ab37b19f924e99
Now query chaincode for the value of b.
RECEIVED Chaincode event with handle: CHAINCODE_EVENTS_HANDLE66d20a25-8ece-4ac0-b024-1a34e81d21aaCHAINCODE_EVENTS_HANDLE, chaincode Id: example_cc_go, chaincode event name: event, transaction id: 489ffbe8e8bce9f81e4460f580cfe7818f206869cd3f1273b5ab37b19f924e99, event payload: "!", from eventhub: peer1.org1.example.com
RECEIVED Chaincode event with handle: CHAINCODE_EVENTS_HANDLE66d20a25-8ece-4ac0-b024-1a34e81d21aaCHAINCODE_EVENTS_HANDLE, chaincode Id: example_cc_go, chaincode event name: event, transaction id: 489ffbe8e8bce9f81e4460f580cfe7818f206869cd3f1273b5ab37b19f924e99, event payload: "!", from eventhub: peer0.org1.example.com
Query payload of b from peer peer0.org1.example.com returned 300
Query payload of b from peer peer1.org1.example.com returned 300
Channel info for : foo
Channel height: 3
Chain current block hash: 022323c218daf0918786d6c73d0f533150f7d0be54f1b01b4d7aa8c534fa5a4f
Chainl previous block hash: f7d4b7cff132342b44dd176474c60906cb9d85fa96f77cbc8907642bf19bd30d
queryBlockByNumber returned correct block with blockNumber 2 
 previous_hash f7d4b7cff132342b44dd176474c60906cb9d85fa96f77cbc8907642bf19bd30d
queryBlockByHash returned block with blockNumber 1
queryBlockByTxID returned block with blockNumber 2
QueryTransactionByID returned TransactionInfo: txID 489ffbe8e8bce9f81e4460f580cfe7818f206869cd3f1273b5ab37b19f924e99
     validation code 0
Running for Channel foo done


Constructing channel bar
2018-06-06 07:28:00,294 main WARN  Channel:1409 - Bad deliver expected status 200  got  404, Channel bar
Created channel bar
2018-06-06 07:28:00,585 main INFO  Channel:721 - Peer peer0.org2.example.com joined into channel bar
Peer peer0.org2.example.com joined channel bar
2018-06-06 07:28:00,764 main INFO  Channel:721 - Peer peer1.org2.example.com joined into channel bar
Peer peer1.org2.example.com joined channel bar
Finished initialization channel bar
Running channel bar
Creating install proposal
Sending install proposal
2018-06-06 07:28:00,951 main INFO  InstallProposalBuilder:258 - Installing 'example_cc_go::github.com/example_cc::1'  Go chaincode chaincodePath:'github.com/example_cc' from input stream
Successful install proposal response Txid: 13c48c5e33d5da88a07952b7be3cc298952bc3ac462a0b1ff2ca56bf43d5bc16 from peer peer0.org2.example.com
Successful install proposal response Txid: 13c48c5e33d5da88a07952b7be3cc298952bc3ac462a0b1ff2ca56bf43d5bc16 from peer peer1.org2.example.com
Received 2 install proposal responses. Successful+verified: 2 . Failed: 0
Sending instantiateProposalRequest to all peers with arguments: a and b set to 100 and 300 respectively
Succesful instantiate proposal response Txid: ad60e16500583b085fd4a730f112d3e6e56558636639a58dd436723007863a03 from peer peer0.org2.example.com
Succesful instantiate proposal response Txid: ad60e16500583b085fd4a730f112d3e6e56558636639a58dd436723007863a03 from peer peer1.org2.example.com
Received 2 instantiate proposal responses. Successful+verified: 2 . Failed: 0
Sending instantiateTransaction to orderer with a and b set to 100 and 300 respectively
Finished instantiate transaction with transaction id ad60e16500583b085fd4a730f112d3e6e56558636639a58dd436723007863a03
sending transactionProposal to all peers with arguments: move(a,b,100)
Successful transaction proposal response Txid: 850bb7cd809c3f5602021c870ebf9f15161937d64fb5092dc3a4a0eb8d83163d from peer peer0.org2.example.com
Successful transaction proposal response Txid: 850bb7cd809c3f5602021c870ebf9f15161937d64fb5092dc3a4a0eb8d83163d from peer peer1.org2.example.com
Received 2 transaction proposal responses. Successful+verified: 2 . Failed: 0
Successfully received transaction proposal responses.
Sending chaincode transaction(move a,b,100) to orderer.
Finished transaction with transaction id 850bb7cd809c3f5602021c870ebf9f15161937d64fb5092dc3a4a0eb8d83163d
Now query chaincode for the value of b.
Query payload of b from peer peer0.org2.example.com returned 400
Query payload of b from peer peer1.org2.example.com returned 400
Channel info for : bar
Channel height: 3
Chain current block hash: 491b3835a16be6a90b23513d61cc3355c4140d31210b4e92102c72f16d0bec25
Chainl previous block hash: 9c5caf72249afbe9b1f990de0a70f17c59af2967424b8c7d4f19d649df58aa1a
queryBlockByNumber returned correct block with blockNumber 2 
 previous_hash 9c5caf72249afbe9b1f990de0a70f17c59af2967424b8c7d4f19d649df58aa1a
queryBlockByHash returned block with blockNumber 1
queryBlockByTxID returned block with blockNumber 2
QueryTransactionByID returned TransactionInfo: txID 850bb7cd809c3f5602021c870ebf9f15161937d64fb5092dc3a4a0eb8d83163d
     validation code 0
Running for Channel bar done

Traverse the blocks for chain bar 
current block number 2 has data hash: da66c132a5d11a87880d160cdc4bd6db0b0b42e06bff2cc1e88d0f3091ea11c1
current block number 2 has previous hash id: 9c5caf72249afbe9b1f990de0a70f17c59af2967424b8c7d4f19d649df58aa1a
current block number 2 has calculated block hash is 491b3835a16be6a90b23513d61cc3355c4140d31210b4e92102c72f16d0bec25
current block number 2 has 1 envelope count:
  Transaction number 1 has transaction id: 850bb7cd809c3f5602021c870ebf9f15161937d64fb5092dc3a4a0eb8d83163d
  Transaction number 1 has channel id: bar
  Transaction number 1 has epoch: 0
  Transaction number 1 has transaction timestamp: 六月 6,  2018  15:28:19 下午
  Transaction number 1 has type id: TRANSACTION_ENVELOPE
  Transaction number 1 has nonce : 2f989093f586e64480bbd3c232685c2d18a0184a93116062
  Transaction number 1 has submitter mspid: Org2MSP,  certificate: -----BEGIN CERTIFICATE-----
MIICjzCCAjWgAwIBAgIUAybZAtGp9aprL7rnmimTn9/dcqkwCgYIKoZIzj0EAwIw
czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh
biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMT
E2NhLm9yZzIuZXhhbXBsZS5jb20wHhcNMTgwNjA2MDcyMzAwWhcNMTkwNjA2MDcy
ODAwWjBCMTAwDQYDVQQLEwZjbGllbnQwCwYDVQQLEwRvcmcxMBIGA1UECxMLZGVw
YXJ0bWVudDExDjAMBgNVBAMTBXVzZXIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD
QgAEpOxG1m6BSnMV0J40flSi5GUlSOusCRjT2MK1kBMS4MvkOzOYKCuiW3/nJOJR
vxxhSQ5QMZzvVYbuE5nbNrKxwqOB1zCB1DAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0T
AQH/BAIwADAdBgNVHQ4EFgQUeW5XmLE0JF1RHTqGOzWbIW75tfEwKwYDVR0jBCQw
IoAgeyt2U8RRLWzpU144FAY19Tm9ihML5UrJT34TG3Wg8j4waAYIKgMEBQYHCAEE
XHsiYXR0cnMiOnsiaGYuQWZmaWxpYXRpb24iOiJvcmcxLmRlcGFydG1lbnQxIiwi
aGYuRW5yb2xsbWVudElEIjoidXNlcjEiLCJoZi5UeXBlIjoiY2xpZW50In19MAoG
CCqGSM49BAMCA0gAMEUCIQD6pxngkaiMVHpqAaudqQvHptOatvGlAMUGtYnCgWH0
dgIgTdfXCVU+Z7AXyhjs2C1uUngPUtUqOSlfyTD7IoIZYzg=
-----END CERTIFICATE-----

  Transaction number 1 has 1 actions
  Transaction number 1 isValid true
  Transaction number 1 validation code 0
   Transaction action 1 has response status 200
   Transaction action 1 has response message bytes as string: 
   Transaction action 1 has 2 endorsements
Endorser 0 signature: 304402201fb755448edc155065ebfc89e9c1a1ed6dea79c8012158f24399275c2cf4b9c9022065c242536e161115657edd936515c527503d0a74e4609de81deb373676b16740
Endorser 0 endorser: mspid Org2MSP 
 certificate -----BEGIN CERTIFICATE-----
MIICGTCCAcCgAwIBAgIRAKoFq36AGyh9tmw1qzjKp2YwCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzIuZXhhbXBsZS5jb20wHhcNMTgwMjI1MTI0MzI5WhcNMjgwMjIzMTI0MzI5
WjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjAub3JnMi5leGFtcGxlLmNvbTBZ
MBMGByqGSM49AgEGCCqGSM49AwEHA0IABFBM3gDUs/4Mp9DyF/uiUQkQk1UvqmmC
uhuAXJgeTAob/tzvsLGGRS78dsuPVSGVS3p4vtuPhUBMVKtrnscgjemjTTBLMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIHsrdlPEUS1s
6VNeOBQGNfU5vYoTC+VKyU9+Ext1oPI+MAoGCCqGSM49BAMCA0cAMEQCIDbFc/hr
0RYfp0e9HqBW+tel9c9VCW7E+C7XO4e7ZYBJAiAVkjEFKpKadLUpA2cK0YHobNRH
zxIaKjL+wLVfr2wTzQ==
-----END CERTIFICATE-----

Endorser 1 signature: 3045022100cbb20f05c59c71dcd952a0c9358b6a5c68376256ebf832035365e06671b8aa1302201c80a351aabb846d313c7c60ccd712b226121e936d781d4fd40ada4a2875fee3
Endorser 1 endorser: mspid Org2MSP 
 certificate -----BEGIN CERTIFICATE-----
MIICGDCCAb+gAwIBAgIQKHCjvLJSTkKm5lsAG4StsTAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu
b3JnMi5leGFtcGxlLmNvbTAeFw0xODAyMjUxMjQzMjlaFw0yODAyMjMxMjQzMjla
MFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
YW4gRnJhbmNpc2NvMR8wHQYDVQQDExZwZWVyMS5vcmcyLmV4YW1wbGUuY29tMFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEIPHSGaXYokkyDT7hjv7xR7qdr/4unay4
6ney+f+SaX3/+GS23ETzxjeZYyoKYy+nMjTGVtMx1k9m/KHHZUS4PaNNMEswDgYD
VR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgeyt2U8RRLWzp
U144FAY19Tm9ihML5UrJT34TG3Wg8j4wCgYIKoZIzj0EAwIDRwAwRAIgRiUmbSDL
ZT4ETQzsS57MpfinlBo+WM/3ChUtTOL8BlgCIB8jfwjtaP22vH4w+V52ztTgQCnq
lCO/1jpx9z0ii78C
-----END CERTIFICATE-----

   Transaction action 1 has 4 chaincode input arguments
     Transaction action 1 has chaincode input argument 0 is: move
     Transaction action 1 has chaincode input argument 1 is: a
     Transaction action 1 has chaincode input argument 2 is: b
     Transaction action 1 has chaincode input argument 3 is: 100
   Transaction action 1 proposal response status: 200
   Transaction action 1 proposal response payload: :)
   Transaction action 1 has 2 name space read write sets
     Namespace example_cc_go read set 0 key a  version [1:0]
     Namespace example_cc_go read set 1 key b  version [1:0]
     Namespace example_cc_go write set 0 key a has value '400' 
     Namespace example_cc_go write set 1 key b has value '400' 
     Namespace lscc read set 0 key example_cc_go  version [1:0]
current block number 1 has data hash: 9ee68cff8d19ea1503cfaa7877cc522c306ddbc4a4e966228de7e929fbfa3b30
current block number 1 has previous hash id: 4d1574091ebaa918149658dbfa963479a05f0c481650639fa448e304ef52119b
current block number 1 has calculated block hash is 9c5caf72249afbe9b1f990de0a70f17c59af2967424b8c7d4f19d649df58aa1a
current block number 1 has 1 envelope count:
  Transaction number 1 has transaction id: ad60e16500583b085fd4a730f112d3e6e56558636639a58dd436723007863a03
  Transaction number 1 has channel id: bar
  Transaction number 1 has epoch: 0
  Transaction number 1 has transaction timestamp: 六月 6,  2018  15:28:00 下午
  Transaction number 1 has type id: TRANSACTION_ENVELOPE
  Transaction number 1 has nonce : 1b991244cf83ee17f7be25c86583b1af6a2322ebfe8e9123
  Transaction number 1 has submitter mspid: Org2MSP,  certificate: -----BEGIN CERTIFICATE-----
MIICGjCCAcCgAwIBAgIRAIrZokP5xguxCqWjUeu0jnAwCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzIuZXhhbXBsZS5jb20wHhcNMTgwMjI1MTI0MzI5WhcNMjgwMjIzMTI0MzI5
WjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEfMB0GA1UEAwwWQWRtaW5Ab3JnMi5leGFtcGxlLmNvbTBZ
MBMGByqGSM49AgEGCCqGSM49AwEHA0IABGDqXVD4yOX65oU0eY3j5UtD8Gr8n/s+
eODjPP76wNeBoSqljQYM+D953dBtzZ87udrwQ2uvcpUI1R1mHTMuNmSjTTBLMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIHsrdlPEUS1s
6VNeOBQGNfU5vYoTC+VKyU9+Ext1oPI+MAoGCCqGSM49BAMCA0gAMEUCIQCojuxd
EqSDDDUUJstAmAqU65xkd1/Yf0BVpLdCe++WigIgLWC9rBPpUa+Yhe3yy00+BlqG
xZ0h2eeiHaMuF6Qawy4=
-----END CERTIFICATE-----

  Transaction number 1 has 1 actions
  Transaction number 1 isValid true
  Transaction number 1 validation code 0
   Transaction action 1 has response status 200
   Transaction action 1 has response message bytes as string: 
   Transaction action 1 has 2 endorsements
Endorser 0 signature: 304402205e8687633219966b5ff3f800b485ca1030010ab43d6c9f1a0edbc3a31dbb91dc02207dde6ade9360e83482512ac13e8263bb0ddc9075248a10f9c4dee248eb3c63a1
Endorser 0 endorser: mspid Org2MSP 
 certificate -----BEGIN CERTIFICATE-----
MIICGTCCAcCgAwIBAgIRAKoFq36AGyh9tmw1qzjKp2YwCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzIuZXhhbXBsZS5jb20wHhcNMTgwMjI1MTI0MzI5WhcNMjgwMjIzMTI0MzI5
WjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjAub3JnMi5leGFtcGxlLmNvbTBZ
MBMGByqGSM49AgEGCCqGSM49AwEHA0IABFBM3gDUs/4Mp9DyF/uiUQkQk1UvqmmC
uhuAXJgeTAob/tzvsLGGRS78dsuPVSGVS3p4vtuPhUBMVKtrnscgjemjTTBLMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIHsrdlPEUS1s
6VNeOBQGNfU5vYoTC+VKyU9+Ext1oPI+MAoGCCqGSM49BAMCA0cAMEQCIDbFc/hr
0RYfp0e9HqBW+tel9c9VCW7E+C7XO4e7ZYBJAiAVkjEFKpKadLUpA2cK0YHobNRH
zxIaKjL+wLVfr2wTzQ==
-----END CERTIFICATE-----

Endorser 1 signature: 304402204f96d4954649de98a838cb2f023adcdb3d1bd2d9e7f47c431dfb02158f9588c302204549922eeee8bcae84b9816696951fff94295768d359c42d10008fe5363f7e98
Endorser 1 endorser: mspid Org2MSP 
 certificate -----BEGIN CERTIFICATE-----
MIICGDCCAb+gAwIBAgIQKHCjvLJSTkKm5lsAG4StsTAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu
b3JnMi5leGFtcGxlLmNvbTAeFw0xODAyMjUxMjQzMjlaFw0yODAyMjMxMjQzMjla
MFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
YW4gRnJhbmNpc2NvMR8wHQYDVQQDExZwZWVyMS5vcmcyLmV4YW1wbGUuY29tMFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEIPHSGaXYokkyDT7hjv7xR7qdr/4unay4
6ney+f+SaX3/+GS23ETzxjeZYyoKYy+nMjTGVtMx1k9m/KHHZUS4PaNNMEswDgYD
VR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgeyt2U8RRLWzp
U144FAY19Tm9ihML5UrJT34TG3Wg8j4wCgYIKoZIzj0EAwIDRwAwRAIgRiUmbSDL
ZT4ETQzsS57MpfinlBo+WM/3ChUtTOL8BlgCIB8jfwjtaP22vH4w+V52ztTgQCnq
lCO/1jpx9z0ii78C
-----END CERTIFICATE-----

   Transaction action 1 has 4 chaincode input arguments
     Transaction action 1 has chaincode input argument 0 is: deploy
     Transaction action 1 has chaincode input argument 1 is: bar
     Transaction action 1 has chaincode input argument 2 is: ?E???)??github.com/example_cc??example_cc_go??1????init??a??500?...
     Transaction action 1 has chaincode input argument 3 is: ? ??????????????????????????????????????Org1MSP??????Org2MSP????...
   Transaction action 1 proposal response status: 200
   Transaction action 1 proposal response payload: ??example_cc_go??1??escc"?vscc*Z? ??????????????????????????????...
   Transaction action 1 has 2 name space read write sets
     Namespace example_cc_go write set 0 key a has value '500' 
     Namespace example_cc_go write set 1 key b has value '300' 
     Namespace lscc read set 0 key example_cc_go  version [0:0]
     Namespace lscc write set 0 key example_cc_go has value '??example_cc_go??1??escc"?vscc*Z? ??????????????????????????????...' 
current block number 0 has data hash: 9911bc96a90bd1402e331bcc71628748b19557e3ad2b0c24161c392d1197b581
current block number 0 has previous hash id: 
current block number 0 has calculated block hash is 4d1574091ebaa918149658dbfa963479a05f0c481650639fa448e304ef52119b
current block number 0 has 1 envelope count:
  Transaction number 1 has transaction id: 
  Transaction number 1 has channel id: bar
  Transaction number 1 has epoch: 0
  Transaction number 1 has transaction timestamp: 六月 6,  2018  15:27:57 下午
  Transaction number 1 has type id: ENVELOPE
  Transaction number 1 has nonce : 9eacf56db9aa12913ae1727e34075d1436b65972b5b76778
  Transaction number 1 has submitter mspid: OrdererMSP,  certificate: -----BEGIN CERTIFICATE-----
MIICCzCCAbKgAwIBAgIQUcfZvWT8UgJJ30cDzW15bDAKBggqhkjOPQQDAjBpMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xFzAVBgNVBAMTDmNhLmV4YW1w
bGUuY29tMB4XDTE4MDIyNTEyNDMyOVoXDTI4MDIyMzEyNDMyOVowWDELMAkGA1UE
BhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz
Y28xHDAaBgNVBAMTE29yZGVyZXIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggq
hkjOPQMBBwNCAARQfP/qUmnEcXIlE5PlkR4RCMn2XykMsPFZN0k1XfpkSA4KP0nC
ALUgiITKLsOQohYA7oDaFQD/ZhaRswgwEgmNo00wSzAOBgNVHQ8BAf8EBAMCB4Aw
DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCAZtRU3kIVNroUKD5QVcPw8VpuHhyOT
OtWpwxnSk/LUkjAKBggqhkjOPQQDAgNHADBEAiApAQ0e/qdVsd5qtXGHqYKRt30Y
LPaGPmy8wbX8+/KDhwIgXtt1TL97Z0rfq7iKXzXLRNk8jNntsrmRFoLVstXr3dA=
-----END CERTIFICATE-----

That's all folks!

Process finished with exit code 0

  

原文地址:https://www.cnblogs.com/ahuo/p/9145346.html