我有一些关于HF CLI docker容器和一些CLI命令的问题.
首先,有人可以在docker容器的上下文中解释这个容器的用途,该容器与HF生态系统所需的其他docker容器一起启动.我如何查询我的业务网络组织,不同的同行以及这些同行的链代码状态?
第二,当我安装一个发布peer chaincode installCLI命令的链代码时,该代码安装在哪个对等端(如果我有5个对等体连接到org1.example.com组织,上面的对等命令将安装目标链代码)?
和第三重要的是,如果我有我的业务网络规范只是一个组织,它处理多个同行和渠道,当我尝试实例化安装的代码发布peer chaincode instantiate命令,如何确定代言策略(HTTP://hyperledger-fabric.readthedocs .io/en/latest/endorsement-policies.html)在-P参数之后只有一个组织在认可表达中?
谢谢您的帮助!
编辑1: 关于第3个答案的一个更新.在实例化链代码时,您有一个组织维护对等方和通道,您可以省略支持策略参数(-p).在这种情况下,如果任何同行认可,交易将被认可
我在我的微服务项目中使用Spring Cloud和NetflixOSS.此外,我使用带有Feign Client的功能区作为我的客户端负载均衡器.我想知道,有没有可能为Ribbon实现或选择不同类型的负载平衡算法?因为据我所知,默认是循环法.
提前致谢!
spring load-balancing spring-boot spring-cloud spring-cloud-netflix
I was trying to create a custom business network based on the specification described here: https://hyperledger-fabric.readthedocs.io/en/latest/build_network.html#using-couchdb
I have created 5 peers for org1.example.com and one peer for org2.example.com.
I am able to start the network and to install chain-code using docker cli on peer0.org1.example.com, but when I try to instantiate it, I get he following error:
Error: Error endorsing chaincode: rpc error: code = Unknown desc = Error starting container: API error (404): {"message":"network _byfn not found"}
Here is the …