Skip to content

Instantly share code, notes, and snippets.

View krabradosty's full-sized avatar
🌴
On vacation

Dima krabradosty

🌴
On vacation
View GitHub Profile
```
discover --configFile discover-conf.yaml peers --channel test-sdk-channel-2 --server peer0.org1.example.com:7051
[
{
"MSPID": "Org1MSP",
"LedgerHeight": 1,
"Endpoint": "peer0.org1.example.com:7051",
"Identity": "-----BEGIN CERTIFICATE-----\nMIICizCCAjKgAwIBAgIUegXcJWftCXheUpqX8Z0IEyGWjskwCgYIKoZIzj0EAwIw\nWzELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGY2xpZW50MQwwCgYDVQQDEwNpY2EwHhcN\nMTkwMjEyMTM1MTAwWhcNMjAwMjEyMTM1NjAwWjA/MRowCwYDVQQLEwRwZWVyMAsG\nA1UECxMEb3JnMTEhMB8GA1UEAxMYcGVlcjAub3JnMS5vcHRoZXJpdW0uY29tMFkw\nEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKXMtQ4WdW2k7BZRktLRtHI/Iw7wpOf5U\n/1XNmGljf158Xg38nBTKnOjs/8Lcdn6W+J53whO/a9xFodDljNJJ/aOB7zCB7DAO\nBgNVHQ8BAf8EBAMCA6gwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFOmM7XABYWAmvE8sy8OW6YLpDX6KMB8GA1Ud\nIwQYMBaAFFkBE5I+uSntB6138cMlsLQVCTXVMG0GCCoDBAUGBwgBBGF7ImF0dHJz\nIjp7ImhmLkFmZmlsaWF0aW9uIjoib3JnMSIsImhmLkVucm9sbG1lbnRJRCI6InBl\nZXIwLm9yZzEub3B0aGVyaXVtLmNvbSIsImhmLlR5cGU
2019-01-30 19:22:10.515 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2019-01-30 19:22:10.515 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 2 "# github.com/coin-chaincode/vendor/google.golang.org/grpc/credentials
chaincode/input/src/github.com/coin-chaincode/vendor/google.golang.org/grpc/credentials/go18.go:40:6: cloneTLSConfig redeclared in this block
previous declaration at chaincode/input/src/github.com/coin-chaincode/vendor/google.golang.org/grpc/credentials/credentials.go:322:39
chaincode/input/src/github.com/coin-chaincode/vendor/google.golang.org/grpc/credentials/go19.go:29:9: undefined: tlsConn
chaincode/input/src/github.com/coin-chaincode/vendor/google.golang.org/grpc/credentials/go19.go:34:2: not enough arguments to
2018-05-07 18:56:19.412 UTC [chaincode] func1 -> ERRO 002 [6b485a35]Failed to get chaincode state(Get http://couchdb-peer1st-main:5984/firstchannel_lscc/firstchaincode?attachments=true: dial tcp 172.16.68.6:5984: connect: cannot assign requested address). Sending ERROR
2018-05-07 18:56:19.412 UTC [shim] handleGetState -> ERRO 003 [6b485a35]GetState received error ERROR
2018-05-07 18:56:19.412 UTC [lscc] Invoke -> ERRO 004 error getting chaincode firstchaincode on channel: firstchannel(err:transaction not found Get http://couchdb-peer1st-main:5984/firstchannel_lscc/firstchaincode?attachments=true: dial tcp 172.16.68.6:5984: connect: cannot assign requested address)
2018-05-07 18:56:19.427 UTC [chaincode] func1 -> ERRO 005 [2ec006f4]Failed to get chaincode state(Get http://couchdb-peer1st-main:5984/firstchannel_lscc/firstchaincode?attachments=true: dial tcp 172.16.68.6:5984: connect: cannot assign requested address). Sending ERROR
2018-05-07 18:56:19.427 UTC [shim] handl
2018-05-07 12:31:58.154 UTC [ledgermgmt] CreateLedger -> INFO 001 Creating ledger [firstchannel] with genesis block
2018-05-07 12:31:58.204 UTC [ledgermgmt] CreateLedger -> INFO 002 Created ledger [firstchannel] with genesis block
2018-05-07 13:49:09.918 UTC [eventhub_producer] Chat -> ERRO 003 error during Chat, stopping handler: rpc error: code = Canceled desc = context canceled
2018-05-07 14:07:08.197 UTC [eventhub_producer] Chat -> ERRO 004 error during Chat, stopping handler: rpc error: code = Canceled desc = context canceled
2018-05-07 14:07:08.237 UTC [eventhub_producer] Chat -> ERRO 005 error during Chat, stopping handler: rpc error: code = Canceled desc = context canceled
2018-05-07 14:07:08.253 UTC [eventhub_producer] Chat -> ERRO 006 error during Chat, stopping handler: rpc error: code = Canceled desc = context canceled
2018-05-07 14:07:08.265 UTC [eventhub_producer] Chat -> ERRO 007 error during Chat, stopping handler: rpc error: code = Canceled
{
"ns" : "trading.orderbook_btc-eth_poloniexes",
"count" : 6798430,
"size" : 980062478,
"avgObjSize" : 144,
"storageSize" : 4727635968,
"capped" : false,
"wiredTiger" : {
"metadata" : {
"formatVersion" : 1