heidsoft
heidsoft
https://dwqs.gitbooks.io/frontenddevhandbook/content/practice/tech-employed-by-fd.html
https://webpack.toobug.net/zh-cn/chapter4/exports-loader.html
https://segmentfault.com/a/1190000002551952
http://www.cnblogs.com/tugenhua0707/p/4793265.html
https://segmentfault.com/a/1190000007515136
http://www.jianshu.com/p/a552aef2d1a1
http://www.reqianduan.com/2083.html
``` 1. 创建channel peer channel create -o orderer.example.com:7050 -c mychannel -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem 2. 将peer 加入到管道 peer channel join -b mychannel.block 3. 安装chaincode peer chaincode install -n...
# 通过hyperledger/fabric-tools:latest 容器可以操作相关的peer,如下是常用的配置环境变量 ``` CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/go/bin:/opt/gopath/bin PWD=/opt/gopath/src/github.com/hyperledger/fabric/peer CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp CORE_PEER_ID=cli SHLVL=1 HOME=/root GOROOT=/opt/go CORE_LOGGING_LEVEL=INFO FABRIC_CFG_PATH=/etc/hyperledger/fabric GOCACHE=off CORE_PEER_ADDRESS=peer0.org1.example.com:7051 LESSOPEN=| /usr/bin/lesspipe %s GOPATH=/opt/gopath LESSCLOSE=/usr/bin/lesspipe %s %s _=/usr/bin/env ```
``` ➜ first-network git:(master) ✗ configtxgen -inspectChannelCreateTx ./channel-artifacts/heidsoft/channel.tx 2018-11-21 12:06:54.460 CST [common/tools/configtxgen] main -> INFO 001 Loading configuration 2018-11-21 12:06:54.480 CST [common/tools/configtxgen] doInspectChannelCreateTx -> INFO 002 Inspecting transaction 2018-11-21 12:06:54.481...