"AND (' Org1MSP. Member ', 'Org2MSP. Member)",
At the time of invocation chain code to obtain the endorsement of the node endorsement two institutions success, was submitted to the orderer node sorting distribution, this is an example of a website, as follows:
Peer chaincode invoke -o orderer.inc.com: 27050 - the TLS true
- cafile/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/inc.com/orderers/orderer.inc.com/msp/tlscacerts/tlsca.inc.com-cert.pem
- C mychannel -n mycc
- peerAddresses peer0.org1.inc.com: 27051
- tlsRootCertFiles/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.inc.com/peers/peer0.org1.inc.com/tls/ca.crt
- peerAddresses peer0.org2.inc.com: 29051
- tlsRootCertFiles/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.inc.com/peers/peer0.org2.inc.com/tls/ca.crt
- c '{" Args ": [" invoke", "a", "b", "10"]}'
Launch trading client must have two institutions at the same time the endorsement of the node of the TLS transport ca certificate, can initiate transactions, get two organization endorsed the node's endorsement as a result,
In the actual business scenarios, such as, as a client Org1MSP, have Org2MSP TLS ca certificate if possible? Or Org1MSP client through Org2MSP Fabric - a CA certificate, the CA application for endorsement deal? I don't know if I understand there is a problem, such endorsement strategy mechanism always feel very strange, is to need multilateral institutions a deal together, now one of the institutions of the client can have multiple agencies at the same time the TLS - ca certificate can be completed, how to ensure that the system within the alliance buge (such as duplicate submissions), or malicious attacks? I hope Daniel for help to reassure, thanks,
PS: do you have any friends or WeChat group, can exchange opinions with you, thank you very much,
CodePudding user response:
Actual business scenarios can use geteway, only need one user, can not focus on the underlying logic calls to multiple nodes endorsedCodePudding user response: