Giter Club home page Giter Club logo

Comments (6)

ug93tad avatar ug93tad commented on June 9, 2024

did you use Hyperledger v0.6 version?
is there a consensus/pbft/config.yaml file in your Hyperledger installation directory?

from blockbench.

BGerard avatar BGerard commented on June 9, 2024

So my go install is in /usr/lib/go-1.6.
Inside here I then have a link to the github.com folder within the src folder of my data directory (this contains the built peer etc), this also contains consensus/pbft/config.yaml.
Hyperledger version: 0.6.1-preview

Also, the hosts within the host files, I need to create them? I.e: set up a cluster of virtual machines on a private network with no ssh authentication and then add their ips to the hosts file? Or does blockbench do some stuff with docker that does this for me?

Thanks for the response

from blockbench.

ug93tad avatar ug93tad commented on June 9, 2024

yes, a cluster is needed in which each node has its own Hyperledger source directory.

from blockbench.

BGerard avatar BGerard commented on June 9, 2024

So i'd be good to take the vm I already have an clone it, have all the dependencies etc then?

from blockbench.

xiaohua0921 avatar xiaohua0921 commented on June 9, 2024

@BGerard ,hello,I have also meet this same question , have you fix it ? could you offer me some clues. thanks

from blockbench.

xiaohua0921 avatar xiaohua0921 commented on June 9, 2024

I checked the main.go file and found that there are missing three dependent libraries , sys ,text and viper ,
1、we should mkdir /golang.org/x under the directory of src .
2、then go get https://github.com/golang/sys.git ; go get https://github.com/spf13/cobra ; go get https://github.com/spf13/viper
3、We need to pay attention to the 215 line in core.yaml,should modify the path.
4、sudo mkdir /var/hyperledger
sudo chmod 777 /var/hyperledger
5、modify the 16 line in start-peer.sh into “ssh $peer ". ~/.profile && . $HL_HOME/start-root.sh" ”

from blockbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.