Hyperledger Fabric problem Rollup
when you read the document "Write a", you are performing./startfabric.sh may encounter the following error
Error:error getting endorser client channel:per:404-error trying to connect to local peer/opt/gopath/src/github.com/h yperledger/fabric/peer/common/common.go:116 Github.com/hyperledger/fabric/peer/common. getendorserclient/opt/gopath/src/github.com/
Fabric 0.6 Mirroring
The Docker mirror of Fabric is in https://hub.docker.com/r/hyperledger/, mainly used to PEER,BASEIMAGE,MEMBERSRVC, now peer and MEMBERSRVC, These two mirrors provide a latest version, so direct pull down.
Docker Pull Hyperledger/fabric-peer
Docker Pull HYPERLEDGER/FABRIC-MEMBERSRVC
But Baseimage is not latest version, so we can download a new
Hyperleger Fabric Development (ii)--hyperleger Fabric PrimerThis article uses the Rhel 7.3 Workstation version of the operating system.I. Hyperleger fabric environment Deployment 1, Go language development environment deployment(1) Go language environment installationGo Locale installation package:https://golang.org/dl/https://golang.google.cn/dl/Extract the downloaded source package to the/usr/local directorysudo tar -C /usr/local -xzf go1.10.1.linux-amd64.tar.gzAdd the/usr/local/go/bin directo
Install the required software environment
Specific See: https://hyperledger-fabric.readthedocs.io/en/release/prereqs.html
Note Version Install Docker CE
sudo yum install-y yum-utils
sudo yum-config-manager--add-repo Https://download.docker.com/linux/centos/docker-ce.repo
sudo yum makecache fast
Installthe latest version of Docker CE on RHEL:
sudo yum-y install Docker-ce
Install Docker compose
curl-lhttps://github.com/docker/compose/releases/downlo
Preface
Hyperledger fabric, what is hypeledger and what is fabric? Hypeledger literally means the Super ledger, which was launched by the Linux Foundation in December 2015 as an open-source project called "Super Ledger", designed to drive collaboration to create a blockchain-based, enterprise-class distributed ledger underlying technology for building industry applications and platforms that support the business To support a wide variety of commercia
This is a creation in
Article, where the information may have evolved or changed.
Install Go
wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gzTAR-XVF go1.8.3.linux-amd64.tar.gzMV go/usr/local/Mkdir-p/root/golangVim/etc/profileExport Gopath=/root/golangExport path= $PATH:/usr/local/go/bin: $GOPATH/binSource/etc/profileTo resolve the fabric compilation error: Can ' t load package:package github.com/hyperledger/fabric/peer:open/
This is a creation in
Article, where the information may have evolved or changed.
Installing Docker
Yum-y Install DockerDocker versionTo enable the Docker official China Zone Accelerator:Vim/etc/sysconfig/docker--registry-mirror=https://registry.docker-cn.comService Docker start
Installing Docker-compose
Yum-y Install Epel-releaseYum-y Install Python-pipPip Install--upgrade pipPip Install Docker-compose
Install Go
wget https://storage.googleapis.com/golang/go1.8.3.linux
-artifacts/org1mspanchors.tx-channelid $ Channel_name-asorg Org1msp
Configtxgen-profile twoorgschannel-outputanchorpeersupdate./channel-artifacts/org2mspanchors.tx-channelid $ Channel_name-asorg Org2msp
(generates two anchor peer anchor peers)
6: The preparation work is done, you can start the network. Because we need to use COUCHDB .
So execute: channel_name= $CHANNEL _name timeout=1000 docker-compose-f docker-compose-cli.yaml-f Docker-compose-couch.yaml Up-d
7: Setting the Manual environment:
first, get the mirror
1. Command acquired (Docker pull)
--->docker pull [options] [Docker registry address]
The specific options can be viewed by command Docker pull--help
For example
--->docker pull hyperledger-fabric:latest
2. Operation, taking Hyperledger-fabric:latest as an example
--->docker run-it--rm hyperledger-fabric:latest Bash
Here the-it is two parame
Today Hyperledger Fabric released the 1.0 beta version of the image, according to the name, this should be a basic available version, so I hastened to download the first time, playing with the play. Here are the steps to install and test Fabric 1.0 Beta in Ubuntu:First, Environment preparation 1.1 install VirtualBox and install Ubuntu in it.This step is actually nothing to say, download the latest version of VirtualBox, download Ubuntu Server, I use 1
source directory/home/gopath/src/hyperledger/fabric. and add Gopath environment variables, be sure to add.export GOPATH= /home/gopathsudo su2. Compile Build Protoc-gen-gocd $GOPATHgopm get -g -d github.com/golang/protobuf/protoc-gen-gogo install github.com/golang/protobuf/protoc-gen-go/home/gopath/bin出现protoc-gen-go执行文件3. According to the instructions in the makefile file in the Fabric source directory. Open the terminal under the source directory, s
This is a file format plug-in I wrote for Photoshop. icoformat is used to read and write windows Icon files (the extension is ICO, cur ). PS plug-ins in the icon file format have been written by a foreigner many years ago. However, the plug-ins I provide now provide better functions and have enough reasons to replace the plug-ins provided by foreigners.
I do not remember the characteristics of the foreign plug-ins. The memory comparison is as follows:
(1) When a foreigner plug-in is selected
target in the makefile is used as its default target. How
1. Enter the fabric source directory/home/gopath/src/hyperledger/fabric. and add Gopath environment variables, be sure to add.Export Gopath=/home/gopathsudo su2. Compile Build Protoc-gen-goCD $GOPATHGOPM Get-g-D github.com/golang/protobuf/protoc-gen-goGo Install github.com/golang/protobuf/protoc-gen-go#/home/gopath/bin appears protoc-gen-go execution file3. According to the instructions in th
Hyperledger Fabric is a modular blockchain architecture that is a unique implementation of distributed bookkeeping technology (DLT), which provides a network that can be used by enterprises with security, scalability, encryption, and executable features. Hyperledger Fabric provides the following blockchain networking capabilities: Identity Management
To support a licensed network,
method does not require any additional operations. Now in order to improve the drive performance of stepper motors, we hope that the polarity reversal point behind the output of a few microseconds, to do this hardware method changes is certainly difficult, and the software method only need to increase the timing lag output on the line. In order to reduce the computational overhead, we can use the table-checking method to store the computed SPWM data in ROM and output the values in the table se
There are always bugs in the program development process, so the location and analysis of Bugs is critical.Golang defines a lot of error, but sometimes it is difficult to locate the problem with error, so we still need the stack information.We typically define a function that prints incorrectly, so that errors can be processed and analyzed in a uniform way:
func ErrorPbResponse(errCode string, errMsg string) pb.Response { LogMessage("errcode[" + errCode + "] Errmsg:" + errMsg) if errCo
We use the elliptical marquee tool to turn off and turn on anti-aliasing (also known as anti-aliasing), create two roughly large, rounded selections, and then fill the black look. How to quickly fill black do you remember? First 〖x〗 and then 〖alt Delete〗. After the fill deselect 〖ctrl D〗, the effect is shown below.
Careful observation of the edges of the two circles, you will see the first round of the edge is more blunt, there are obvious ladder-like, also called
Environment configuration:
Git
GO
Docker
Download the Vagrant tool and install: https://www.vagrantup.com/downloads.html
Download Vitualbox and install, run: Http://sw.bos.baidu.com/sw-search-sp/software/6bda11b7d3256/VirtualBox-5.1.30.18389-Win.exe
Steps:
1. Configuring the Go locale, Fabric uses go language development
$GOROOT is the Go install directory
$GOPATH is a custom directory
Build the Src,bin,pkg directory under the Gopath directory and create the Github.com\
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.