[英]How can I add peer (on my laptop) to the IBM Bluemix blockchain (hyperledger)?
I am trying to add a peer (my local laptop) to the IBM Bluemix blockchain using docker-compose and using an existing peer's address + discovery port (30001), but it hangs on startup with this as the last message: 我试图使用docker-compose并使用现有对等方的地址+发现端口(30001)将对等方(我的本地笔记本电脑)添加到IBM Bluemix区块链中,但是它在启动时挂起,这是最后一条消息:
transport: http2Client.notifyError got notified that the client transport was broken EOF
my docker-compose.yml looks like this: 我的docker-compose.yml看起来像这样:
vp5:
image: hyperledger/fabric-peer:x86_64-0.6.0-preview
ports:
- "7050:7050"
- "7051:7051"
- "7052:7052"
environment:
- CORE_PEER_ADDRESSAUTODETECT=true
- CORE_VM_ENDPOINT=unix:///var/run/docker.sock
- CORE_LOGGING_LEVEL=WARN
- CORE_PEER_ID=vp5
- CORE_PEER_DISCOVERY_ROOTNODE=dcc56501d31b435ea8898c9e1ad10982-vp1.us.blockchain.ibm.com:30001
- CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=noops
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: peer node start
What needs to be changed? 需要更改什么?
My understanding is that you are using a Bluemix Starter Plan Blockchain service which is based on Hyperledger Fabric version 0.6.1. 我的理解是,您正在使用基于Hyperledger Fabric版本0.6.1的Bluemix Starter Plan区块链服务。 The fact that the peer image noted is labeled x86_64-0.6.0-preview is why I assume that you are using the blockchain service based on Hyperledger Fabric version 0.6.1.
我指出的对等映像标记为x86_64-0.6.0-preview的事实是为什么我假设您使用的是基于Hyperledger Fabric版本0.6.1的区块链服务的原因。 To restate the question, can a local peer be added to a four-peer blockchain network running on Bluemix (Starter Plan utilizing Hyperledger Fabric version 0.6.1)?
为了重申这个问题,是否可以将本地对等方添加到在Bluemix上运行的四对等区块链网络中(使用Hyperledger Fabric版本0.6.1的Starter Plan)?
When using a Bluemix Starter Plan blockchain network, a local peer that is running outside of Bluemix cannot be added. 使用Bluemix Starter Plan区块链网络时,无法添加在Bluemix外部运行的本地对等方。 The whole blockchain network is hosted on Bluemix and has four peers.
整个区块链网络都托管在Bluemix上,并有四个对等方。
There is a High Security Business Network vNext Beta which is based on Hyperledger Fabric version 1.0. 有一个基于Hyperledger Fabric版本1.0的High Security Business Network vNext Beta。 When using this new beta service, it is possible to invite participants to a blockchain network and those participants can create peers.
使用此新的beta服务时,可以邀请参与者加入区块链网络,并且这些参与者可以创建对等方。 This all happens within the Bluemix service, so a local peer cannot necessarily be added.
这一切都发生在Bluemix服务中,因此不必添加本地对等方。 However, the High Security Business Network vNext Beta makes it possible for multiple entities to join a blockchain network and then a peer is created for each participant that joins.
但是,High Security Business Network vNext Beta使多个实体可以加入区块链网络,然后为每个加入的参与者创建一个对等点。 A comparison of Bluemix plans is available here .
这里提供了Bluemix计划的比较。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.