我正在尝试从java fabric SDK进行事务处理。我可以从节点正确地查询数据,但在进行事务时,我得到了以下错误:
org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException: The channel is not configured with any peers with the 'discover' role
at org.hyperledger.fabric.sdk.Channel.sendTransactionProposalToEndorsers(Channel.java:3955) ~[
我正在学习如何从web控制台( )设置hello-world IBM Blockchain Cloud网络的教程之一。第一步是创建CA,在这里您必须提供CA管理员注册ID和密码。好的,让我们称它为admin1。然后,直接的步骤是将身份与此CA关联(让我们将其称为admin2)。在这里,看起来您必须添加以前创建的admin1,但不清楚这是相同的用户/身份/注册it还是新的(您不能从下拉列表中选择admin1来清楚地显示admin1是以前创建的,现在是可用的)。此admin2列出的类型为client,尽管您在创建它时无法选择标识的类型。然后在下一步中,您必须为CA注册用户,现在您必须创建一个新的
我正在使用Hyperledger Fabric 1.0 fabric-node教程(https ://github.com/hyperledger/fabric-sdk-node/test )。
And I have setup the two organization each 1 with peer(peer0 in org1 and peer2 in org2).
My requirement is to add one more peer in each organization(peer1 in Org1 and peer3 in Org2).
I believe need t
我试图在我的程序中读取一个docker文件作为模板,当我使用dump函数时,当新的条件happens.but它失败时,替换细节。我的代码如下: let yaml = require('js-yaml');
let filePath = **/docker-compos-template.yaml';
let savePath = '**/docker-compose-save.yaml';
try{
let doc = yaml.safeLoad(fs.readFileSync(filePath),